# AIP JSON Schemas

The schemas are the machine-readable part of the
[AIP 1.0 Specification](AIP-1.0.md). They use JSON Schema Draft 2020-12, stable
`$id` values, closed typed objects, and the exact wire names generated from the
semantic model. A release binds those stable ids to its versioned schema
content and digest.

The Rust implementation owns the generated JSON Schema registry in `aip-schema`.
The canonical exported files live under `schemas/aip/` and are produced by:

```sh
cargo run -p aipctl --all-features -- schema export schemas/aip
```

Release validation must compare generated output with the committed files and
run both schema validation and semantic invariant validation. A valid schema
instance can still be rejected for an illegal state transition, identity,
policy, replay, transaction, or cross-field condition.
