amduat-api/registry/api-contract.schema.md
2025-12-22 19:37:41 +01:00

844 B

Schema: registry/api-contract.jsonl

Each line is one JSON object (JSONL). This mirrors the conventions described in vendor/amduat/registry/README.md.

Canonical descriptor digest

bytes_sha256 is the SHA-256 digest (lowercase hex) of the exact contract bytes as stored in the corresponding registry/*.json file.

Fields

  • registry (string, required): registry name, fixed to AMDUATD/API.
  • contract (string, required): contract series identifier (e.g. AMDUATD/API/1).
  • handle (string, required): stable handle (e.g. amduat.api.amduatd.contract.v1@1).
  • media_type (string, required): content type of the bytes (e.g. application/json).
  • status (string, required): active | deprecated | reserved.
  • bytes_sha256 (string, required): sha256 of the bytes file.
  • notes (string, optional): human notes.