{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Roast Profile",
  "description": "Single-origin roastery spec card: origin, process, roast level and tasting notes with a circular roast stamp",
  "type": "object",
  "properties": {
    "origin": {
      "type": "string",
      "title": "Origin / Kicker",
      "description": "Hand-drawn line above the name (e.g. \"Single origin\")",
      "x-editor": "text"
    },
    "name": {
      "type": "string",
      "title": "Coffee Name",
      "description": "e.g. \"Guji Highlands\"",
      "x-editor": "text"
    },
    "producer": {
      "type": "string",
      "title": "Producer / Farm",
      "x-editor": "text"
    },
    "roastLevel": {
      "type": "string",
      "title": "Roast Level (stamp)",
      "description": "Short label shown in the circular stamp (e.g. \"Medium\")",
      "x-editor": "text"
    },
    "notes": {
      "type": "string",
      "title": "Tasting Notes",
      "description": "Rich text tasting description",
      "x-editor": "richtext"
    },
    "process": {
      "type": "string",
      "title": "Process",
      "description": "e.g. Washed, Natural, Honey",
      "x-editor": "text"
    },
    "varietal": {
      "type": "string",
      "title": "Varietal",
      "x-editor": "text"
    },
    "altitude": {
      "type": "string",
      "title": "Altitude",
      "description": "e.g. \"1900-2100 masl\"",
      "x-editor": "text"
    },
    "harvest": {
      "type": "string",
      "title": "Harvest",
      "x-editor": "text"
    },
    "image": {
      "type": "string",
      "title": "Image",
      "x-editor": "media"
    }
  }
}
