mirror of
https://github.com/kennethreitz/kjvstudy.org.git
synced 2026-06-20 22:40:57 +00:00
7acb2f6981
Organize schema files: - Moved red_letter_verses.schema.json to schemas/ directory - Updated README.md references to point to new location (schemas/red_letter_verses.schema.json) - Maintains consistency with other schema files (all now in schemas/ directory) The validation script (scripts/validate_data.py) already uses the schemas/ directory, so no code changes needed. 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <noreply@anthropic.com>
40 lines
1.1 KiB
JSON
40 lines
1.1 KiB
JSON
{
|
|
"$schema": "http://json-schema.org/draft-07/schema#",
|
|
"title": "Red Letter Edition Verses",
|
|
"description": "Schema for red_letter_verses.json - contains the words of Jesus Christ",
|
|
"type": "object",
|
|
"required": ["description", "note", "verses"],
|
|
"properties": {
|
|
"description": {
|
|
"type": "string",
|
|
"description": "Brief description of the dataset"
|
|
},
|
|
"note": {
|
|
"type": "string",
|
|
"description": "Explanation of how the data is structured"
|
|
},
|
|
"verses": {
|
|
"type": "object",
|
|
"description": "Map of verse references to Jesus' spoken words",
|
|
"patternProperties": {
|
|
"^[A-Za-z0-9 ']+ \\d+:\\d+$": {
|
|
"oneOf": [
|
|
{
|
|
"type": "string",
|
|
"const": "full",
|
|
"description": "Indicates Jesus speaks the entire verse"
|
|
},
|
|
{
|
|
"type": "string",
|
|
"minLength": 1,
|
|
"description": "The actual words Jesus spoke in this verse"
|
|
}
|
|
]
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|
|
},
|
|
"additionalProperties": false
|
|
}
|