{
  "$defs": {
    "VerseCommentaryEntry": {
      "description": "Schema for verse commentary entry",
      "properties": {
        "analysis": {
          "minLength": 1,
          "title": "Analysis",
          "type": "string"
        },
        "historical": {
          "minLength": 1,
          "title": "Historical",
          "type": "string"
        },
        "questions": {
          "items": {
            "type": "string"
          },
          "minItems": 1,
          "title": "Questions",
          "type": "array"
        }
      },
      "required": [
        "analysis",
        "historical",
        "questions"
      ],
      "title": "VerseCommentaryEntry",
      "type": "object"
    },
    "VersesObject": {
      "description": "Object mapping verse numbers to commentary entries",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/VerseCommentaryEntry"
      }
    },
    "ChaptersObject": {
      "description": "Object mapping chapter numbers to verse objects",
      "type": "object",
      "additionalProperties": {
        "$ref": "#/$defs/VersesObject"
      }
    }
  },
  "description": "Schema for per-book verse commentary files - Book → Chapter → Verse → Commentary",
  "title": "Schema for verse_commentary book files",
  "type": "object",
  "properties": {
    "book": {
      "minLength": 1,
      "title": "Book",
      "type": "string"
    },
    "commentary": {
      "$ref": "#/$defs/ChaptersObject"
    }
  },
  "required": [
    "book",
    "commentary"
  ],
  "additionalProperties": false,
  "$id": "https://kjvstudy.org/schemas/verse_commentary.schema.json"
}
