Expand description
The jev-1 wire envelope: POST /v1/systemone request → validated IR.
The request body is {state, model, questions}. Parsing goes through
[hyprstream_decision::entry::Entry] so insertion order survives (option order is
canonical, D6) and validation is delegated to the P0.1a authoring layer — the facade
enforces exactly the profile rules, nothing parallel.
Error bodies mirror the FastAPI detail shape (S6a §6.1): 422 carries
{"detail": [{"loc": [...], "msg", "type"}]}; other error statuses carry
{"detail": "<message>"} (A10 — non-422 shapes are unspecified upstream).
Structs§
- Detail
Item - One FastAPI-style 422 detail item.
- Wire
Error - A facade error: an HTTP status plus a body that matches the documented error shapes.
- Wire
Request - A parsed, validated
SystemOneRequest.
Functions§
- parse_
request - Parse and validate a
POST /v1/systemonerequest body.