◈︎

AIOSchema has reference implementations in six languages. All pass the full conformance test suite (TV-01 through TV-24) and all 18 cross-verification vectors. Source code is available at github.com/aioschema/aioschema.

Implementation Status

Language Tests CV Vectors Status Source
Python 3.9+ 110 / 117 18 / 18 Complete View →
TypeScript 76 18 / 18 Complete View →
Node.js 18+ 86 18 / 18 Complete View →
Go 1.21+ 26 18 / 18 Complete View →
Rust 2021 15 18 / 18 Complete View →
.NET 8+ 68 + 14 CV 18 / 18 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 18 deterministic vectors. 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), public_key fingerprint cross-check, ai_declaration constraint validation, and the extension size limit.

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.

Read the specification → View conformance vectors →