# AIEP Key Schemas (extracted from repos)

Source root: `/mnt/data/aiep_extracted/80_AIEP Repos/80_AIEP Repos`

Extracted to: `/mnt/data/AIEP_Key_Schemas`

Total schema candidates copied: **8**


## aiep-evidence-ledger-v2.0.0

### `aiep-evidence-ledger-v2.0.0/ledger_v2/schemas/aiep.canonical.schema.v2.0.0.schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aiep.dev/schemas/v2.0.0/aiep.canonical.schema.json",
  "title": "AIEP Canonical Record Schema (v2.0.0 — LOCKED)",
  "description": "Single source of truth for all AIEP-governed records. Covers GB2519711.2 core protocol and all P10–P103 specifications across all five layers. Supersedes v1.0.0. Locked per AIEP-NMR-001 — any change requires a clean rewrite as v3.0.0.",
  "type": "object",
  "additionalProperties": false,
  "required": ["aiep", "record"],
  "properties": {
    "aiep": {
      "type": "object",
      "additionalProperties": false,
      "required": ["protocol","schema_version","canonicalization","hashing","timezone"],
      "properties": {
        "protocol":       { "type": "string", "const": "AIEP" },
        "schema_version": { "type": "string", "const": "2.0.0" },
        "canonicalization": 
…(truncated)…
```

### `aiep-evidence-ledger-v2.0.0/ledger_v2/schemas/aiep.canonicalisation_profile_v1.0.0.schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "aiep.canonicalisation_profile_v1.0.0",
  "description": "Canonicalisation profile defining deterministic JSON normalisation rules for stable SHA-256 identity across implementations.",
  "type": "object",
  "required": ["profile_id", "rules"],
  "properties": {
    "profile_id": { "type": "string", "const": "aiep.canonicalisation_profile_v1.0.0" },
    "rules": {
      "type": "object",
      "properties": {
        "key_ordering":   { "type": "string", "const": "lexicographic_unicode_codepoint" },
        "whitespace":     { "type": "string", "const": "none" },
        "unicode":        { "type": "string", "const": "preserve_as_is" },
        "hash_algorithm": { "type": "string", "const": "sha256" },
        "encoding":       { "type": "string", "const": "utf-8" }
      }
    }
  }
}
```

### `aiep-evidence-ledger-v2.0.0/ledger_v2/schemas/aiep.execution_gate_status_v1.0.0.schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "aiep.execution_gate_status_v1.0.0",
  "description": "Execution gate status produced by invariant evaluation prior to any operation referencing an EvidenceCommitment. Implements P80 §[0026-0033].",
  "type": "object",
  "required": ["status", "evidence_hash", "invariants_checked", "violations", "evaluated_ts"],
  "properties": {
    "status": {
      "type": "string",
      "enum": ["OPEN", "CLOSED"],
      "description": "OPEN = all invariants satisfied, execution enabled. CLOSED = suppressed fail-closed."
    },
    "evidence_hash": { "type": "string", "minLength": 64, "maxLength": 64 },
    "invariants_checked": {
      "type": "array",
      "items": { "type": "string" },
      "description": "Ordered list of invariant identifiers evaluated."
    },
    "violations": {
      "type": "array",
      "items": { "
…(truncated)…
```

### `aiep-evidence-ledger-v2.0.0/ledger_v2/schemas/aiep.replay_pack_manifest_v1.0.0.schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "title": "aiep.replay_pack_manifest_v1.0.0",
  "description": "Deterministic replay pack for third-party verification of all gate decisions. Implements I6 (deterministic replay equivalence).",
  "type": "object",
  "required": ["pack_id", "evidence_ledger", "reasoning_ledger", "schema_version_id", "generated_ts", "pack_hash"],
  "properties": {
    "pack_id":           { "type": "string" },
    "evidence_ledger":  { "type": "array",  "items": { "type": "object" } },
    "reasoning_ledger": { "type": "array",  "items": { "type": "object" } },
    "gate_results":     { "type": "array",  "items": { "type": "object" } },
    "schema_version_id":{ "type": "string" },
    "generated_ts":     { "type": "string" },
    "pack_hash":        { "type": "string", "minLength": 64, "maxLength": 64,
                          "description":
…(truncated)…
```


## AIEP-GENOME-SDK-v1.2.0

### `AIEP-GENOME-SDK-v1.2.0/AIEP-GENOME-SDK/enterprise/config/config_schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aiep.dev/schemas/enterprise/config.v1.schema.json",
  "title": "AIEP GENOME SDK — Enterprise Configuration Schema",
  "description": "Configuration surface for enterprise deployments. This schema defines what enterprise operators MAY control. Everything not listed here is kernel-level and cannot be configured.",
  "type": "object",
  "additionalProperties": false,
  "required": ["deployment_id", "mirror", "tenancy", "storage"],
  "properties": {
    "deployment_id": { "type": "string", "pattern": "^[A-Za-z0-9._:-]{6,128}$" },
    "mirror": {
      "type": "object",
      "additionalProperties": false,
      "required": ["default_visibility"],
      "description": "Mirror visibility configuration. NEVER affects mirror content_hash computation.",
      "properties": {
        "default_visibility": { "type": "s
…(truncated)…
```

### `AIEP-GENOME-SDK-v1.2.0/AIEP-GENOME-SDK/governance/capability/capability_manifest.v1.schema.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aiep.dev/schemas/governance/capability_manifest.v1.schema.json",
  "title": "AIEP GENOME — Capability Manifest Schema v1.0.0",
  "description": "Layer 1: Capability Negotiation (FC §3). Declares the versioned capability set under which an artefact was produced. Capability selection is deterministic and stored with artefact hash. Capability expansion is allowed. Silent override is forbidden.",
  "type": "object",
  "additionalProperties": false,
  "required": [
    "manifest_id",
    "lockfile_version",
    "flexibility_contract_version",
    "hash_algorithms",
    "proof_types",
    "mirror_modes",
    "policy_engine",
    "declared_at",
    "capability_hash"
  ],
  "properties": {
    "manifest_id": {
      "type": "string",
      "description": "Unique identifier for this capability manifest instance.",
  
…(truncated)…
```


## aiep-mirror-v2.1.0

### `aiep-mirror-v2.1.0/aiep-mirror/schemas/aiep.canonical.schema.v2.0.0.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aiep.dev/schemas/v2.0.0/aiep.canonical.schema.json",
  "title": "AIEP Canonical Record Schema (v2.0.0 — LOCKED)",
  "description": "Single source of truth for all AIEP-governed records. Covers GB2519711.2 core protocol and all P10–P103 specifications across all five layers. Supersedes v1.0.0. Locked per AIEP-NMR-001 — any change requires a clean rewrite as v3.0.0.",
  "type": "object",
  "additionalProperties": false,
  "required": ["aiep", "record"],
  "properties": {
    "aiep": {
      "type": "object",
      "additionalProperties": false,
      "required": ["protocol","schema_version","canonicalization","hashing","timezone"],
      "properties": {
        "protocol":       { "type": "string", "const": "AIEP" },
        "schema_version": { "type": "string", "const": "2.0.0" },
        "canonicalization": 
…(truncated)…
```


## aiep-mirror-v2.1.0-1

### `aiep-mirror-v2.1.0-1/aiep-mirror/schemas/aiep.canonical.schema.v2.0.0.json`

```
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://aiep.dev/schemas/v2.0.0/aiep.canonical.schema.json",
  "title": "AIEP Canonical Record Schema (v2.0.0 — LOCKED)",
  "description": "Single source of truth for all AIEP-governed records. Covers GB2519711.2 core protocol and all P10–P103 specifications across all five layers. Supersedes v1.0.0. Locked per AIEP-NMR-001 — any change requires a clean rewrite as v3.0.0.",
  "type": "object",
  "additionalProperties": false,
  "required": ["aiep", "record"],
  "properties": {
    "aiep": {
      "type": "object",
      "additionalProperties": false,
      "required": ["protocol","schema_version","canonicalization","hashing","timezone"],
      "properties": {
        "protocol":       { "type": "string", "const": "AIEP" },
        "schema_version": { "type": "string", "const": "2.0.0" },
        "canonicalization": 
…(truncated)…
```
