{
  "$schema": "https://json.schemastore.org/block.json",
  "apiVersion": 2,
  "name": "jquery-categories-list/categories-block",
  "version": "4.1.1",
  "title": "JS Category List",
  "category": "widgets",
  "icon": "list-view",
  "description": "A block for displaying a category list with some effects.",
  "textdomain": "jquery-categories-list",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "viewScript": "file:view.js",
  "style": "file:./style-index.css",
  "supports": {
    "multiple": true
  },
  "attributes": {
    "title": {
      "type": "string",
      "default": ""
    },
    "symbol": {
      "type": "string",
      "enum": [
        "0",
        "1",
        "2",
        "3"
      ],
      "default": "0"
    },
    "effect": {
      "type": "string",
      "enum": [
        "none",
        "slide",
        "fade"
      ],
      "default": "none"
    },
    "layout": {
      "type": "string",
      "enum": [
        "left",
        "right"
      ],
      "default": "left"
    },
    "orderby": {
      "type": "string",
      "enum": [
        "count",
        "id",
        "name",
        "slug"
      ],
      "default": "name"
    },
    "orderdir": {
      "type": "string",
      "enum": [
        "ASC",
        "DESC"
      ]
    },
    "expand": {
      "type": "string",
      "enum": [
        "",
        "all",
        "sel_cat"
      ],
      "default": ""
    },
    "showcount": {
      "type": "boolean",
      "default": false
    },
    "show_empty": {
      "type": "boolean",
      "default": false
    },
    "open_in_new_page": {
      "type": "boolean",
      "default": false
    },
    "include_or_exclude": {
      "type": "string",
      "enum": [
        "exclude",
        "include"
      ],
      "default": "include"
    },
    "categories": {
      "type": "array"
    },
    "post_type": {
      "type": "string",
      "default": "post"
    },
    "taxonomy": {
      "type": "string",
      "default": "category"
    }
  }
}
