{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Evidence Board",
  "description": "A pinned board of evidence — photographs and notes with push-pins and case tags.",
  "type": "object",
  "properties": {
    "heading": {
      "type": "string",
      "title": "Heading",
      "description": "Board heading.",
      "x-editor": "text"
    },
    "intro": {
      "type": "string",
      "title": "Intro",
      "description": "Short introduction beneath the heading.",
      "x-editor": "textarea"
    },
    "items": {
      "type": "array",
      "title": "Evidence",
      "description": "Pinned evidence items.",
      "x-editor": "array",
      "default": [],
      "items": {
        "type": "object",
        "properties": {
          "image": { "type": "string", "title": "Photograph", "x-editor": "media" },
          "label": { "type": "string", "title": "Tag", "x-editor": "text" },
          "note": { "type": "string", "title": "Note", "x-editor": "text" }
        },
        "required": ["image"]
      }
    }
  }
}
