changedOutput schema / oneOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "checked_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "data": {
- "additionalProperties": false,
- "properties": {
- "availability": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "enum": [
- "confirmed_live",
- "provider_reported",
- "derived",
- "unknown"
- ],
- "type": "string"
- },
- "status": {
- "enum": [
- "available",
- "unavailable",
- "unknown"
- ],
- "type": "string"
- }
- },
- "required": [
- "status",
- "confidence"
- ],
- "type": "object"
- },
- "checked_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "club_id": {
- "anyOf": [
- {
- "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "court": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name"
- ],
- "type": "object"
- },
- "currency": {
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- },
- "date": {
- "format": "date",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
- "type": "string"
- },
- "duration": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- "price": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "price_details": {
- "additionalProperties": false,
- "properties": {
- "amount": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "basis": {
- "enum": [
- "whole_court",
- "per_player",
- "session",
- "unknown"
- ],
- "type": "string"
- },
- "calculated_per_player": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- },
- "currency": {
- "maxLength": 3,
- "minLength": 3,
- "type": "string"
- },
- "number_of_players": {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- }
- },
- "required": [
- "amount",
- "currency",
- "basis",
- "number_of_players",
- "calculated_per_player"
- ],
- "type": "object"
- },
- "provider": {
- "enum": [
- "padelstars",
- "playtomic",
- "padelmates",
- "matchi",
- "clubspark"
- ],
- "type": "string"
- },
- "revalidation": {
- "additionalProperties": false,
- "properties": {
- "expires_at": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "recheck_after": {
- "anyOf": [
- {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- {
- "type": "null"
- }
- ]
- },
- "required": {
- "type": "boolean"
- },
- "semantics": {
- "enum": [
- "recheck_before_handoff",
- "rechecked_for_handoff"
- ],
- "type": "string"
- }
- },
- "required": [
- "required",
- "recheck_after",
- "expires_at",
- "semantics"
- ],
- "type": "object"
- },
- "slot_id": {
- "minLength": 1,
- "type": "string"
- },
- "source": {
- "additionalProperties": false,
- "properties": {
- "method": {
- "enum": [
- "provider_live_api",
- "provider_public_page",
- "catalog_snapshot"
- ],
- "type": "string"
- },
- "provider": {
- "minLength": 1,
- "type": "string"
- },
- "provider_url": {
- "format": "uri",
- "type": "string"
- }
- },
- "required": [
- "provider",
- "provider_url",
- "method"
- ],
- "type": "object"
- },
- "starts_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "travel": {
- "additionalProperties": false,
- "properties": {
- "confidence": {
- "enum": [
- "estimated",
- "unavailable"
- ],
- "type": "string"
- },
- "coordinates": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "latitude": {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- "longitude": {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- }
- },
- "required": [
- "latitude",
- "longitude"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ]
- },
- "estimated_duration_minutes": {
- "anyOf": [
- {
- "exclusiveMinimum": 0,
- "maximum": 9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ]
- },
- "method": {
- "enum": [
- "straight_line_heuristic",
- "not_calculated"
- ],
- "type": "string"
- },
- "mode": {
- "enum": [
- "drive"
- ],
- "type": "string"
- },
- "straight_line_distance_km": {
- "anyOf": [
- {
- "minimum": 0,
- "type": "number"
- },
- {
- "type": "null"
- }
- ]
- }
- },
- "required": [
- "coordinates",
- "straight_line_distance_km",
- "estimated_duration_minutes",
- "mode",
- "confidence",
- "method"
- ],
- "type": "object"
- },
- "travel_estimate_uncertain": {
- "type": "boolean"
- },
- "venue": {
- "additionalProperties": false,
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "location": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "location"
- ],
- "type": "object"
- }
- },
- "required": [
- "slot_id",
- "provider",
- "venue",
- "court",
- "starts_at",
- "duration",
- "price",
- "currency",
- "club_id",
- "date",
- "source",
- "checked_at",
- "availability",
- "price_details",
- "travel",
- "travel_estimate_uncertain",
- "revalidation"
- ],
- "type": "object"
- },
- "status": {
- "const": "available",
- "type": "string"
- }
- },
- "required": [
- "status",
- "checked_at",
- "data"
- ],
- "type": "object"
- },
- {
- "additionalProperties": false,
- "properties": {
- "checked_at": {
- "format": "date-time",
- "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
- "type": "string"
- },
- "reason": {
- "minLength": 1,
- "type": "string"
- },
- "slot_id": {
- "minLength": 1,
- "type": "string"
- },
- "status": {
- "const": "unavailable",
- "type": "string"
- }
- },
- "required": [
- "status",
- "checked_at",
- "slot_id",
- "reason"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "checked_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "data": {
+ "additionalProperties": false,
+ "properties": {
+ "availability": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "enum": [
+ "confirmed_live",
+ "provider_reported",
+ "derived",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "status": {
+ "enum": [
+ "available",
+ "unavailable",
+ "unknown"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "confidence"
+ ],
+ "type": "object"
+ },
+ "checked_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "club_id": {
+ "anyOf": [
+ {
+ "pattern": "^[a-z0-9]+(?:-[a-z0-9]+)*$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "court": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name"
+ ],
+ "type": "object"
+ },
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "date": {
+ "format": "date",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$",
+ "type": "string"
+ },
+ "duration": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ "price": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "price_details": {
+ "additionalProperties": false,
+ "properties": {
+ "amount": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "basis": {
+ "enum": [
+ "whole_court",
+ "per_player",
+ "session",
+ "unknown"
+ ],
+ "type": "string"
+ },
+ "calculated_per_player": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "currency": {
+ "maxLength": 3,
+ "minLength": 3,
+ "type": "string"
+ },
+ "number_of_players": {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "amount",
+ "currency",
+ "basis",
+ "number_of_players",
+ "calculated_per_player"
+ ],
+ "type": "object"
+ },
+ "provider": {
+ "enum": [
+ "padelstars",
+ "playtomic",
+ "padelmates",
+ "matchi",
+ "clubspark",
+ "matchpoint"
+ ],
+ "type": "string"
+ },
+ "revalidation": {
+ "additionalProperties": false,
+ "properties": {
+ "expires_at": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "recheck_after": {
+ "anyOf": [
+ {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "required": {
+ "type": "boolean"
+ },
+ "semantics": {
+ "enum": [
+ "recheck_before_handoff",
+ "rechecked_for_handoff"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "required",
+ "recheck_after",
+ "expires_at",
+ "semantics"
+ ],
+ "type": "object"
+ },
+ "slot_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "source": {
+ "additionalProperties": false,
+ "properties": {
+ "method": {
+ "enum": [
+ "provider_live_api",
+ "provider_public_page",
+ "catalog_snapshot"
+ ],
+ "type": "string"
+ },
+ "provider": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "provider_url": {
+ "format": "uri",
+ "type": "string"
+ }
+ },
+ "required": [
+ "provider",
+ "provider_url",
+ "method"
+ ],
+ "type": "object"
+ },
+ "starts_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "travel": {
+ "additionalProperties": false,
+ "properties": {
+ "confidence": {
+ "enum": [
+ "estimated",
+ "unavailable"
+ ],
+ "type": "string"
+ },
+ "coordinates": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "latitude": {
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "estimated_duration_minutes": {
+ "anyOf": [
+ {
+ "exclusiveMinimum": 0,
+ "maximum": 9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "method": {
+ "enum": [
+ "straight_line_heuristic",
+ "not_calculated"
+ ],
+ "type": "string"
+ },
+ "mode": {
+ "enum": [
+ "drive"
+ ],
+ "type": "string"
+ },
+ "straight_line_distance_km": {
+ "anyOf": [
+ {
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "coordinates",
+ "straight_line_distance_km",
+ "estimated_duration_minutes",
+ "mode",
+ "confidence",
+ "method"
+ ],
+ "type": "object"
+ },
+ "travel_estimate_uncertain": {
+ "type": "boolean"
+ },
+ "venue": {
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "location": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "location"
+ ],
+ "type": "object"
+ }
+ },
+ "required": [
+ "slot_id",
+ "provider",
+ "venue",
+ "court",
+ "starts_at",
+ "duration",
+ "price",
+ "currency",
+ "club_id",
+ "date",
+ "source",
+ "checked_at",
+ "availability",
+ "price_details",
+ "travel",
+ "travel_estimate_uncertain",
+ "revalidation"
+ ],
+ "type": "object"
+ },
+ "status": {
+ "const": "available",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "checked_at",
+ "data"
+ ],
+ "type": "object"
+ },
+ {
+ "additionalProperties": false,
+ "properties": {
+ "checked_at": {
+ "format": "date-time",
+ "pattern": "^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$",
+ "type": "string"
+ },
+ "reason": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "slot_id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "status": {
+ "const": "unavailable",
+ "type": "string"
+ }
+ },
+ "required": [
+ "status",
+ "checked_at",
+ "slot_id",
+ "reason"
+ ],
+ "type": "object"
+ }
+]