{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://shapes.penny.coop/page/1.0.0/schema.json",
  "title": "Page",
  "description": "A publishable page with a title, slug and optional Content.",
  "type": "object",
  "properties": {
    "title": {
      "title": "Title",
      "type": "string",
      "x-penny": {
        "field": "text",
        "input": "text"
      }
    },
    "slug": {
      "title": "Slug",
      "type": "string",
      "x-penny": {
        "field": "text",
        "input": "text"
      }
    },
    "content": {
      "title": "Content",
      "$ref": "https://shapes.penny.coop/content-markdown/1.0.0/schema.json",
      "x-penny": {
        "field": "content",
        "storage": "markdown"
      }
    }
  },
  "required": [
    "title",
    "slug"
  ],
  "x-penny": {
    "shape": "page",
    "version": "1.0.0",
    "source": "app/types/page.js",
    "sourceName": "page",
    "kind": "record",
    "plural": "Pages",
    "icon": "File",
    "group": "Public",
    "defaultVisibility": "private",
    "publishable": true,
    "fieldOrder": [
      "title",
      "slug",
      "content"
    ]
  }
}
