{
  "$schema": "https://schemas.wp.org/trunk/block.json",
  "apiVersion": 3,
  "name": "modern-fields/post-link",
  "version": "1.0",
  "title": "Post or Archive Link",
  "category": "mf-select-fields",
  "description": "Link to a post or to a post type archive, always chosen from a list.",
  "keywords": [
    "page link",
    "internal link",
    "archive",
    "permalink",
    "post link",
    "acf"
  ],
  "attributes": {
    "defaultValue": {
      "type": "array",
      "default": []
    },
    "mfMeta": {
      "type": "object",
      "default": {
        "schema": {
          "type": "object",
          "properties": {
            "kind": {
              "type": "string"
            },
            "id": {
              "type": "integer"
            },
            "postType": {
              "type": "string"
            }
          }
        }
      }
    },
    "allowedPostTypes": {
      "type": "array",
      "default": []
    },
    "allowedStatuses": {
      "type": "array",
      "default": []
    },
    "allowedTerms": {
      "type": "array",
      "default": []
    },
    "allowArchives": {
      "type": "boolean",
      "default": true
    },
    "multiple": {
      "type": "boolean",
      "default": false
    }
  },
  "example": {
    "attributes": {
      "label": "Post or Archive Link"
    },
    "viewportWidth": 300
  },
  "textdomain": "modern-fields",
  "editorScript": "file:./index.js",
  "editorStyle": "file:./index.css",
  "style": "file:./style-index.css"
}