{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "godam/audio",
  "title": "Audio",
  "category": "media",
  "description": "Embed a GoDAM audio player.",
  "keywords": [
    "music",
    "sound",
    "podcast",
    "recording",
    "godam"
  ],
  "textdomain": "godam",
  "attributes": {
    "blob": {
      "type": "string",
      "role": "local"
    },
    "src": {
      "type": "string",
      "role": "content"
    },
    "caption": {
      "type": "string",
      "role": "content"
    },
    "id": {
      "type": "number",
      "role": "content"
    },
    "autoplay": {
      "type": "boolean",
      "default": false
    },
    "loop": {
      "type": "boolean",
      "default": false
    },
    "preload": {
      "type": "string",
      "default": "metadata"
    },
    "audioTitle": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "description": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "thumbnail": {
      "type": "string",
      "default": "",
      "role": "content"
    },
    "thumbnailId": {
      "type": "number",
      "role": "content"
    }
  },
  "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"
  ],
  "render": "file:./render.php"
}