{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "carhop-blocks/narrative-card",
  "version": "0.1.0",
  "title": "Carte narrative",
  "category": "carhop-blocks",
  "icon": "smiley",
  "description": "Une carte narrative",
  "example": {},
  "supports": {
    "html": false
  },
  "textdomain": "carhop-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "viewScript": "file:./view.js",
  "attributes": {
    "hasCover": {
      "type": "boolean",
      "default": true
    },
    "coverPosition": {
      "type": "string",
      "default": "right",
      "enum": [
        "left",
        "right"
      ]
    },
    "coverId": {
      "type": "number"
    },
    "coverUrl": {
      "type": "string"
    },
    "coverAlt": {
      "type": "string"
    },
    "blackWhiteCoverFilter": {
      "type": "boolean",
      "default": true
    }
  }
}