{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "godam/pdf",
  "title": "Document",
  "category": "media",
  "description": "Embed a PDF file with preview.",
  "keywords": [
    "document",
    "pdf",
    "file",
    "preview",
    "godam"
  ],
  "textdomain": "godam",
  "attributes": {
    "blob": {
      "type": "string",
      "role": "local"
    },
    "src": {
      "type": "string",
      "role": "content"
    },
    "caption": {
      "type": "string",
      "role": "content"
    },
    "id": {
      "type": "number",
      "role": "content"
    },
    "height": {
      "type": "number",
      "default": 600
    },
    "docTitle": {
      "type": "string",
      "default": ""
    },
    "description": {
      "type": "string",
      "default": ""
    },
    "previewMode": {
      "type": "string",
      "default": "default"
    },
    "showCover": {
      "type": "boolean",
      "default": false
    },
    "customCover": {
      "type": "string",
      "default": ""
    },
    "customCoverId": {
      "type": "number"
    },
    "coverImages": {
      "type": "array",
      "default": [],
      "items": {
        "type": "object"
      }
    },
    "pageCount": {
      "type": "number",
      "default": 0
    }
  },
  "supports": {
    "anchor": true,
    "align": true,
    "spacing": {
      "margin": true,
      "padding": true
    },
    "interactivity": {
      "clientNavigation": true
    }
  },
  "editorStyle": [
    "file:./index.css"
  ],
  "style": [
    "file:./style-index.css"
  ],
  "editorScript": [
    "file:./index.js"
  ],
  "viewScript": [
    "file:./view.js"
  ],
  "render": "file:./render.php"
}