{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "version": "0.0.1",
  "name": "opinioncamp/poll-list",
  "title": "Poll List",
  "category": "widgets",
  "description": "Shows polls list",
  "keywords": [
    "opinion",
    "poll",
    "vote",
    "list"
  ],
  "attributes": {
    "columns": {
      "type": "object",
      "default": {
        "desktop": "2",
        "tablet": "2",
        "mobile": "1"
      },
      "role": "style"
    },
    "pollsPerPage": {
      "type": "number",
      "default": 10,
      "role": "content"
    },
    "orderBy": {
      "type": "string",
      "default": "newest",
      "role": "content"
    },
    "pollStatus": {
      "type": "string",
      "default": "all",
      "role": "content"
    },
    "categories": {
      "type": "array",
      "items": {
        "type": "number"
      },
      "default": [],
      "role": "content"
    },
    "style": {
      "type": "object",
      "default": {
        "blockSpacing": "24px"
      },
      "role": "style"
    },
    "align": {
      "type": "string",
      "role": "style"
    }
  },
  "supports": {
    "align": [
      "wide",
      "full"
    ],
    "anchor": true,
    "html": false,
    "multiple": false
  },
  "textdomain": "opinioncamp",
  "editorScript": "file:./index.js",
  "editorStyle": [
    "opinioncamp-editor-style",
    "opinioncamp-poll-editor-style",
    "opinioncamp-poll-list-editor-style"
  ],
  "style": [
    "opinioncamp-frontend-style",
    "opinioncamp-poll-frontend-style",
    "opinioncamp-poll-list-frontend-style"
  ]
}