Skip to main content

schema

Function schema 

Source
pub fn schema() -> Value
Expand description

The AMP envelope JSON-Schema 2020-12 document.

Returned as a serde_json::Value so callers can serve it from a .well-known/amp-schema.json endpoint, validate inbound envelopes, or diff it against another adapter’s schema in the cross-adapter conformance suite. The enum lists pin the 5-op × 4-type surface.