Reference Implementations
AIOSchema has reference implementations in five languages. All pass the full conformance test suite (TV-01 through TV-18) and all 14 cross-verification vectors. Source code is available at github.com/aioschema/aioschema.
Implementation Status
| Language | Tests | CV Vectors | Status | Source |
|---|---|---|---|---|
| Python 3.9+ | 108 | 14 / 14 | Complete | View → |
| TypeScript | 70 + 12 XC | 14 / 14 | Complete | View → |
| Node.js 18+ | 80 | 14 / 14 | Complete | View → |
| Go 1.21+ | 27 | 14 / 14 | Complete | View → |
| Rust 2021 | 30 | 14 / 14 | Complete | View → |
All implementations are in the
aioschema/aioschema monorepo under
implementations/. The
API reference
documents the language-neutral contracts each implementation satisfies.
Cross-Verification
The cross-verification suite (cross_verify_vectors.json) contains 14
deterministic vectors, 26 total checks. All implementations must produce
byte-identical output for every vector. This is the minimum bar for conformance.
Vectors cover: hash computation (SHA-256, SHA-384, SHA3-256), canonical JSON
serialization, core_fingerprint derivation, manifest verification (hard match,
tampered inputs, missing fields, invalid timestamps), and the hash_schema_block
backward-compatibility alias.
CLI
The AIOSchema CLI is available via npm:
npm install -g @aioschema/cli
aioschema generate myfile.pdf
aioschema verify myfile.pdf myfile.pdf.aios.json
Implementing AIOSchema
A developer should be able to read the specification in under an hour and produce a working implementation in a day. The standard uses only widely-available cryptographic primitives – no custom algorithms, no proprietary dependencies.