changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "invalid_request",
- "description": "Input does not match this operation.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "description": "Booking page for this locale.",
- "format": "uri",
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "description": "This read could not be completed safely.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "description": "Booking page for this locale.",
- "format": "uri",
- "type": "string"
- },
- "locations": {
- "description": "Areas this business currently publishes.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "areas": {
- "description": "Areas that can be quoted.",
- "items": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "description": "Published area id.",
- "type": "string"
- },
- "label": {
- "description": "Area label for the locale.",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "countryCode": {
- "description": "Country code, when set.",
- "type": "string"
- },
- "key": {
- "description": "Service-location key.",
- "type": "string"
- },
- "label": {
- "description": "Location label for the locale.",
- "type": "string"
- },
- "timeZone": {
- "description": "Time zone of this location.",
- "type": "string"
- }
- },
- "required": [
- "key",
- "countryCode",
- "timeZone",
- "label",
- "areas"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "nextAction": {
- "description": "Use a published area. Do not invent a price.",
- "type": "string"
- },
- "reason": {
- "const": "outside_service_area",
- "description": "Price withheld because the request is outside the served area.",
- "type": "string"
- },
- "status": {
- "const": "outside_service_area",
- "description": "No price: outside the published areas.",
- "type": "string"
- },
- "timeZone": {
- "description": "Time zone used for this decision.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "reason",
- "bookingUrl",
- "timeZone",
- "locations",
- "nextAction"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "retryAfterSeconds": {
- "description": "Seconds to wait, then reuse the same pair.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "status": {
- "const": "pending",
- "description": "This offer intent is still pending.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "retryAfterSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "retryAfterSeconds": {
- "description": "Seconds to wait before the same retry.",
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "status": {
- "const": "rate_limited",
- "description": "Offer admission is rate-limited.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "retryAfterSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "description": "conflict, ambiguous, or not_found. Do not create another offer.",
- "enum": [
- "conflict",
- "ambiguous",
- "not_found"
- ],
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "originalRequestClosed": {
- "const": true,
- "description": "A permanent original-execution fence is proven; not a timeout or an absence-only assertion.",
- "type": "boolean"
- },
- "status": {
- "const": "restart_ready",
- "description": "The exact original attempt is durably fenced before execution; no offer or booking was created by this operation.",
- "type": "string"
- },
- "submissionId": {
- "description": "The original submissionId covered by the proven execution fence.",
- "format": "uuid",
- "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
- "type": "string"
- }
- },
- "required": [
- "status",
- "originalRequestClosed",
- "submissionId"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "booking": {
- "additionalProperties": false,
- "description": "Stored booking state.",
- "properties": {
- "recordedStatus": {
- "description": "Stored reservation status.",
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "recordedStatus"
- ],
- "type": "object"
- },
- "bookingKey": {
- "description": "Stored reservation id. It grants no access alone.",
- "maxLength": 128,
- "minLength": 1,
- "type": "string"
- },
- "bookingReference": {
- "description": "Customer reference, or the reservation id.",
- "minLength": 1,
- "type": "string"
- },
- "customerPortalUrl": {
- "description": "Private login for this submission proof.",
- "format": "uri",
- "type": "string"
- },
- "fulfillment": {
- "additionalProperties": false,
- "description": "Stored assignment flags.",
- "properties": {
- "chauffeurAssignmentRecorded": {
- "description": "A driver id is stored.",
- "type": "boolean"
- },
- "completionRecorded": {
- "description": "Stored status is completed.",
- "type": "boolean"
- },
- "vehicleAssignmentRecorded": {
- "description": "A vehicle id is stored.",
- "type": "boolean"
- }
- },
- "required": [
- "chauffeurAssignmentRecorded",
- "vehicleAssignmentRecorded",
- "completionRecorded"
- ],
- "type": "object"
- },
- "payment": {
- "additionalProperties": false,
- "description": "Stored payment state.",
- "properties": {
- "recordedStatus": {
- "description": "Stored payment status.",
- "maxLength": 64,
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "recordedStatus"
- ],
- "type": "object"
- },
- "status": {
- "const": "available",
- "description": "Stored booking fields passed validation.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingKey",
- "bookingReference",
- "booking",
- "payment",
- "fulfillment",
- "customerPortalUrl"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "description": "Booking page for this locale.",
- "format": "uri",
- "type": "string"
- },
- "message": {
- "description": "Why review is required.",
- "type": "string"
- },
- "review": {
- "additionalProperties": false,
- "description": "Structured review and next step.",
- "properties": {
- "availabilityConfirmed": {
- "const": false,
- "description": "Availability is not confirmed.",
- "type": "boolean"
- },
- "code": {
- "description": "Which requirement needs review.",
- "enum": [
- "additional_requirements_review",
- "model_guarantee_review",
- "address_review",
- "service_scope_review",
- "booking_window_review",
- "route_review"
- ],
- "type": "string"
- },
- "customerContactRequired": {
- "const": false,
- "description": "No contact is required for this review.",
- "type": "boolean"
- },
- "nextAction": {
- "const": "review_requirements",
- "description": "Review the requirements before continuing.",
- "type": "string"
- }
- },
- "required": [
- "code",
- "customerContactRequired",
- "availabilityConfirmed",
- "nextAction"
- ],
- "type": "object"
- },
- "status": {
- "const": "review_required",
- "description": "Offer preparation needs review.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingUrl",
- "message",
- "review"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "expired",
- "description": "The bound offer has expired.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "declined",
- "description": "The customer declined this offer; it is closed.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingConfirmed": {
- "const": false,
- "description": "Preparation does not confirm or charge.",
- "type": "boolean"
- },
- "checkoutUrl": {
- "description": "Private page where the customer confirms.",
- "format": "uri",
- "type": "string"
- },
- "customerPortalUrl": {
- "description": "Private customer login for this submission.",
- "format": "uri",
- "type": "string"
- },
- "nextAction": {
- "description": "Open the offer page and let the customer confirm.",
- "type": "string"
- },
- "offer": {
- "additionalProperties": false,
- "description": "Bound offer amount and expiry.",
- "properties": {
- "completeTermsBound": {
- "const": true,
- "description": "Complete terms are bound to this offer.",
- "type": "boolean"
- },
- "currency": {
- "const": "EUR",
- "description": "Offer currency: EUR.",
- "type": "string"
- },
- "customerConfirmationRequired": {
- "const": true,
- "description": "The customer must confirm on the offer page.",
- "type": "boolean"
- },
- "expiresAt": {
- "description": "When this bound offer expires.",
- "type": "string"
- },
- "grossTotalCents": {
- "description": "Bound gross total in euro cents.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "grossTotalCents",
- "expiresAt",
- "customerConfirmationRequired",
- "completeTermsBound"
- ],
- "type": "object"
- },
- "status": {
- "const": "prepared",
- "description": "Unpaid offer links are ready for review.",
- "type": "string"
- },
- "termsUrl": {
- "description": "Same page, including the bound terms.",
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingConfirmed",
- "checkoutUrl",
- "termsUrl",
- "offer",
- "nextAction"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "invalid_request",
+ "description": "Input does not match this operation.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingUrl": {
+ "description": "Existing booking page for this locale. After quoted, show this exact URL unchanged, including its query and rideDraft fragment, so the customer can review the ride.",
+ "format": "uri",
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "description": "This read could not be completed safely.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingUrl": {
+ "description": "Existing booking page for this locale. After quoted, show this exact URL unchanged, including its query and rideDraft fragment, so the customer can review the ride.",
+ "format": "uri",
+ "type": "string"
+ },
+ "locations": {
+ "description": "Areas this business currently publishes.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "areas": {
+ "description": "Areas that can be quoted.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "description": "Published area id.",
+ "type": "string"
+ },
+ "label": {
+ "description": "Area label for the locale.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "countryCode": {
+ "description": "Country code, when set.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Service-location key.",
+ "type": "string"
+ },
+ "label": {
+ "description": "Location label for the locale.",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "Time zone of this location.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "countryCode",
+ "timeZone",
+ "label",
+ "areas"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "nextAction": {
+ "description": "Use a published area. Do not invent a price.",
+ "type": "string"
+ },
+ "reason": {
+ "const": "outside_service_area",
+ "description": "Price withheld because the request is outside the served area.",
+ "type": "string"
+ },
+ "status": {
+ "const": "outside_service_area",
+ "description": "No price: outside the published areas.",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "Time zone used for this decision.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "reason",
+ "bookingUrl",
+ "timeZone",
+ "locations",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "retryAfterSeconds": {
+ "description": "Seconds to wait, then reuse the same pair.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "status": {
+ "const": "pending",
+ "description": "This offer intent is still pending.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "retryAfterSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "retryAfterSeconds": {
+ "description": "Seconds to wait before the same retry.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "status": {
+ "const": "rate_limited",
+ "description": "Offer admission is rate-limited.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "retryAfterSeconds"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "description": "conflict, ambiguous, or not_found. Do not create another offer.",
+ "enum": [
+ "conflict",
+ "ambiguous",
+ "not_found"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "originalRequestClosed": {
+ "const": true,
+ "description": "A permanent original-execution fence is proven; not a timeout or an absence-only assertion.",
+ "type": "boolean"
+ },
+ "status": {
+ "const": "restart_ready",
+ "description": "The exact original attempt is durably fenced before execution; no offer or booking was created by this operation.",
+ "type": "string"
+ },
+ "submissionId": {
+ "description": "The original submissionId covered by the proven execution fence.",
+ "format": "uuid",
+ "pattern": "^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "originalRequestClosed",
+ "submissionId"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "booking": {
+ "additionalProperties": false,
+ "description": "Stored booking state.",
+ "properties": {
+ "recordedStatus": {
+ "description": "Stored reservation status.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "recordedStatus"
+ ],
+ "type": "object"
+ },
+ "bookingKey": {
+ "description": "Stored reservation id. It grants no access alone.",
+ "maxLength": 128,
+ "minLength": 1,
+ "type": "string"
+ },
+ "bookingReference": {
+ "description": "Customer reference, or the reservation id.",
+ "minLength": 1,
+ "type": "string"
+ },
+ "customerPortalUrl": {
+ "description": "Private login for this submission proof.",
+ "format": "uri",
+ "type": "string"
+ },
+ "fulfillment": {
+ "additionalProperties": false,
+ "description": "Stored assignment flags.",
+ "properties": {
+ "chauffeurAssignmentRecorded": {
+ "description": "A driver id is stored.",
+ "type": "boolean"
+ },
+ "completionRecorded": {
+ "description": "Stored status is completed.",
+ "type": "boolean"
+ },
+ "vehicleAssignmentRecorded": {
+ "description": "A vehicle id is stored.",
+ "type": "boolean"
+ }
+ },
+ "required": [
+ "chauffeurAssignmentRecorded",
+ "vehicleAssignmentRecorded",
+ "completionRecorded"
+ ],
+ "type": "object"
+ },
+ "payment": {
+ "additionalProperties": false,
+ "description": "Stored payment state.",
+ "properties": {
+ "recordedStatus": {
+ "description": "Stored payment status.",
+ "maxLength": 64,
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "recordedStatus"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "available",
+ "description": "Stored booking fields passed validation.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingKey",
+ "bookingReference",
+ "booking",
+ "payment",
+ "fulfillment",
+ "customerPortalUrl"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingUrl": {
+ "description": "Existing booking page for this locale. After quoted, show this exact URL unchanged, including its query and rideDraft fragment, so the customer can review the ride.",
+ "format": "uri",
+ "type": "string"
+ },
+ "message": {
+ "description": "Why review is required.",
+ "type": "string"
+ },
+ "review": {
+ "additionalProperties": false,
+ "description": "Structured review and next step.",
+ "properties": {
+ "availabilityConfirmed": {
+ "const": false,
+ "description": "Availability is not confirmed.",
+ "type": "boolean"
+ },
+ "code": {
+ "description": "Which requirement needs review.",
+ "enum": [
+ "additional_requirements_review",
+ "model_guarantee_review",
+ "address_review",
+ "service_scope_review",
+ "booking_window_review",
+ "route_review"
+ ],
+ "type": "string"
+ },
+ "customerContactRequired": {
+ "const": false,
+ "description": "No contact is required for this review.",
+ "type": "boolean"
+ },
+ "nextAction": {
+ "const": "review_requirements",
+ "description": "Review the requirements before continuing.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "customerContactRequired",
+ "availabilityConfirmed",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "review_required",
+ "description": "Offer preparation needs review.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingUrl",
+ "message",
+ "review"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "expired",
+ "description": "The bound offer has expired.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "declined",
+ "description": "The customer declined this offer; it is closed.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingConfirmed": {
+ "const": false,
+ "description": "Preparation does not confirm or charge.",
+ "type": "boolean"
+ },
+ "checkoutUrl": {
+ "description": "Private page where the customer confirms.",
+ "format": "uri",
+ "type": "string"
+ },
+ "customerPortalUrl": {
+ "description": "Private customer login for this submission.",
+ "format": "uri",
+ "type": "string"
+ },
+ "nextAction": {
+ "description": "Open the offer page and let the customer confirm.",
+ "type": "string"
+ },
+ "offer": {
+ "additionalProperties": false,
+ "description": "Bound offer amount and expiry.",
+ "properties": {
+ "completeTermsBound": {
+ "const": true,
+ "description": "Complete terms are bound to this offer.",
+ "type": "boolean"
+ },
+ "currency": {
+ "const": "EUR",
+ "description": "Offer currency: EUR.",
+ "type": "string"
+ },
+ "customerConfirmationRequired": {
+ "const": true,
+ "description": "The customer must confirm on the offer page.",
+ "type": "boolean"
+ },
+ "expiresAt": {
+ "description": "When this bound offer expires.",
+ "type": "string"
+ },
+ "grossTotalCents": {
+ "description": "Bound gross total in euro cents.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "grossTotalCents",
+ "expiresAt",
+ "customerConfirmationRequired",
+ "completeTermsBound"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "prepared",
+ "description": "Unpaid offer links are ready for review.",
+ "type": "string"
+ },
+ "termsUrl": {
+ "description": "Same page, including the bound terms.",
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingConfirmed",
+ "checkoutUrl",
+ "termsUrl",
+ "offer",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]