Media Types Registry

Media types used by AITP v0.3. AITP ships JSON-only (see RFC-AITP-0001 §5.4.1); no Protobuf or binary framing is part of conformance. The portable trust artifacts are compact JWS strings (RFC-AITP-0001 §5.4.5).

Registered media types

Media typeDescription
application/aitp+json; version=0.3Canonical JSON envelope. The signature covers the whole envelope except signature, in RFC 8785 (JCS) canonical form behind the aitp-envelope-v2 domain tag (RFC-AITP-0001 §5.4). The version parameter names the protocol revision; the HTTP binding sends Content-Type: application/json (RFC-AITP-0001 §8).
application/aitp-tct+jwtA Trust Context Token as a compact JWS (RFC-AITP-0005). The JWS typ header is aitp-tct+jwt. Versioned by the ver claim, not the media type.
application/aitp-grant+jwtA grant voucher as a compact JWS (RFC-AITP-0005 §8). The JWS typ header is aitp-grant+jwt.
application/aitp-delegation+jwtA delegation token as a compact JWS (RFC-AITP-0006). The JWS typ header is aitp-delegation+jwt.

Superseded media types

Media typeStatus
application/aitp+json; version=0.2Superseded by version=0.3 (envelope signing input v2; strict cutover).
application/aitp+json; version=0.1Superseded by version=0.2.
application/aitp-tct+json; version=0.1Superseded — the v0.1 JCS-signed JSON TCT form is retired; TCTs have been compact JWS since v0.2 (application/aitp-tct+jwt).

Carriage guidance (non-normative)

The following patterns are operational guidance, not conformance requirements.

A compact JWS is header-safe and URL-safe verbatim — no additional encoding is needed. When carrying a TCT in an HTTP request, implementations SHOULD use:

x-aitp-tct: <compact JWS string>

(The v0.1 convention of base64url-encoding a TCT JSON object into this header is retired with the JSON form itself.)

For the opt-in A2A Agent Card binding, this header is normative: an A2A client MUST send the TCT in x-aitp-tct, and the Agent Card declares it as an apiKeySecurityScheme with location: "header" (RFC-AITP-0014 §3.3, §5.1).

When negotiating content types over HTTP, clients SHOULD send Accept: application/aitp+json and servers SHOULD honor the preference where supported.