{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "Impact Report",
  "description": "Narrative impact report with a summary lede and a list of outcome rows",
  "type": "object",
  "properties": {
    "period": {
      "type": "string",
      "title": "Period",
      "description": "Reporting period label (e.g. 'Season 2025')",
      "x-editor": "text"
    },
    "title": {
      "type": "string",
      "title": "Title",
      "description": "Report heading",
      "x-editor": "text",
      "default": "What we grew together"
    },
    "summary": {
      "type": "string",
      "title": "Summary",
      "description": "Opening paragraph of the report",
      "x-editor": "richtext"
    },
    "outcomes": {
      "type": "array",
      "title": "Outcomes",
      "description": "Reported outcomes shown as rows",
      "x-editor": "collection",
      "items": {
        "type": "object",
        "properties": {
          "value": {
            "type": "string",
            "title": "Value",
            "description": "Headline figure or result (e.g. '840 acres')",
            "x-editor": "text"
          },
          "label": {
            "type": "string",
            "title": "Label",
            "description": "What the figure counts",
            "x-editor": "text"
          },
          "detail": {
            "type": "string",
            "title": "Detail",
            "description": "One line of context",
            "x-editor": "text"
          }
        }
      }
    },
    "sourceNote": {
      "type": "string",
      "title": "Source Note",
      "description": "Footnote crediting the source of the figures",
      "x-editor": "text"
    }
  }
}
