Expand description
Strict Python-compatible text wire schema 1.
Structs§
- Wire
Request - A decoded schema-1 request. Images and Box questions are excluded.
Functions§
- decode_
request - Decode a parsed JSON request using the frozen schema-1 rules.
- encode_
error - Encode a classified failure in schema 1.
- encode_
response - Encode normalized answers, excluding the optional
Answer::rawpayload. Schema 1 projects only the first answer’s call. The answer set must exactly cover the decoded request. This is a projection of already-normalized answers; call the checked provider boundary first to apply the request thresholds. Existing abstentions are preserved.