changedOutput schema / properties / result / anyOf
Previous value: -[
- {
- "properties": {
- "items": {
- "items": {
- "properties": {
- "approved": {
- "default": false,
- "description": "The customer approved this PROPOSED mapping and it is not sent yet: submit it now.",
- "type": "boolean"
- },
- "editor": {
- "anyOf": [
- {
- "properties": {
- "cover_forms": {
- "default": [],
- "items": {
- "description": "One complete way to supply the cover: for every cover side that\ncan be a spread or the panels tiling it, one choice — so picking a form leaves\nexactly one set of slots to fill and marks every other cover slot covered.",
- "properties": {
- "label": {
- "description": "Unique among the item's forms; names each side when more than one has a choice.",
- "type": "string"
- },
- "slot_indexes": {
- "description": "Every cover slot this form fills; the item's other cover slots are covered.",
- "items": {
- "type": "integer"
- },
- "type": "array"
- }
- },
- "required": [
- "label",
- "slot_indexes"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "item_id": {
- "type": "string"
- },
- "mapping_version": {
- "minimum": 1,
- "type": "integer"
- },
- "pages": {
- "items": {
- "description": "One supplied page, discarded ones included — the editor's 'Not used' tray\nneeds to show what it's dropping, not just what filled a slot.",
- "properties": {
- "filename": {
- "type": "string"
- },
- "orientation": {
- "anyOf": [
- {
- "enum": [
- "PORTRAIT",
- "LANDSCAPE"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "page_count_in_file": {
- "type": "integer"
- },
- "ref": {
- "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
- "properties": {
- "artwork_id": {
- "type": "string"
- },
- "file_asset_id": {
- "type": "string"
- },
- "page_number": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "artwork_id",
- "file_asset_id",
- "page_number"
- ],
- "type": "object"
- },
- "thumbnail_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "trim_display": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "ref",
- "filename",
- "page_count_in_file",
- "trim_display",
- "orientation"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "proposal": {
- "items": {
- "description": "One slot's fill, as the editor edits and submits it: a page, or `\"covered\"`\nwhen an overlapping alternative (a spread over its panels) fills it instead.",
- "properties": {
- "index": {
- "minimum": 0,
- "type": "integer"
- },
- "source": {
- "anyOf": [
- {
- "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
- "properties": {
- "artwork_id": {
- "type": "string"
- },
- "file_asset_id": {
- "type": "string"
- },
- "page_number": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "artwork_id",
- "file_asset_id",
- "page_number"
- ],
- "type": "object"
- },
- {
- "const": "covered",
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "index",
- "source"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "rationale": {
- "type": "string"
- },
- "slots": {
- "items": {
- "description": "One position to fill, in the terms the editor shows the customer.",
- "properties": {
- "fit_note": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "How the proposed page prints when its shape is not this position's; absent when it fits."
- },
- "index": {
- "type": "integer"
- },
- "label": {
- "type": "string"
- },
- "overlaps": {
- "description": "Indexes of slots occupying the same space as this one, both ways.",
- "items": {
- "type": "integer"
- },
- "type": "array"
- },
- "position": {
- "description": "Addresses one artwork position. `type` is deliberately `str`, not an enum:\nthe set is RendReal's (FRONT, BACK, BODY, COVER_SPREAD_OUTER, …) and callers\nmust echo back exactly what `GET …/geometry` returned. `page_or_side_number`\nis `None` on every flat product observed on dev, and the pair\n(`type`, `page_or_side_number`) is the whole identity page-management\nvalidates against — so it round-trips verbatim, never reconstructed. `type`\nhas no default: an `incompatibleWith` element Compass cannot read must fail\nhere, not parse as a reference to a real position.",
- "properties": {
- "page_or_side_number": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "type": {
- "type": "string"
- }
- },
- "required": [
- "type"
- ],
- "type": "object"
- }
- },
- "required": [
- "index",
- "position",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "item_id",
- "mapping_version",
- "slots",
- "pages",
- "rationale"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "Only with `include_editor=true`: every position and uploaded page of the PROPOSED mapping, for `positions`."
- },
- "failed_render_positions": {
- "default": [],
- "description": "Positions of an attached design whose print file failed to render; a non-empty list blocks the payment link.",
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "item_id": {
- "type": "string"
- },
- "mapping_state": {
- "description": "Where one item is in the Phase-2 mapping leg. An explicit lifecycle\nrather than an inference over five nullable fields — `prepress_status`\nreads it straight out.",
- "enum": [
- "IDLE",
- "AWAITING_INGESTION",
- "AWAITING_FILES",
- "PROPOSED",
- "SUBMITTED",
- "CONFIGURED",
- "FAILED"
- ],
- "type": "string"
- },
- "mapping_summary": {
- "default": [],
- "items": {
- "description": "One mapped slot in human terms: which uploaded page prints at which position.\n\nExpose meaningful mapping labels instead of raw ItemMapping UUIDs.",
- "properties": {
- "filename": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "page_number": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "page_or_side_number": {
- "anyOf": [
- {
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "position": {
- "type": "string"
- },
- "thumbnail_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "position"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "next_step": {
- "type": "string"
- },
- "pending_confirmations": {
- "default": [],
- "items": {
- "properties": {
- "confirmation_id": {
- "type": "string"
- },
- "context": {
- "type": "string"
- },
- "kind": {
- "enum": [
- "APPROVE_MAPPING"
- ],
- "type": "string"
- },
- "options": {
- "items": {
- "properties": {
- "label": {
- "type": "string"
- },
- "option_id": {
- "type": "string"
- }
- },
- "required": [
- "option_id",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "subject_pages": {
- "default": [],
- "items": {
- "description": "A page the confirmation is about, with its thumbnail when a source provides one.\n\nThe order's artwork files carry no per-page thumbnail, so the thumbnail is often missing.",
- "properties": {
- "filename": {
- "type": "string"
- },
- "ref": {
- "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
- "properties": {
- "artwork_id": {
- "type": "string"
- },
- "file_asset_id": {
- "type": "string"
- },
- "page_number": {
- "minimum": 1,
- "type": "integer"
- }
- },
- "required": [
- "artwork_id",
- "file_asset_id",
- "page_number"
- ],
- "type": "object"
- },
- "thumbnail_url": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- }
- },
- "required": [
- "ref",
- "filename"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "confirmation_id",
- "kind",
- "context",
- "options"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "readiness": {
- "anyOf": [
- {
- "description": "How the supplied page count sits against the counts that fill the product.\nA bound product's cover is one page as a spread or several as panels, so more\nthan one count is exact.",
- "properties": {
- "achievable_page_counts": {
- "description": "Page counts that fill every position, one per way the cover can be supplied.",
- "items": {
- "exclusiveMinimum": 0,
- "type": "integer"
- },
- "minItems": 1,
- "type": "array"
- },
- "state": {
- "description": "NOT_INGESTED: pages still being read. SHORT: fewer than the smallest count that fills the product. EXACT: a count that fills it. MISMATCH: between the smallest and largest count but reached by no mix of cover forms. SURPLUS: more than the largest.",
- "enum": [
- "NOT_INGESTED",
- "SHORT",
- "EXACT",
- "MISMATCH",
- "SURPLUS"
- ],
- "type": "string"
- },
- "supplied_pages": {
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "state",
- "supplied_pages",
- "achievable_page_counts"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "supplied_filenames": {
- "default": [],
- "items": {
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "item_id",
- "mapping_state",
- "next_step"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "order_id": {
- "type": "string"
- },
- "previews_shown_in_card": {
- "default": false,
- "description": "True when the card shown with this result shows the customer a preview of each mapped page. You cannot see those previews. Never say they are missing or that you cannot see or show them: point the customer to the card.",
- "type": "boolean"
- }
- },
- "required": [
- "order_id",
- "items"
- ],
- "type": "object"
- },
- {
- "description": "Canonical short-circuit response shape.\n\n`status` is always `\"error\"` — acts as a discriminator for LLM consumers.\n`error` is a machine-readable code (e.g. `session_not_found`).\n`reason` is a human-readable explanation of why the call failed.\n`detail` carries structured extra context (ids, available values, etc.).",
- "properties": {
- "detail": {
- "anyOf": [
- {},
- {
- "type": "null"
- }
- ],
- "default": null
- },
- "error": {
- "type": "string"
- },
- "reason": {
- "type": "string"
- },
- "status": {
- "const": "error",
- "default": "error",
- "type": "string"
- }
- },
- "required": [
- "error",
- "reason"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "items": {
+ "items": {
+ "properties": {
+ "approved": {
+ "default": false,
+ "description": "The customer approved this PROPOSED mapping and it is not sent yet: submit it now.",
+ "type": "boolean"
+ },
+ "design": {
+ "anyOf": [
+ {
+ "enum": [
+ "CHOSEN",
+ "IN_PROGRESS"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Set when this item prints a Compass design instead of an uploaded file: CHOSEN once a design is picked, IN_PROGRESS while designs are being made or wait for a pick. Such an item needs no page mapping."
+ },
+ "editor": {
+ "anyOf": [
+ {
+ "properties": {
+ "cover_forms": {
+ "default": [],
+ "items": {
+ "description": "One complete way to supply the cover: for every cover side that\ncan be a spread or the panels tiling it, one choice — so picking a form leaves\nexactly one set of slots to fill and marks every other cover slot covered.",
+ "properties": {
+ "label": {
+ "description": "Unique among the item's forms; names each side when more than one has a choice.",
+ "type": "string"
+ },
+ "slot_indexes": {
+ "description": "Every cover slot this form fills; the item's other cover slots are covered.",
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "label",
+ "slot_indexes"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "item_id": {
+ "type": "string"
+ },
+ "mapping_version": {
+ "minimum": 1,
+ "type": "integer"
+ },
+ "pages": {
+ "items": {
+ "description": "One supplied page, discarded ones included — the editor's 'Not used' tray\nneeds to show what it's dropping, not just what filled a slot.",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "image": {
+ "default": false,
+ "type": "boolean"
+ },
+ "orientation": {
+ "anyOf": [
+ {
+ "enum": [
+ "PORTRAIT",
+ "LANDSCAPE"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "page_count_in_file": {
+ "type": "integer"
+ },
+ "ref": {
+ "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
+ "properties": {
+ "artwork_id": {
+ "type": "string"
+ },
+ "file_asset_id": {
+ "type": "string"
+ },
+ "page_number": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "artwork_id",
+ "file_asset_id",
+ "page_number"
+ ],
+ "type": "object"
+ },
+ "thumbnail_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "trim_display": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "ref",
+ "filename",
+ "page_count_in_file",
+ "trim_display",
+ "orientation"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "proposal": {
+ "items": {
+ "description": "One slot's fill, as the editor edits and submits it: a page, or `\"covered\"`\nwhen an overlapping alternative (a spread over its panels) fills it instead.",
+ "properties": {
+ "index": {
+ "minimum": 0,
+ "type": "integer"
+ },
+ "source": {
+ "anyOf": [
+ {
+ "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
+ "properties": {
+ "artwork_id": {
+ "type": "string"
+ },
+ "file_asset_id": {
+ "type": "string"
+ },
+ "page_number": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "artwork_id",
+ "file_asset_id",
+ "page_number"
+ ],
+ "type": "object"
+ },
+ {
+ "const": "covered",
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "index",
+ "source"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "rationale": {
+ "type": "string"
+ },
+ "slots": {
+ "items": {
+ "description": "One position to fill, in the terms the editor shows the customer.",
+ "properties": {
+ "fit_note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "How the proposed page prints when its shape is not this position's or it has no bleed; absent when it fits."
+ },
+ "index": {
+ "type": "integer"
+ },
+ "label": {
+ "type": "string"
+ },
+ "overlaps": {
+ "description": "Indexes of slots occupying the same space as this one, both ways.",
+ "items": {
+ "type": "integer"
+ },
+ "type": "array"
+ },
+ "position": {
+ "description": "Addresses one artwork position. `type` is deliberately `str`, not an enum:\nthe set is RendReal's (FRONT, BACK, BODY, COVER_SPREAD_OUTER, …) and callers\nmust echo back exactly what `GET …/geometry` returned. `page_or_side_number`\nis `None` on every flat product observed on dev, and the pair\n(`type`, `page_or_side_number`) is the whole identity page-management\nvalidates against — so it round-trips verbatim, never reconstructed. `type`\nhas no default: an `incompatibleWith` element Compass cannot read must fail\nhere, not parse as a reference to a real position.",
+ "properties": {
+ "page_or_side_number": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type"
+ ],
+ "type": "object"
+ },
+ "trim": {
+ "anyOf": [
+ {
+ "properties": {
+ "height_mm": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "width_mm": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "width_mm",
+ "height_mm"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "This position's finished size."
+ }
+ },
+ "required": [
+ "index",
+ "position",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "item_id",
+ "mapping_version",
+ "slots",
+ "pages",
+ "rationale"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Only with `include_editor=true`: every position and uploaded page of the PROPOSED mapping, for `positions`."
+ },
+ "failed_render_positions": {
+ "default": [],
+ "description": "Positions of an attached design whose print file failed to render; a non-empty list blocks the payment link.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "item_id": {
+ "type": "string"
+ },
+ "mapping_state": {
+ "description": "Where one item is in the Phase-2 mapping leg. An explicit lifecycle\nrather than an inference over five nullable fields — `prepress_status`\nreads it straight out.",
+ "enum": [
+ "IDLE",
+ "AWAITING_INGESTION",
+ "AWAITING_FILES",
+ "PROPOSED",
+ "SUBMITTED",
+ "CONFIGURED",
+ "FAILED"
+ ],
+ "type": "string"
+ },
+ "mapping_summary": {
+ "default": [],
+ "items": {
+ "properties": {
+ "filename": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "fit_note": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "How this page prints when its shape is not the position's: its size and the scaling. Absent when it fits."
+ },
+ "image": {
+ "default": false,
+ "type": "boolean"
+ },
+ "page_number": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "page_or_side_number": {
+ "anyOf": [
+ {
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "position": {
+ "type": "string"
+ },
+ "thumbnail_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "trim": {
+ "anyOf": [
+ {
+ "properties": {
+ "height_mm": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "width_mm": {
+ "exclusiveMinimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "width_mm",
+ "height_mm"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "This position's finished size."
+ }
+ },
+ "required": [
+ "position"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "next_step": {
+ "type": "string"
+ },
+ "pending_confirmations": {
+ "default": [],
+ "items": {
+ "properties": {
+ "confirmation_id": {
+ "type": "string"
+ },
+ "context": {
+ "type": "string"
+ },
+ "kind": {
+ "enum": [
+ "APPROVE_MAPPING"
+ ],
+ "type": "string"
+ },
+ "options": {
+ "items": {
+ "properties": {
+ "label": {
+ "type": "string"
+ },
+ "option_id": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "option_id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "subject_pages": {
+ "default": [],
+ "items": {
+ "description": "A page the confirmation is about, with its thumbnail when a source provides one.\n\nThe order's artwork files carry no per-page thumbnail, so the thumbnail is often missing.",
+ "properties": {
+ "filename": {
+ "type": "string"
+ },
+ "ref": {
+ "description": "Addresses one page of one uploaded file — the join key for the whole\nmapping leg, and exactly the three values a page-management assignment needs\nto name a source page.",
+ "properties": {
+ "artwork_id": {
+ "type": "string"
+ },
+ "file_asset_id": {
+ "type": "string"
+ },
+ "page_number": {
+ "minimum": 1,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "artwork_id",
+ "file_asset_id",
+ "page_number"
+ ],
+ "type": "object"
+ },
+ "thumbnail_url": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ }
+ },
+ "required": [
+ "ref",
+ "filename"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "confirmation_id",
+ "kind",
+ "context",
+ "options"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "product_name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The product this item prints."
+ },
+ "readiness": {
+ "anyOf": [
+ {
+ "description": "How the supplied page count sits against the counts that fill the product.\nA bound product's cover is one page as a spread or several as panels, so more\nthan one count is exact.",
+ "properties": {
+ "achievable_page_counts": {
+ "description": "Page counts that fill every position, one per way the cover can be supplied.",
+ "items": {
+ "exclusiveMinimum": 0,
+ "type": "integer"
+ },
+ "minItems": 1,
+ "type": "array"
+ },
+ "state": {
+ "description": "NOT_INGESTED: pages still being read. SHORT: fewer than the smallest count that fills the product. EXACT: a count that fills it. MISMATCH: between the smallest and largest count but reached by no mix of cover forms. SURPLUS: more than the largest.",
+ "enum": [
+ "NOT_INGESTED",
+ "SHORT",
+ "EXACT",
+ "MISMATCH",
+ "SURPLUS"
+ ],
+ "type": "string"
+ },
+ "supplied_pages": {
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "state",
+ "supplied_pages",
+ "achievable_page_counts"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "supplied_filenames": {
+ "default": [],
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "item_id",
+ "mapping_state",
+ "next_step"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "order_id": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "previews_shown_in_card": {
+ "default": false,
+ "description": "True when the card shown with this result shows the customer a preview of each mapped page. You cannot see those previews. Never say they are missing or that you cannot see or show them: point the customer to the card.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "order_id",
+ "items"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "Canonical short-circuit response shape.\n\n`status` is always `\"error\"` — acts as a discriminator for LLM consumers.\n`error` is a machine-readable code (e.g. `session_not_found`).\n`reason` is a human-readable explanation of why the call failed.\n`detail` carries structured extra context (ids, available values, etc.).",
+ "properties": {
+ "detail": {
+ "anyOf": [
+ {},
+ {
+ "type": "null"
+ }
+ ],
+ "default": null
+ },
+ "error": {
+ "type": "string"
+ },
+ "reason": {
+ "type": "string"
+ },
+ "status": {
+ "const": "error",
+ "default": "error",
+ "type": "string"
+ }
+ },
+ "required": [
+ "error",
+ "reason"
+ ],
+ "type": "object"
+ }
+]