changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "status": {
- "const": "invalid_request",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "format": "uri",
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "type": "string"
- }
- },
- "required": [
- "status"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "format": "uri",
- "type": "string"
- },
- "retryAfterSeconds": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "status": {
- "const": "rate_limited",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingUrl",
- "retryAfterSeconds"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingUrl": {
- "format": "uri",
- "type": "string"
- },
- "message": {
- "type": "string"
- },
- "review": {
- "additionalProperties": false,
- "properties": {
- "availabilityConfirmed": {
- "const": false,
- "type": "boolean"
- },
- "code": {
- "enum": [
- "additional_requirements_review",
- "model_guarantee_review",
- "address_review",
- "service_scope_review",
- "booking_window_review",
- "route_review"
- ],
- "type": "string"
- },
- "customerContactRequired": {
- "const": false,
- "type": "boolean"
- },
- "nextAction": {
- "const": "review_requirements",
- "type": "string"
- }
- },
- "required": [
- "code",
- "customerContactRequired",
- "availabilityConfirmed",
- "nextAction"
- ],
- "type": "object"
- },
- "status": {
- "const": "review_required",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingUrl",
- "message"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "bookingConfirmed": {
- "const": false,
- "type": "boolean"
- },
- "bookingUrl": {
- "format": "uri",
- "type": "string"
- },
- "nextAction": {
- "type": "string"
- },
- "quote": {
- "additionalProperties": false,
- "properties": {
- "billableHoursPerServiceLine": {
- "exclusiveMinimum": 0,
- "type": "number"
- },
- "calculatedAt": {
- "type": "string"
- },
- "currency": {
- "type": "string"
- },
- "grossTotalCents": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "parkingIncluded": {
- "type": "boolean"
- },
- "pricesIncludeVat": {
- "type": "boolean"
- },
- "revalidationRequired": {
- "const": true,
- "type": "boolean"
- },
- "serviceLines": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "direction": {
- "enum": [
- "outbound",
- "return"
- ],
- "type": "string"
- },
- "grossAmountCents": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- }
- },
- "required": [
- "direction",
- "grossAmountCents"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "tollsIncluded": {
- "type": "boolean"
- },
- "vatRateBasisPoints": {
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "vehicleCount": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "currency",
- "grossTotalCents",
- "pricesIncludeVat",
- "vatRateBasisPoints",
- "parkingIncluded",
- "tollsIncluded",
- "vehicleCount",
- "billableHoursPerServiceLine",
- "serviceLines",
- "calculatedAt",
- "revalidationRequired"
- ],
- "type": "object"
- },
- "status": {
- "const": "quoted",
- "type": "string"
- }
- },
- "required": [
- "status",
- "bookingUrl",
- "bookingConfirmed",
- "quote",
- "nextAction"
- ],
- "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": {
+ "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"
+ },
+ "retryAfterSeconds": {
+ "description": "Wait at least this many seconds before retrying the same quote request.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "status": {
+ "const": "rate_limited",
+ "description": "Quote admission is currently rate-limited; no quote was returned.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingUrl",
+ "retryAfterSeconds"
+ ],
+ "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"
+ },
+ "message": {
+ "description": "Customer-language explanation of the required review.",
+ "type": "string"
+ },
+ "review": {
+ "additionalProperties": false,
+ "description": "Structured review reason and next step when supplied; not an availability confirmation.",
+ "properties": {
+ "availabilityConfirmed": {
+ "const": false,
+ "description": "This review result does not confirm availability.",
+ "type": "boolean"
+ },
+ "code": {
+ "description": "Reason for further requirements, model, address, service-scope, booking-window or route review; not vehicle-unavailability evidence.",
+ "enum": [
+ "additional_requirements_review",
+ "model_guarantee_review",
+ "address_review",
+ "service_scope_review",
+ "booking_window_review",
+ "route_review"
+ ],
+ "type": "string"
+ },
+ "customerContactRequired": {
+ "const": false,
+ "description": "No customer contact is required for this price/requirements review.",
+ "type": "boolean"
+ },
+ "nextAction": {
+ "const": "review_requirements",
+ "description": "Review the stated requirements before proceeding; do not infer acceptance or confirmed availability.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "code",
+ "customerContactRequired",
+ "availabilityConfirmed",
+ "nextAction"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "review_required",
+ "description": "The ride facts or requirements require further review; no availability conclusion is made.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingUrl",
+ "message"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "bookingConfirmed": {
+ "const": false,
+ "description": "A quote does not confirm or create 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"
+ },
+ "nextAction": {
+ "description": "Guidance to proceed only to an explicitly requested offer after reviewing the preview.",
+ "type": "string"
+ },
+ "quote": {
+ "additionalProperties": false,
+ "description": "Calculated price preview and tax/inclusion breakdown; no reservation or availability confirmation.",
+ "properties": {
+ "billableHoursPerServiceLine": {
+ "description": "Billable hours used for each calculated service line.",
+ "exclusiveMinimum": 0,
+ "type": "number"
+ },
+ "calculatedAt": {
+ "description": "Timestamp of this preview calculation, not a guaranteed price-validity window.",
+ "type": "string"
+ },
+ "currency": {
+ "description": "Currency of the price preview.",
+ "type": "string"
+ },
+ "grossTotalCents": {
+ "description": "Gross total of the preview in the returned currency's minor units (EUR cents).",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "parkingIncluded": {
+ "description": "Whether parking costs are included in the preview.",
+ "type": "boolean"
+ },
+ "pricesIncludeVat": {
+ "description": "Whether the returned price includes VAT.",
+ "type": "boolean"
+ },
+ "revalidationRequired": {
+ "const": true,
+ "description": "Revalidate price and terms before preparing or confirming an offer.",
+ "type": "boolean"
+ },
+ "serviceLines": {
+ "description": "Price breakdown by outbound/return service line.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "direction": {
+ "description": "The outbound or return leg priced by this service line.",
+ "enum": [
+ "outbound",
+ "return"
+ ],
+ "type": "string"
+ },
+ "grossAmountCents": {
+ "description": "Gross price for this service line in the returned currency's minor units.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "direction",
+ "grossAmountCents"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "tollsIncluded": {
+ "description": "Whether toll costs are included in the preview.",
+ "type": "boolean"
+ },
+ "vatRateBasisPoints": {
+ "description": "VAT rate in basis points: 10000 basis points equal 100 percent.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "vehicleCount": {
+ "description": "Vehicle count used in this price calculation, not confirmed vehicle availability.",
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "currency",
+ "grossTotalCents",
+ "pricesIncludeVat",
+ "vatRateBasisPoints",
+ "parkingIncluded",
+ "tollsIncluded",
+ "vehicleCount",
+ "billableHoursPerServiceLine",
+ "serviceLines",
+ "calculatedAt",
+ "revalidationRequired"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "quoted",
+ "description": "A price preview was calculated; it must be revalidated before an actual offer.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "bookingUrl",
+ "bookingConfirmed",
+ "quote",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]