{ "$id": "doxa-context-annotation-v1", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "Mechanism, speaker stance, target, evidence support, uncertainty and workflow disposition remain distinct. Identity verification and semantic validity require the actual review process.", "properties": { "case_id": { "minLength": 1, "type": "string" }, "comparison_packet_ids": { "items": { "type": "string" }, "type": "array" }, "constituent_review_ids": { "items": { "type": "string" }, "type": "array" }, "decision": { "enum": [ "present", "absent", "insufficient_context", "not_applicable" ] }, "dimension_id": { "enum": [ "evaluative_framing", "source_selection", "agenda_setting", "material_omission", "attribution_stance", "comparative_double_standard", "false_balance", "evidential_overclaim", "uncertainty_distortion", "statistical_presentation", "selection_bias", "measurement_bias", "confounding", "selective_reporting", "publication_bias", "missing_data", "generalizability", "analysis_flexibility", "conflict_of_interest", "collective_blame", "identity_stereotyping", "identity_derogation_exclusion", "group_conspiracy", "dehumanization", "antisemitism_framework_mapping", "other_group_prejudice", "agency_erasure", "conflict_framing", "representation_bias", "algorithmic_ranking", "annotation_reliability", "language_transfer", "evaluation_leakage", "confirmation_bias" ] }, "evidence": { "items": { "description": "Offsets use the explicit record offset_unit in preserved source_record.text; runtime validation checks equality and bounds.", "properties": { "end": { "minimum": 1, "type": "integer" }, "role": { "enum": [ "supporting", "countervailing", "context" ] }, "source_record_id": { "minLength": 1, "type": "string" }, "start": { "minimum": 0, "type": "integer" }, "text": { "minLength": 1, "type": "string" } }, "required": [ "role", "start", "end", "text" ], "type": "object" }, "type": "array" }, "id": { "minLength": 1, "type": "string" }, "offset_unit": { "enum": [ "unicode_code_points", "utf16_code_units" ] }, "provenance": { "allOf": [ { "if": { "properties": { "kind": { "const": "upstream_human_consensus" } } }, "then": { "required": [ "process_source_url", "upstream_revision", "upstream_annotation_record_id", "upstream_annotation_sha256" ] } } ], "properties": { "identity_assurance": { "enum": [ "self_reported", "upstream_documented", "externally_verified" ] }, "independence_declared": { "type": "boolean" }, "kind": { "enum": [ "ai_provisional", "human_single", "upstream_human_consensus", "adjudicated" ] }, "process_source_url": { "format": "uri", "type": "string" }, "reviewed_at": { "format": "date-time", "type": "string" }, "reviewer_id": { "minLength": 1, "type": "string" }, "reviewer_type": { "enum": [ "ai", "human", "upstream_process" ] }, "upstream_annotation_record_id": { "minLength": 1, "type": "string" }, "upstream_annotation_sha256": { "pattern": "^[0-9a-f]{64}$", "type": "string" }, "upstream_revision": { "minLength": 1, "type": "string" } }, "required": [ "kind", "reviewer_id", "reviewer_type", "reviewed_at", "independence_declared" ], "type": "object" }, "rationale": { "minLength": 1, "type": "string" }, "schema_version": { "const": "doxa-context-annotation-v1" }, "source_record_id": { "minLength": 1, "type": "string" }, "source_text_sha256": { "pattern": "^[0-9a-f]{64}$", "type": "string" }, "stance": { "properties": { "speaker": { "type": [ "string", "null" ] }, "state": { "enum": [ "endorsed", "attributed", "rejected", "qualified", "ambiguous", "not_assessed" ] } }, "required": [ "state", "speaker" ], "type": "object" }, "support": { "properties": { "source_record_ids": { "items": { "type": "string" }, "type": "array" }, "state": { "enum": [ "supported", "contradicted", "insufficient_context", "not_assessed" ] } }, "required": [ "state", "source_record_ids" ], "type": "object" }, "target": { "properties": { "scope": { "enum": [ "individual", "institution", "population", "policy", "event", "mixed", "unresolved" ] }, "text": { "type": [ "string", "null" ] } }, "required": [ "text", "scope" ], "type": "object" }, "uncertainty": { "properties": { "missing_context": { "items": { "type": "string" }, "type": "array" }, "state": { "enum": [ "resolved", "context_required", "framework_disagreement", "not_assessed" ] } }, "required": [ "state", "missing_context" ], "type": "object" }, "workflow_disposition": { "enum": [ "unreviewed", "concern_confirmed", "concern_dismissed", "needs_follow_up" ] } }, "required": [ "schema_version", "id", "case_id", "source_record_id", "source_text_sha256", "offset_unit", "dimension_id", "decision", "stance", "target", "support", "uncertainty", "workflow_disposition", "rationale", "evidence", "provenance" ], "title": "DOXA contextual annotation record", "type": "object" }