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"
- },
- "hourlyRideFacts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "location": {
- "additionalProperties": false,
- "properties": {
- "countryCode": {
- "type": "string"
- },
- "key": {
- "type": "string"
- },
- "label": {
- "type": "string"
- }
- },
- "required": [
- "key",
- "countryCode",
- "label"
- ],
- "type": "object"
- },
- "nextAction": {
- "type": "string"
- },
- "provider": {
- "type": "string"
- },
- "requiredRideFacts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "returnRideFacts": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "services": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "const": "requires_offer_review",
- "type": "string"
- },
- "key": {
- "type": "string"
- },
- "tripTypes": {
- "items": {
- "enum": [
- "one_way",
- "return"
- ],
- "type": "string"
- },
- "type": "array"
- }
- },
- "required": [
- "key",
- "tripTypes",
- "availability"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "status": {
- "const": "available",
- "type": "string"
- },
- "timeZone": {
- "type": "string"
- }
- },
- "required": [
- "status",
- "provider",
- "timeZone",
- "bookingUrl",
- "services",
- "requiredRideFacts",
- "returnRideFacts",
- "hourlyRideFacts",
- "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"
+ },
+ "hourlyRideFacts": {
+ "description": "Additional hourly-service fields and required service/trip-type values.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "location": {
+ "additionalProperties": false,
+ "description": "Location configured for the supplied published offerKey; omitted for the default service scope.",
+ "properties": {
+ "countryCode": {
+ "description": "Country code configured for this service location.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Configured service-location key selected by the published supplier offerKey.",
+ "type": "string"
+ },
+ "label": {
+ "description": "Location label in the requested language.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "key",
+ "countryCode",
+ "label"
+ ],
+ "type": "object"
+ },
+ "nextAction": {
+ "description": "Guidance to collect complete ride facts and request a price preview; no contact details are required for quoting.",
+ "type": "string"
+ },
+ "provider": {
+ "description": "Published display name of the service provider.",
+ "type": "string"
+ },
+ "requiredRideFacts": {
+ "description": "Ride fields to collect before quoting a transfer.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "returnRideFacts": {
+ "description": "Additional return-trip fields to collect for an outbound and later return pickup.",
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "services": {
+ "description": "Published service definitions and supported trip types.",
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "const": "requires_offer_review",
+ "description": "Availability/acceptance still require review of an actual offer.",
+ "type": "string"
+ },
+ "key": {
+ "description": "Published service identifier, such as transfer or hourly service.",
+ "type": "string"
+ },
+ "tripTypes": {
+ "description": "Trip types supported by this service definition; not confirmed availability.",
+ "items": {
+ "enum": [
+ "one_way",
+ "return"
+ ],
+ "type": "string"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "key",
+ "tripTypes",
+ "availability"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "status": {
+ "const": "available",
+ "description": "Published service information is readable; no price, acceptance or availability is confirmed.",
+ "type": "string"
+ },
+ "timeZone": {
+ "description": "Configured local provider time zone for ride dates and pickup times.",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "provider",
+ "timeZone",
+ "bookingUrl",
+ "services",
+ "requiredRideFacts",
+ "returnRideFacts",
+ "hourlyRideFacts",
+ "nextAction"
+ ],
+ "type": "object"
+ }
+]