{
    "$schema": "http://json-schema.org/draft-07/schema",
    "$id": "https://burrito.bible/schema/template_metadata.schema.json",
    "$$target": "template_metadata.schema.json",
    "title": "Metadata (Template)",
    "type": "object",
    "description": "Scripture Burrito Template root.",
    "properties": {
        "format": {
            "type": "string",
            "enum": ["scripture burrito"]
        },
        "meta": {
            "$ref": "template_meta.schema.json"
        },
        "idAuthorities": {
            "$ref": "id_authorities.schema.json"
        },
        "identification": {
            "$ref": "identification.schema.json"
        },
        "confidential": {
            "$ref": "confidential.schema.json"
        },
        "type": {
            "$ref": "type.schema.json"
        },
        "relationships": {
            "$ref": "relationships.schema.json"
        },
        "languages": {
            "$ref": "languages.schema.json"
        },
        "targetAreas": {
            "$ref": "target_areas.schema.json"
        },
        "agencies": {
            "$ref": "agencies.schema.json"
        },
        "copyright": {
            "$ref": "copyright.schema.json"
        },
        "ingredients": {
            "$ref": "ingredients.schema.json"
        },
        "localizedNames": {
            "$ref": "localized_names.schema.json"
        }
    },
    "required": ["format", "meta", "copyright"],
    "additionalProperties": false,
    "allOf": [
        {
            "$ref": "copyright_constraints.schema.json"
        }
    ]
}
