{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "Q05 coverage input schema",
  "description": "Strict input shape. Blank templates are preparation scaffolds, not runnable inputs.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "court_id",
    "case_id",
    "range_start",
    "range_end",
    "all_pages_exported",
    "exported_at"
  ],
  "properties": {
    "court_id": {
      "type": "string",
      "minLength": 1
    },
    "case_id": {
      "type": "string",
      "minLength": 1
    },
    "range_start": {
      "type": "string"
    },
    "range_end": {
      "type": "string"
    },
    "all_pages_exported": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "exported_at": {
      "type": "string",
      "format": "date-time",
      "minLength": 1
    }
  }
}
