Schema Catalogue

Schemas are how AIEP becomes deterministic. They allow different systems to agree on whether an artefact is structurally valid before it is relied upon. Schemas do not prove truth - they prove structure. A machine that validates structure can fail closed when required fields are missing. A machine that validates nothing can be manipulated by malformed inputs.

All canonical schemas are versioned, Merkle-anchored, and published under the well-known path. The protocolVersion field on every artefact pins it to a specific schema version.


Canonical schema entries

Schema fileRecord typeRequired primitivesPatent reference
instruction.schema.jsonAIEP_INSTRUCTIONinstruction_id, claim_text, evidence_refs[], issuer_id, timestamp, canonical_hashGB2519711.2 (R1-R4)
evidence.schema.jsonAIEP_EVIDENCEevidence_id, source_uri, retrieval_timestamp, hash, normalisation_profile, record_typeP10, P14
goal.schema.jsonAIEP_GOAL_VECTORgoal_id, goal_hash, goal_artefact_ref, committed_at, drift_state, genome_lockfile_versionP37
divergence.schema.jsonAIEP_DIVERGENCE_RECORDdivergence_id, divergence_type, branch_refs[], evidence_delta, plausibility_score, probability_envelope_hash, dissent_archive_refP16, P83
normalisation.schema.jsonAIEP_NORMALISATION_MANIFESTmanifest_id, source_hash, target_hash, normalisation_profile, transforms[], canonical_output_hashP10, P17
compliance.schema.jsonAIEP_COMPLIANCE_CERTIFICATEcert_id, output_artefact_ref, regulation_id, issuer_id, evidence_chain[], cert_hash, issued_atP37
audit.schema.jsonAIEP_AUDIT_EVENTevent_id, event_type, actor_id, artefact_ref, timestamp, signature, hashGB2519711.2
swarm.schema.jsonAIEP_SWARM_CONSENSUS_RECORDswarm_id, node_refs[], consensus_hash, dissent_refs[], quorum_threshold, committed_atGB2519803.7
plausibility.schema.jsonAIEP_PLAUSIBILITY_DECLARATIONdeclaration_id, claim_type, plausibility_score, registry_version, merkle_proof, threshold_band, declaration_hashP03, P67
probability.schema.jsonAIEP_PROBABILITY_ENVELOPEenvelope_id, divergence_node_ref, epsilon, confidence, computation_method, canonical_commitment, recomputation_hash, envelope_hashP04, P66
recall.schema.jsonAIEP_RECALL_SCOPErecall_id, archived_branch_ref, trigger_threshold_change, time_bounds, recall_initiator_id, reconstruction_hashP22, P42, P83
certificate.schema.jsonAIEP_CERTIFICATEcert_id, issuer_id, subject_id, cert_type, issued_at, expires_at, cert_hash, scopeGB2519711.2
metadata.schema.jsonAIEP_METADATApublisher_id, domain, protocol_version, genome_lockfile_version, schema_set_version, metadata_hashGB2519711.2

Where to find them

Schemas are published at /.well-known/aiep/schemas/ and are included in the downloadable schema bundle at /downloads.

Each schema has:

  • a semantic version (semver field)
  • a canonical hash computed over the normalised schema text
  • a Merkle inclusion proof linking it to the current schema set root
  • a deprecated_by field (null if current)

Pinning to a schema version is done via the protocolVersion field on the artefact, which resolves to a specific schema set version in the registry. Artefacts validated against a deprecated schema version remain valid for historical records but are not execution-eligible under current registry rules.


See: Protocol · Glossary · Registry · Downloads