quran-md-data / schema /audit.schema.json
Z User
phase3-6 continued: NOTICE.md + DATASET_CARD.md (attribution compliance); mutashabihat detector (71 pairs) wired into graph (23,521 edges); KB expanded to 192 verses (Surah 19+60 complete, Ibrahim blocks 2:124-141, 6:74-90) with 576 commentary units + 1,662 citations; surah names + page numbers backfilled from API with provenance; probe expanded (2 real / 3 labeled fake); PERMISSION_REQUESTS.md drafts
cbbb668
Raw History Blame Contribute Delete
3.84 kB
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "quran.md Isnad/Matn Audit Schema v2",
"description": "Per-criteria-set audits with structured checklists; no numeric trust score; ghayb claims audited for transmission/coherence only.",
"type": "object",
"required": [
"target",
"isnad_checks",
"matn_claims"
],
"properties": {
"target": {
"type": "string",
"description": "hadith id or commentary_unit id"
},
"isnad_checks": {
"type": "object",
"required": [
"per_criteria_set"
],
"properties": {
"per_criteria_set": {
"type": "array",
"description": "One entry per tradition's criteria set — never merged into one score",
"items": {
"type": "object",
"required": [
"criteria_set",
"result",
"why"
],
"properties": {
"criteria_set": {
"type": "string",
"enum": [
"sunni_classical",
"imami_classical",
"sunni_muhaddith_modern",
"imami_modern",
"other"
]
},
"result": {
"type": "string",
"enum": [
"passes",
"fails",
"unresolved",
"not_applicable"
]
},
"why": {
"type": "string"
},
"narrator_refs": {
"type": "array",
"items": {
"type": "string"
}
},
" rijal_sources": {
"type": "array",
"items": {
"type": "string"
}
}
}
}
}
}
},
"matn_claims": {
"type": "array",
"items": {
"type": "object",
"required": [
"text",
"type",
"checks",
"status"
],
"properties": {
"text": {
"type": "string"
},
"type": {
"type": "string",
"enum": [
"empirical_historical",
"linguistic",
"doctrinal",
"legal_ethical",
"ghayb",
"eschatological"
]
},
"checks": {
"type": "array",
"items": {
"type": "object",
"required": [
"check",
"outcome"
],
"properties": {
"check": {
"type": "string",
"description": "e.g. internal_quranic_consistency, 'ard_ala_al_quran (stated shared test), logical_coherence, transmission_only (ghayb)"
},
"outcome": {
"type": "string",
"enum": [
"pass",
"fail",
"unresolved",
"not_applicable"
]
},
"detail": {
"type": "string"
}
}
}
},
"status": {
"type": "string",
"enum": [
"consistent",
"problematic",
"unresolved"
]
},
"unresolved_reason": {
"type": "string"
}
}
}
},
"shared_tests_applied": {
"type": "array",
"description": "Tests both traditions accept, e.g. 'ard 'ala al-Quran",
"items": {
"type": "string"
}
}
}
}