{"$schema":"https://json-schema.org/draft/2020-12/schema","$id":"https://pith.science/schemas/pith-integrity-event/v1.json","title":"Pith Integrity Event v1","description":"One signed scientific-integrity finding emitted by a Pith detector. Each event is reproducible from public detector code and the cited paper.","type":"object","required":["event_type","detector","detector_version","finding_type","verdict_class","severity","arxiv_id","evidence_hash","evidence","audited_at"],"properties":{"event_type":{"const":"pith.integrity.v1"},"detector":{"type":"string","description":"Detector slug, e.g. 'doi_compliance', 'doi_title_agreement', 'ai_meta_artifact', 'external_links'."},"detector_version":{"type":"string","pattern":"^\\d+\\.\\d+\\.\\d+$"},"finding_type":{"type":"string","description":"Detector-defined finding-type slug. Examples: 'broken_identifier', 'unresolvable_identifier', 'recoverable_identifier', 'identifier_title_mismatch', 'dead_url', 'dead_code_link', 'ai_language_model_disclaimer'."},"verdict_class":{"type":"string","enum":["incontrovertible","cross_source","threshold_with_margin","rescinded"]},"severity":{"type":"string","enum":["critical","advisory","informational"]},"arxiv_id":{"type":"string"},"paper_version":{"type":"integer","minimum":1},"evidence_hash":{"type":"string","description":"SHA-256 over (detector, canonicalized evidence). Two emissions with the same hash are the same finding.","pattern":"^[0-9a-f]{64}$"},"evidence":{"type":"object","description":"Detector-specific evidence payload. Sufficient for an external verifier to reproduce the finding."},"snippet":{"type":["string","null"]},"note":{"type":["string","null"]},"ref_index":{"type":["integer","null"]},"detected_doi":{"type":["string","null"]},"detected_arxiv_id":{"type":["string","null"]},"external_url":{"type":["string","null"]},"resolved_title":{"type":["string","null"]},"audited_at":{"type":"string"},"detector_url":{"type":"string","description":"Anchor URL on the integrity protocol page describing the detector contract."}},"additionalProperties":true}