{ "$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" } } } }