{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "publishflow-blocks/footnotes",
  "version": "0.1.0",
  "title": "Footnotes / References",
  "category": "widgets",
  "icon": "editor-ol",
  "description": "Add structured references and citations for serious publishing workflows.",
  "keywords": [
    "footnotes",
    "references",
    "citations"
  ],
  "textdomain": "publishflow-blocks",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css",
  "supports": {
    "html": false,
    "anchor": true,
    "align": [
      "wide"
    ]
  },
  "attributes": {
    "heading": {
      "type": "string",
      "default": "References"
    },
    "items": {
      "type": "array",
      "default": [
        {
          "id": "source-1",
          "label": "Source 1",
          "citation": "Primary reference or supporting source.",
          "url": ""
        },
        {
          "id": "source-2",
          "label": "Source 2",
          "citation": "Follow-up context, dataset, or related documentation.",
          "url": ""
        }
      ]
    },
    "displayStyle": {
      "type": "string",
      "default": "detailed"
    }
  }
}