changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "invalid_request",
- "description": "Input does not match this operation's contract; correct the facts before retrying.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "description": "Published customer booking page for this provider and locale; the URL does not grant private booking access or confirm availability.",
- "format": "uri",
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "description": "The requested information could not be supplied safely; this is not vehicle-unavailability evidence.",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingConfirmed": {
- "const": false,
- "description": "Reading policy does not create or confirm a booking.",
- "type": "boolean"
- },
- "bookingUrl": {
- "description": "Published customer booking page for this provider and locale; the URL does not grant private booking access or confirm availability.",
- "format": "uri",
- "type": "string"
- },
- "observedAt": {
- "description": "Observation timestamp of the minimum-lead-time policy read; no validity window is promised.",
- "type": "string"
- },
- "revalidationRequired": {
- "const": true,
- "description": "Re-read and revalidate current policy before offer preparation/confirmation.",
- "type": "boolean"
- },
- "scope": {
- "const": "booking_preparation",
- "description": "These rules cover preparation of a customer offer/booking, not action authority.",
- "type": "string"
- },
- "status": {
- "const": "available",
- "description": "Current booking-preparation policy was read; no booking is confirmed.",
- "type": "string"
- },
- "terms": {
- "additionalProperties": false,
- "description": "Current published account, guest-booking, lead-time and confirmation rules.",
- "properties": {
- "accountRequired": {
- "description": "Whether current purchase policy requires an account.",
- "type": "boolean"
- },
- "bookerForGuestAllowed": {
- "description": "Whether current policy allows a booker to request service for another guest.",
- "type": "boolean"
- },
- "bookingConfirmation": {
- "const": "after_confirmed_full_payment",
- "description": "Confirmation requires provider-confirmed full payment; an offer link alone is insufficient.",
- "type": "string"
- },
- "minimumLeadTimeMinutes": {
- "description": "Current minimum time before pickup, expressed in minutes.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "serviceSpecificTerms": {
- "const": "review_the_current_offer_before_confirmation",
- "description": "Review the complete terms bound to the current offer before confirming.",
- "type": "string"
- }
- },
- "required": [
- "minimumLeadTimeMinutes",
- "accountRequired",
- "bookerForGuestAllowed",
- "bookingConfirmation",
- "serviceSpecificTerms"
- ],
- "type": "object"
- },
- "timeZone": {
- "description": "Configured local time zone for the selected provider/service location.",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingUrl",
- "timeZone",
- "observedAt",
- "scope",
- "revalidationRequired",
- "terms",
- "bookingConfirmed"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "status": {
+ "const": "invalid_request",
+ "description": "Input does not match this operation's contract; correct the facts before retrying.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingUrl": {
+ "description": "Published customer booking page for this provider and locale; the URL does not grant private booking access or confirm availability.",
+ "format": "uri",
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "description": "The requested information could not be supplied safely; this is not vehicle-unavailability evidence.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingConfirmed": {
+ "const": false,
+ "description": "Reading policy does not create or confirm a booking.",
+ "type": "boolean"
+ },
+ "bookingUrl": {
+ "description": "Published customer booking page for this provider and locale; the URL does not grant private booking access or confirm availability.",
+ "format": "uri",
+ "type": "string"
+ },
+ "observedAt": {
+ "description": "ISO 8601 UTC timestamp when the current minimum-lead-time policy was read, not its expiry or a guarantee of future validity.",
+ "type": "string"
+ },
+ "revalidationRequired": {
+ "const": true,
+ "description": "Re-read and revalidate current policy before offer preparation/confirmation.",
+ "type": "boolean"
+ },
+ "scope": {
+ "const": "booking_preparation",
+ "description": "These rules cover preparation of a customer offer/booking, not action authority.",
+ "type": "string"
+ },
+ "status": {
+ "const": "available",
+ "description": "Current booking-preparation policy was read; no booking is confirmed.",
+ "type": "string"
+ },
+ "terms": {
+ "additionalProperties": false,
+ "description": "Current published account, guest-booking, lead-time and confirmation rules.",
+ "properties": {
+ "accountRequired": {
+ "description": "Whether current purchase policy requires an account.",
+ "type": "boolean"
+ },
+ "bookerForGuestAllowed": {
+ "description": "Whether current policy allows a booker to request service for another guest.",
+ "type": "boolean"
+ },
+ "bookingConfirmation": {
+ "const": "after_confirmed_full_payment",
+ "description": "Confirmation requires provider-confirmed full payment; an offer link alone is insufficient.",
+ "type": "string"
+ },
+ "minimumLeadTimeMinutes": {
+ "description": "Current minimum time before pickup, expressed in minutes.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serviceSpecificTerms": {
+ "const": "review_the_current_offer_before_confirmation",
+ "description": "Review the complete terms bound to the current offer before confirming.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "minimumLeadTimeMinutes",
+ "accountRequired",
+ "bookerForGuestAllowed",
+ "bookingConfirmation",
+ "serviceSpecificTerms"
+ ],
+ "type": "object"
+ },
+ "timeZone": {
+ "description": "Configured local time zone for the selected provider/service location.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingUrl",
+ "timeZone",
+ "observedAt",
+ "scope",
+ "revalidationRequired",
+ "terms",
+ "bookingConfirmed"
+ ],
+ "type": "object"
+ }
+]