{
     "$schema": "https://schemas.wp.org/trunk/block.json",
     "apiVersion": 3,
     "name": "ub/how-to",
     "title": "How To",
     "category": "ultimateblocks",
     "description": "Add HowTo Schema with sections, steps and valid schema data.",
     "keywords": [
          "Tutorial",
          "How To",
          "Ultimate Blocks"
     ],
     "attributes": {
          "blockID": {
               "type": "string",
               "default": ""
          },
          "title": {
               "type": "string",
               "default": ""
          },
          "introduction": {
               "type": "string",
               "default": ""
          },
          "advancedMode": {
               "type": "boolean",
               "default": false
          },
          "toolsIntro": {
               "type": "string",
               "default": "Required tools"
          },
          "tools": {
               "type": "array",
               "default": []
          },
          "toolsListStyle": {
               "type": "string",
               "default": "none"
          },
          "addToolImages": {
               "type": "boolean",
               "default": false
          },
          "suppliesIntro": {
               "type": "string",
               "default": "Required supplies"
          },
          "supplies": {
               "type": "array",
               "default": []
          },
          "suppliesListStyle": {
               "type": "string",
               "default": "none"
          },
          "addSupplyImages": {
               "type": "boolean",
               "default": false
          },
          "section": {
               "type": "array",
               "default": [
                    {
                         "sectionName": "",
                         "steps": []
                    }
               ]
          },
          "sectionListStyle": {
               "type": "string",
               "default": "none"
          },
          "timeIntro": {
               "type": "string",
               "default": "Duration"
          },
          "totalTime": {
               "type": "array",
               "default": [
                    0,
                    0,
                    0,
                    0,
                    0,
                    0,
                    0
               ]
          },
          "totalTimeText": {
               "type": "string",
               "default": "Total time: "
          },
          "cost": {
               "type": "number",
               "default": 0
          },
          "costCurrency": {
               "type": "string",
               "default": "USD"
          },
          "costDisplayText": {
               "type": "string",
               "default": "Total cost: "
          },
          "showUnitFirst": {
               "type": "boolean",
               "default": true
          },
          "howToYield": {
               "type": "string",
               "default": ""
          },
          "videoURL": {
               "type": "string",
               "default": ""
          },
          "videoThumbnailURL": {
               "type": "string",
               "default": ""
          },
          "videoName": {
               "type": "string",
               "default": ""
          },
          "videoDescription": {
               "type": "string",
               "default": ""
          },
          "videoUploadDate": {
               "type": "number",
               "default": 0
          },
          "videoEmbedCode": {
               "type": "string",
               "default": "<p>When insertion is successful, video should appear here</p>"
          },
          "videoDuration": {
               "type": "number",
               "default": 0
          },
          "useSections": {
               "type": "boolean",
               "default": false
          },
          "includeSuppliesList": {
               "type": "boolean",
               "default": false
          },
          "includeToolsList": {
               "type": "boolean",
               "default": false
          },
          "resultIntro": {
               "type": "string",
               "default": "Result"
          },
          "finalImageID": {
               "type": "number",
               "default": -1
          },
          "finalImageAlt": {
               "type": "string",
               "default": ""
          },
          "finalImageURL": {
               "type": "string",
               "default": ""
          },
          "finalImageCaption": {
               "type": "string",
               "default": ""
          },
          "finalImageWidth": {
               "type": "number",
               "default": 0
          },
          "finalImageFloat": {
               "type": "string",
               "default": "none"
          },
          "firstLevelTag": {
               "type": "string",
               "default": "h2"
          },
          "secondLevelTag": {
               "type": "string",
               "default": "h3"
          },
          "thirdLevelTag": {
               "type": "string",
               "default": "h4"
          },
          "padding": {
               "type": "object",
               "default": {}
          },
          "margin": {
               "type": "object",
               "default": {}
          }
     },
     "supports": {
          "multiple": false
     }
}