{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Bottle Menu",
  "description": "Cellar and bottle-service list grouped into sections.",
  "type": "object",
  "properties": {
    "eyebrow": { "type": "string", "title": "Eyebrow", "x-editor": "text", "default": "The cellar" },
    "title": { "type": "string", "title": "Section title", "x-editor": "text", "default": "Bottle service" },
    "footnote": { "type": "string", "title": "Footnote", "x-editor": "text", "default": "" },
    "sections": {
      "type": "array",
      "title": "Sections",
      "x-editor": "array",
      "default": [],
      "items": {
        "type": "object",
        "properties": {
          "title": { "type": "string", "title": "Section title", "x-editor": "text" },
          "items": {
            "type": "array",
            "title": "Pours",
            "x-editor": "array",
            "items": {
              "type": "object",
              "properties": {
                "name": { "type": "string", "title": "Name", "x-editor": "text" },
                "note": { "type": "string", "title": "Note", "x-editor": "text" },
                "price": { "type": "string", "title": "Price", "x-editor": "text" }
              }
            }
          }
        }
      }
    }
  }
}
