{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Brew Guide",
  "description": "Step-by-step brew method card with a ratio/grind/water/temp/time spec strip and numbered steps",
  "type": "object",
  "properties": {
    "kicker": {
      "type": "string",
      "title": "Kicker (hand-drawn)",
      "default": "How we brew it",
      "x-editor": "text"
    },
    "method": {
      "type": "string",
      "title": "Method",
      "description": "e.g. \"V60 Pour-Over\"",
      "x-editor": "text"
    },
    "intro": {
      "type": "string",
      "title": "Intro",
      "x-editor": "textarea"
    },
    "ratio": {
      "type": "string",
      "title": "Ratio",
      "description": "e.g. \"1:16\"",
      "x-editor": "text"
    },
    "grind": {
      "type": "string",
      "title": "Grind",
      "description": "e.g. \"Medium-fine\"",
      "x-editor": "text"
    },
    "water": {
      "type": "string",
      "title": "Water",
      "description": "e.g. \"300g\"",
      "x-editor": "text"
    },
    "temperature": {
      "type": "string",
      "title": "Temperature",
      "description": "e.g. \"94C\"",
      "x-editor": "text"
    },
    "time": {
      "type": "string",
      "title": "Total Time",
      "description": "e.g. \"3:00\"",
      "x-editor": "text"
    },
    "steps": {
      "type": "array",
      "title": "Steps",
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "title": { "type": "string", "title": "Step Title", "x-editor": "text" },
          "text": { "type": "string", "title": "Step Text", "x-editor": "textarea" }
        }
      }
    }
  }
}
