{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "firebox/rating",
  "version": "1.0.0",
  "title": "Rating Field",
  "description": "Add a rating field into your form.",
  "category": "firebox",
  "parent": [
    "firebox/form",
    "firebox/column",
    "firebox/row",
    "core/group"
  ],
  "keywords": [
    "rating",
    "rating field"
  ],
  "attributes": {
    "uniqueId": {
      "type": "string",
      "default": ""
    },
    "fieldLabelRequiredFieldIndication": {
      "type": "boolean",
      "default": true
    },
    "fieldName": {
      "type": "string",
      "default": "rating"
    },
    "fieldLabel": {
      "type": "string",
      "default": "Rating Field"
    },
    "fieldLabelFontWeight": {
      "type": "string",
      "default": ""
    },
    "helpText": {
      "type": "string",
      "default": ""
    },
    "required": {
      "type": "boolean",
      "default": true
    },
    "width": {
      "type": "string",
      "default": "100%"
    },
    "defaultValue": {
      "type": "string",
      "default": ""
    },
    "placeholder": {
      "type": "string",
      "default": ""
    },
    "cssClass": {
      "type": "string",
      "default": ""
    },
    "inputCssClass": {
      "type": "string",
      "default": ""
    },
    "hideLabel": {
      "type": "boolean",
      "default": false
    },
    "disableBrowserAutocomplete": {
      "type": "boolean",
      "default": false
    },
    "icon": {
      "type": "string",
      "default": "star"
    },
    "size": {
      "type": "number",
      "default": 24
    },
    "maxRating": {
      "type": "number",
      "default": 5
    },
    "halfRatings": {
      "type": "boolean",
      "default": false
    },
    "selectedColor": {
      "type": "string",
      "default": "#f6cc01"
    },
    "unselectedColor": {
      "type": "string",
      "default": "#bdbdbd"
    }
  },
  "editorStyle": "fb-block-rating",
  "editorScript": "file:./index.js"
}