{
  "apiVersion": 3,
  "name": "vk-blocks/dynamic-if",
  "title": "Dynamic If",
  "category": "theme",
  "textdomain": "vk-dynamic-if-block",
  "attributes": {
    "groups": {
      "type": "array",
      "default": [
        {
          "id": "",
          "name": "Group 1",
          "conditions": [
            {
              "id": "",
              "type": "pageType",
              "values": {}
            }
          ],
          "operator": "and"
        }
      ]
    },
    "conditions": {
      "type": "array",
      "default": [
        {
          "id": "",
          "conditions": [
            {
              "id": "",
              "type": "pageType",
              "values": {}
            }
          ]
        }
      ]
    },
    "conditionOperator": {
      "type": "string",
      "default": "and"
    },
    "ifPageType": {
      "type": "string",
      "default": "none"
    },
    "ifPostType": {
      "type": "string",
      "default": "none"
    },
    "ifLanguage": {
      "type": "string",
      "default": "none"
    },
    "userRole": {
      "type": "array",
      "default": []
    },
    "postAuthor": {
      "type": "number",
      "default": 0
    },
    "customFieldName": {
      "type": "string",
      "default": ""
    },
    "customFieldRule": {
      "type": "string",
      "default": "valueExists"
    },
    "customFieldValue": {
      "type": "string",
      "default": ""
    },
    "exclusion": {
      "type": "boolean",
      "default": false
    },
    "periodDisplaySetting": {
      "type": "string",
      "default": "none"
    },
    "periodSpecificationMethod": {
      "type": "string",
      "default": "direct"
    },
    "periodDisplayValue": {
      "type": "string",
      "default": ""
    },
    "periodReferCustomField": {
      "type": "string",
      "default": ""
    },
    "showOnlyLoginUser": {
      "type": "boolean",
      "default": false
    }
  },
  "supports": {
    "contentRole": true,
    "html": false,
    "innerBlocks": true
  },
  "editorScript": "url:./build/index.js",
  "editorStyle": "url:./build/editor.css"
}