{
  "$schema": "https://schemas.wp.org/block-json/1.1",
  "apiVersion": 3,
  "name": "user-registration/content-restriction-enhanced",
  "version": "1.0.0",
  "title": "Content Restriction (Legacy)",
  "category": "user-registration",
  "description": "This block is no longer maintained, please use the new content restriction block from the block inserter. It will work as it is but please use the new block for better features.",
  "keywords": [
    "user registration content restriction",
    "content restriction"
  ],
  "textdomain": "user-registration",
  "example": {
    "attributes": {}
  },
  "supports": {
    "className": false,
    "customClassName": false,
    "reusable": false,
    "inserter": false
  },
  "attributes": {
    "accessAllRoles": {
      "type": "string",
      "default": ""
    },
    "accessSpecificRoles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "accessMembershipRoles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "default": []
    },
    "accessControl": {
      "type": "string",
      "default": "access"
    },
    "content": {
      "type": "string",
      "selector": "div"
    },
    "message": {
      "type": "string",
      "default": ""
    },
    "enableContentRestriction": {
      "type": "boolean",
      "default": false
    }
  },
  "editorScript": "user-registration-blocks-editor",
  "editorStyle": "user-registration-blocks-editor"
}
