{"openapi":"3.1.0","info":{"title":"VicoPark Fleet API","version":"1.0.0","description":"Search, price, book, and pay for private parking, then check in, check out, cancel, and message the host, with an API key. See https://vicopark.com/assistants.html for the guide; the same operations are available as MCP tools at /api/v1/mcp."},"servers":[{"url":"https://app.vicopark.com/api/v1"}],"security":[{"apiKey":[]}],"paths":{"/public-discovery":{"get":{"summary":"Non-bookable US public parking and EV station information","security":[],"description":"Public facilities with source status and freshness, never live occupancy or reservable inventory. Guests require public browsing. Use coordinates or, alternatively, a destination query. Browser/native sessions are accepted here; fleet API keys use the discover_public_places MCP tool.","parameters":[{"name":"latitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},{"name":"longitude","in":"query","required":false,"schema":{"anyOf":[{"type":"number"},{"type":"string","minLength":1}]}},{"name":"radiusMeters","in":"query","required":false,"schema":{"default":8000,"type":"number"}},{"name":"kind","in":"query","required":false,"schema":{"default":"PARKING","type":"string","enum":["PARKING","EV"]}},{"name":"destination","in":"query","required":false,"schema":{"type":"string","minLength":2,"maxLength":240}}],"responses":{"200":{"description":"Informational facilities and explicit source status","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"type":"object","properties":{"center":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"radiusMeters":{"default":8000,"anyOf":[{"type":"number","const":2000},{"type":"number","const":8000},{"type":"number","const":16000}]},"kind":{"type":"string","enum":["PARKING","EV"]},"records":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":240},"name":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["PARKING","EV"]},"point":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"address":{"type":"string","maxLength":500},"access":{"anyOf":[{"type":"string","minLength":1,"maxLength":1000},{"type":"null"}]},"pricing":{"anyOf":[{"type":"string","minLength":1,"maxLength":1000},{"type":"null"}]},"hours":{"anyOf":[{"type":"string","minLength":1,"maxLength":1000},{"type":"null"}]},"website":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"charging":{"anyOf":[{"type":"object","properties":{"connectors":{"maxItems":30,"type":"array","items":{"type":"string","minLength":1,"maxLength":80}},"levels":{"maxItems":3,"type":"array","items":{"type":"string","enum":["AC_LEVEL_1","AC_LEVEL_2","DC_FAST"]}},"maxReportedPowerKw":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":10000},{"type":"null"}]},"portCount":{"anyOf":[{"type":"integer","minimum":0,"maximum":10000},{"type":"null"}]},"network":{"anyOf":[{"type":"string","maxLength":160},{"type":"null"}]}},"required":["connectors","levels","portCount","network"],"additionalProperties":false},{"type":"null"}]},"source":{"type":"object","properties":{"provider":{"type":"string","enum":["AMAZON_LOCATION","AFDC"]},"url":{"type":"string","maxLength":2048,"format":"uri"},"updatedAt":{"anyOf":[{"type":"string","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":"null"}]},"lastConfirmedAt":{"anyOf":[{"type":"string","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":"null"}]}},"required":["provider","url","updatedAt","lastConfirmedAt"],"additionalProperties":false},"distanceMeters":{"type":"number","minimum":0,"maximum":16000}},"required":["id","name","kind","point","address","access","pricing","hours","website","charging","source","distanceMeters"],"additionalProperties":false}},"source":{"type":"object","properties":{"provider":{"type":"string","enum":["AMAZON_LOCATION","AFDC"]},"status":{"type":"string","enum":["READY","EMPTY","DISABLED","BUDGET_EXHAUSTED","UNAVAILABLE","REFRESHING","UNSUPPORTED"]},"freshness":{"anyOf":[{"type":"string","enum":["FRESH","STALE"]},{"type":"null"}]},"retrievedAt":{"anyOf":[{"type":"string","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":"null"}]},"truncated":{"type":"boolean"}},"required":["provider","status","freshness","retrievedAt","truncated"],"additionalProperties":false}},"required":["center","radiusMeters","kind","records","source"],"additionalProperties":false},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_public_discovery"}},"/fleet/capabilities":{"get":{"summary":"Current agent capability availability","security":[],"responses":{"200":{"description":"Capabilities","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"type":"object","properties":{"publicParkingDiscovery":{"default":false,"type":"boolean"},"publicEvDiscovery":{"default":false,"type":"boolean"},"publicSearch":{"type":"boolean"},"apiKeyBooking":{"type":"boolean"},"assistantSignIn":{"type":"boolean"},"evCharging":{"type":"boolean"},"publicMcpUrl":{"type":"string","format":"uri"},"accountMcpUrl":{"anyOf":[{"type":"string","format":"uri"},{"type":"null"}]},"openApiUrl":{"type":"string","format":"uri"},"guideUrl":{"type":"string","format":"uri"},"bookingRequires":{"type":"array","items":{"type":"string"}}},"required":["publicParkingDiscovery","publicEvDiscovery","publicSearch","apiKeyBooking","assistantSignIn","evCharging","publicMcpUrl","accountMcpUrl","openApiUrl","guideUrl","bookingRequires"],"additionalProperties":false},"requestId":{"type":"string"}}}}}}},"operationId":"get_fleet_capabilities"}},"/fleet/account":{"get":{"summary":"The account and key","responses":{"200":{"description":"Account","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/FleetAccount"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_account"}},"/fleet/search":{"get":{"summary":"Search spaces available for a window near a destination","parameters":[{"name":"destination","in":"query","required":true,"schema":{"type":"string","minLength":2,"maxLength":120}},{"name":"latitude","in":"query","required":false,"schema":{"type":"number","minimum":-90,"maximum":90}},{"name":"longitude","in":"query","required":false,"schema":{"type":"number","minimum":-180,"maximum":180}},{"name":"startsAt","in":"query","required":true,"schema":{"type":"string","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)))$"}},{"name":"endsAt","in":"query","required":true,"schema":{"type":"string","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)))$"}},{"name":"vehicleId","in":"query","required":true,"schema":{"type":"string","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)$"}},{"name":"operationMode","in":"query","required":false,"schema":{"default":"AUTONOMOUS","type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]}},{"name":"maxDistanceMeters","in":"query","required":false,"schema":{"default":1609,"type":"number","exclusiveMinimum":0,"maximum":80000}},{"name":"useType","in":"query","required":false,"schema":{"default":"SHORT_TERM_PARKING","type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]}},{"name":"charging","in":"query","required":false,"schema":{"type":"boolean"}},{"name":"accessible","in":"query","required":false,"schema":{"type":"boolean"}}],"responses":{"200":{"description":"Matching spaces","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/SearchResult"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_search"}},"/fleet/spaces/{listingId}":{"get":{"summary":"One space’s public details","parameters":[{"name":"listingId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Space","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Space"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_spaces_listingId_"}},"/fleet/quotes":{"post":{"summary":"Price a stay; nothing is held or charged","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/QuoteInput"}}}},"responses":{"201":{"description":"Quote, valid ten minutes","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Quote"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_quotes"}},"/fleet/vehicles":{"get":{"summary":"The account’s vehicles","responses":{"200":{"description":"Vehicles","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Vehicle"}},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_vehicles"},"post":{"summary":"Save a vehicle","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/VehicleInput"}}}},"responses":{"201":{"description":"Vehicle","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Vehicle"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_vehicles"}},"/fleet/bookings":{"get":{"summary":"Bookings in this key’s mode","parameters":[{"name":"timeline","in":"query","required":false,"schema":{"type":"string","enum":["upcoming","past"]}}],"responses":{"200":{"description":"Bookings","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"type":"array","items":{"$ref":"#/components/schemas/Booking"}},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_bookings"},"post":{"summary":"Book and pay in one call","parameters":[{"name":"Idempotency-Key","in":"header","required":true,"description":"A UUID you generate per booking or cancellation and reuse on retry.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/BookingInput"}}}},"responses":{"201":{"description":"Confirmed booking","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Booking"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_bookings"}},"/fleet/bookings/{reservationId}":{"get":{"summary":"One booking","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Booking","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Booking"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_bookings_reservationId_"}},"/fleet/bookings/{reservationId}/cancel":{"post":{"summary":"Cancel, refunding as the booking’s policy says","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}},{"name":"Idempotency-Key","in":"header","required":true,"description":"A UUID you generate per booking or cancellation and reuse on retry.","schema":{"type":"string","format":"uuid"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/CancellationInput"}}}},"responses":{"200":{"description":"Cancellation","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Cancellation"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_bookings_reservationId_cancel"}},"/fleet/bookings/{reservationId}/arrive":{"post":{"summary":"Check in at the space","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stay","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Stay"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_bookings_reservationId_arrive"}},"/fleet/bookings/{reservationId}/depart":{"post":{"summary":"Check out of the space","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Stay","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Stay"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_bookings_reservationId_depart"}},"/fleet/bookings/{reservationId}/messages":{"get":{"summary":"The conversation with the host","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}}],"responses":{"200":{"description":"Thread","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Thread"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"get_fleet_bookings_reservationId_messages"},"post":{"summary":"Message the host","parameters":[{"name":"reservationId","in":"path","required":true,"schema":{"type":"string"}}],"requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/MessageInput"}}}},"responses":{"201":{"description":"Message","content":{"application/json":{"schema":{"type":"object","required":["data","requestId"],"properties":{"data":{"$ref":"#/components/schemas/Message"},"requestId":{"type":"string"}}}}}},"400":{"$ref":"#/components/responses/Error"},"401":{"$ref":"#/components/responses/Error"},"402":{"$ref":"#/components/responses/Error"},"404":{"$ref":"#/components/responses/Error"},"409":{"$ref":"#/components/responses/Error"},"422":{"$ref":"#/components/responses/Error"},"429":{"$ref":"#/components/responses/Error"},"503":{"$ref":"#/components/responses/Error"}},"operationId":"post_fleet_bookings_reservationId_messages"}}},"components":{"securitySchemes":{"apiKey":{"type":"http","scheme":"bearer","bearerFormat":"vpk_test_… or vpk_live_…","description":"Created in Settings > Fleet API. Shown once; store it as a secret."}},"responses":{"Error":{"description":"A refusal with a stable code; retry only when retryable is true.","content":{"application/json":{"schema":{"type":"object","required":["error","requestId"],"properties":{"error":{"type":"object","required":["code","message","retryable"],"properties":{"code":{"type":"string"},"message":{"type":"string"},"retryable":{"type":"boolean"}}},"requestId":{"type":"string"}}}}}}},"schemas":{"FleetAccount":{"type":"object","properties":{"userId":{"type":"string","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)$"},"key":{"type":"object","properties":{"keyId":{"type":"string","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)$"},"name":{"type":"string","minLength":1,"maxLength":60},"mode":{"type":"string","enum":["TEST","LIVE"]},"prefix":{"type":"string","minLength":12,"maxLength":16},"monthlySpendLimitMinor":{"type":"integer","exclusiveMinimum":0,"maximum":500000},"spentThisMonthMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3},"createdAt":{"type":"string","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)))$"},"lastUsedAt":{"anyOf":[{"type":"string","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":"null"}]}},"required":["keyId","name","mode","prefix","monthlySpendLimitMinor","spentThisMonthMinor","currency","createdAt","lastUsedAt"],"additionalProperties":false},"paymentReady":{"type":"boolean"},"card":{"anyOf":[{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":30},"last4":{"type":"string","pattern":"^\\d{4}$"},"updatedAt":{"type":"string","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)))$"}},"required":["brand","last4","updatedAt"],"additionalProperties":false},{"type":"null"}]},"vehicles":{"type":"integer","minimum":0,"maximum":9007199254740991}},"required":["userId","key","paymentReady","card","vehicles"],"additionalProperties":false},"ApiKey":{"type":"object","properties":{"keyId":{"type":"string","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)$"},"name":{"type":"string","minLength":1,"maxLength":60},"mode":{"type":"string","enum":["TEST","LIVE"]},"prefix":{"type":"string","minLength":12,"maxLength":16},"monthlySpendLimitMinor":{"type":"integer","exclusiveMinimum":0,"maximum":500000},"spentThisMonthMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","minLength":3,"maxLength":3},"createdAt":{"type":"string","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)))$"},"lastUsedAt":{"anyOf":[{"type":"string","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":"null"}]}},"required":["keyId","name","mode","prefix","monthlySpendLimitMinor","spentThisMonthMinor","currency","createdAt","lastUsedAt"],"additionalProperties":false},"SearchResult":{"type":"object","properties":{"searchCenter":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listings":{"maxItems":100,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"title":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"destinationTerms":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"distanceMeters":{"default":0,"type":"number","minimum":0,"maximum":160000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"hourlyRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"dailyRateMinor":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"monthlyRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"eventRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"useType":{"type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]},"rateUnit":{"type":"string","enum":["HOUR","MONTH"]},"inventoryUnit":{"type":"string","enum":["MINUTE_30","MONTH"]},"eventService":{"type":"object","properties":{"offered":{"type":"boolean"},"dropOff":{"type":"boolean"},"pickUp":{"type":"boolean"},"venueLabel":{"type":"string","maxLength":120}},"required":["offered","dropOff","pickUp","venueLabel"],"additionalProperties":false},"spaceType":{"type":"string","enum":["DRIVEWAY","GARAGE_BAY","MARKED_SPACE","SMALL_PRIVATE_LOT"]},"fit":{"minItems":1,"type":"array","items":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]}},"covered":{"type":"boolean"},"surface":{"type":"string","minLength":1,"maxLength":80},"rules":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":240}},"approximatePoint":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["x","y","latitude","longitude"],"additionalProperties":false},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"autonomous":{"type":"object","properties":{"eligible":{"type":"boolean"},"unattendedArrival":{"type":"boolean"},"noGate":{"type":"boolean"},"turnaroundBufferMinutes":{"type":"integer","minimum":0,"maximum":120}},"required":["eligible","unattendedArrival","noGate","turnaroundBufferMinutes"],"additionalProperties":false},"weeklyHours":{"anyOf":[{"minItems":1,"maxItems":21,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"opensAt":{"type":"string","pattern":"^([01]\\d|2[0-3]):(00|30)$"},"closesAt":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):(00|30)$"},{"type":"string","const":"24:00"}]}},"required":["day","opensAt","closesAt"],"additionalProperties":false}},{"type":"null"}]},"capacity":{"type":"integer","minimum":1,"maximum":20},"minimumDurationMinutes":{"type":"integer","minimum":30,"maximum":1440},"photos":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"displayUrl":{"type":"string","maxLength":300,"pattern":"^\\/media\\/listings\\/[A-Za-z0-9-]+\\/[A-Za-z0-9-]+\\/(?:display|thumb)\\.webp$"},"thumbUrl":{"type":"string","maxLength":300,"pattern":"^\\/media\\/listings\\/[A-Za-z0-9-]+\\/[A-Za-z0-9-]+\\/(?:display|thumb)\\.webp$"},"width":{"type":"integer","minimum":1,"maximum":4000},"height":{"type":"integer","minimum":1,"maximum":4000},"altText":{"type":"string","maxLength":160}},"required":["id","displayUrl","thumbUrl","width","height","altText"],"additionalProperties":false}},"instantBook":{"default":true,"type":"boolean"},"charging":{"default":null,"anyOf":[{"type":"object","properties":{"level":{"type":"string","enum":["LEVEL_1","LEVEL_2","DC_FAST"]},"connectors":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["J1772","NACS","CCS1","CHADEMO"]}},"powerKw":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":400},{"type":"null"}]},"feeMinor":{"type":"integer","minimum":0,"maximum":10000},"hostPlugsIn":{"type":"boolean"}},"required":["level","connectors","powerKw","feeMinor","hostPlugsIn"],"additionalProperties":false},{"type":"null"}]},"accessible":{"default":false,"type":"boolean"},"clearanceInches":{"default":null,"anyOf":[{"type":"integer","minimum":60,"maximum":240},{"type":"null"}]},"cancellationTerms":{"default":"FLEXIBLE","type":"string","enum":["FLEXIBLE","MODERATE","STRICT"]},"monthlyRenewal":{"default":false,"type":"boolean"},"rating":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"average":{"anyOf":[{"type":"number","minimum":1,"maximum":5},{"type":"null"}]}},"required":["count","average"],"additionalProperties":false}},"required":["id","marketId","timeZone","title","areaLabel","destinationTerms","distanceMeters","currency","hourlyRateMinor","dailyRateMinor","monthlyRateMinor","eventRateMinor","useType","rateUnit","inventoryUnit","eventService","spaceType","fit","covered","surface","rules","approximatePoint","fulfillmentMode","passRequired","autonomous","weeklyHours","capacity","minimumDurationMinutes","photos","instantBook","charging","accessible","clearanceInches","cancellationTerms","monthlyRenewal","rating"],"additionalProperties":false}},"publicParking":{"maxItems":20,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"name":{"type":"string","minLength":1,"maxLength":120},"kind":{"type":"string","enum":["GARAGE","LOT","STREET","METER","PARK_AND_RIDE"]},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"addressSummary":{"type":"string","minLength":1,"maxLength":240},"point":{"type":"object","properties":{"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["latitude","longitude"],"additionalProperties":false},"distanceMeters":{"type":"number","minimum":0,"maximum":160000},"pricingSummary":{"type":"string","minLength":1,"maxLength":240},"hoursSummary":{"type":"string","minLength":1,"maxLength":240},"rules":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":240}},"availability":{"type":"object","properties":{"status":{"type":"string","enum":["UNKNOWN","STATIC","LIVE"]},"label":{"type":"string","minLength":1,"maxLength":240},"asOf":{"anyOf":[{"type":"string","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":"null"}]}},"required":["status","label","asOf"],"additionalProperties":false},"source":{"type":"object","properties":{"type":{"type":"string","enum":["SYNTHETIC","MANUAL","MUNICIPAL_OPEN_DATA","LICENSED_PROVIDER"]},"label":{"type":"string","minLength":1,"maxLength":160},"sourceUrl":{"anyOf":[{"type":"string","maxLength":2048,"format":"uri"},{"type":"null"}]},"lastVerifiedAt":{"type":"string","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)))$"},"expiresAt":{"anyOf":[{"type":"string","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":"null"}]}},"required":["type","label","sourceUrl","lastVerifiedAt","expiresAt"],"additionalProperties":false}},"required":["id","name","kind","areaLabel","addressSummary","point","distanceMeters","pricingSummary","hoursSummary","rules","availability","source"],"additionalProperties":false}}},"required":["marketId","timeZone","listings","publicParking"],"additionalProperties":false},"Space":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"title":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"destinationTerms":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":60}},"distanceMeters":{"default":0,"type":"number","minimum":0,"maximum":160000},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"hourlyRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"dailyRateMinor":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"monthlyRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"eventRateMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"useType":{"type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]},"rateUnit":{"type":"string","enum":["HOUR","MONTH"]},"inventoryUnit":{"type":"string","enum":["MINUTE_30","MONTH"]},"eventService":{"type":"object","properties":{"offered":{"type":"boolean"},"dropOff":{"type":"boolean"},"pickUp":{"type":"boolean"},"venueLabel":{"type":"string","maxLength":120}},"required":["offered","dropOff","pickUp","venueLabel"],"additionalProperties":false},"spaceType":{"type":"string","enum":["DRIVEWAY","GARAGE_BAY","MARKED_SPACE","SMALL_PRIVATE_LOT"]},"fit":{"minItems":1,"type":"array","items":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]}},"covered":{"type":"boolean"},"surface":{"type":"string","minLength":1,"maxLength":80},"rules":{"maxItems":20,"type":"array","items":{"type":"string","minLength":1,"maxLength":240}},"approximatePoint":{"type":"object","properties":{"x":{"type":"number"},"y":{"type":"number"},"latitude":{"type":"number","minimum":-90,"maximum":90},"longitude":{"type":"number","minimum":-180,"maximum":180}},"required":["x","y","latitude","longitude"],"additionalProperties":false},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"autonomous":{"type":"object","properties":{"eligible":{"type":"boolean"},"unattendedArrival":{"type":"boolean"},"noGate":{"type":"boolean"},"turnaroundBufferMinutes":{"type":"integer","minimum":0,"maximum":120}},"required":["eligible","unattendedArrival","noGate","turnaroundBufferMinutes"],"additionalProperties":false},"weeklyHours":{"anyOf":[{"minItems":1,"maxItems":21,"type":"array","items":{"type":"object","properties":{"day":{"type":"integer","minimum":0,"maximum":6},"opensAt":{"type":"string","pattern":"^([01]\\d|2[0-3]):(00|30)$"},"closesAt":{"anyOf":[{"type":"string","pattern":"^([01]\\d|2[0-3]):(00|30)$"},{"type":"string","const":"24:00"}]}},"required":["day","opensAt","closesAt"],"additionalProperties":false}},{"type":"null"}]},"capacity":{"type":"integer","minimum":1,"maximum":20},"minimumDurationMinutes":{"type":"integer","minimum":30,"maximum":1440},"photos":{"maxItems":6,"type":"array","items":{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"displayUrl":{"type":"string","maxLength":300,"pattern":"^\\/media\\/listings\\/[A-Za-z0-9-]+\\/[A-Za-z0-9-]+\\/(?:display|thumb)\\.webp$"},"thumbUrl":{"type":"string","maxLength":300,"pattern":"^\\/media\\/listings\\/[A-Za-z0-9-]+\\/[A-Za-z0-9-]+\\/(?:display|thumb)\\.webp$"},"width":{"type":"integer","minimum":1,"maximum":4000},"height":{"type":"integer","minimum":1,"maximum":4000},"altText":{"type":"string","maxLength":160}},"required":["id","displayUrl","thumbUrl","width","height","altText"],"additionalProperties":false}},"instantBook":{"default":true,"type":"boolean"},"charging":{"default":null,"anyOf":[{"type":"object","properties":{"level":{"type":"string","enum":["LEVEL_1","LEVEL_2","DC_FAST"]},"connectors":{"minItems":1,"maxItems":4,"type":"array","items":{"type":"string","enum":["J1772","NACS","CCS1","CHADEMO"]}},"powerKw":{"anyOf":[{"type":"number","exclusiveMinimum":0,"maximum":400},{"type":"null"}]},"feeMinor":{"type":"integer","minimum":0,"maximum":10000},"hostPlugsIn":{"type":"boolean"}},"required":["level","connectors","powerKw","feeMinor","hostPlugsIn"],"additionalProperties":false},{"type":"null"}]},"accessible":{"default":false,"type":"boolean"},"clearanceInches":{"default":null,"anyOf":[{"type":"integer","minimum":60,"maximum":240},{"type":"null"}]},"cancellationTerms":{"default":"FLEXIBLE","type":"string","enum":["FLEXIBLE","MODERATE","STRICT"]},"monthlyRenewal":{"default":false,"type":"boolean"},"rating":{"type":"object","properties":{"count":{"type":"integer","minimum":0,"maximum":9007199254740991},"average":{"anyOf":[{"type":"number","minimum":1,"maximum":5},{"type":"null"}]}},"required":["count","average"],"additionalProperties":false}},"required":["id","marketId","timeZone","title","areaLabel","destinationTerms","distanceMeters","currency","hourlyRateMinor","dailyRateMinor","monthlyRateMinor","eventRateMinor","useType","rateUnit","inventoryUnit","eventService","spaceType","fit","covered","surface","rules","approximatePoint","fulfillmentMode","passRequired","autonomous","weeklyHours","capacity","minimumDurationMinutes","photos","instantBook","charging","accessible","clearanceInches","cancellationTerms","monthlyRenewal","rating"],"additionalProperties":false},"QuoteInput":{"type":"object","properties":{"listingId":{"type":"string","minLength":1,"maxLength":160},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleId":{"type":"string","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)$"},"operationMode":{"default":"AUTONOMOUS","type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"useType":{"default":"SHORT_TERM_PARKING","type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]},"charging":{"default":false,"type":"boolean"}},"required":["listingId","startsAt","endsAt","vehicleId"],"additionalProperties":false},"Quote":{"type":"object","properties":{"quoteId":{"type":"string","minLength":1,"maxLength":160},"listingId":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"operationMode":{"type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"durationMinutes":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargingFeeMinor":{"default":0,"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"taxMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"policyVersion":{"type":"string","minLength":1,"maxLength":80},"turnaroundBufferMinutes":{"type":"integer","minimum":0,"maximum":120},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"expiresAt":{"type":"string","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)))$"},"useType":{"type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]},"rateUnit":{"type":"string","enum":["HOUR","MONTH"]},"cancellationPolicy":{"anyOf":[{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":80},"fullRefundBeforeMinutes":{"type":"integer","minimum":0,"maximum":43200}},"required":["version","fullRefundBeforeMinutes"],"additionalProperties":false},{"type":"null"}]}},"required":["quoteId","listingId","marketId","timeZone","listingTitle","startsAt","endsAt","assetType","operationMode","durationMinutes","baseAmountMinor","chargingFeeMinor","serviceFeeMinor","taxMinor","totalAmountMinor","currency","paymentMode","policyVersion","turnaroundBufferMinutes","fulfillmentMode","passRequired","expiresAt","useType","rateUnit","cancellationPolicy"],"additionalProperties":false},"VehicleInput":{"type":"object","properties":{"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"nickname":{"type":"string","minLength":1,"maxLength":80},"make":{"default":"","type":"string","maxLength":80},"model":{"default":"","type":"string","maxLength":80},"color":{"default":"","type":"string","maxLength":30},"plateNumber":{"default":"","type":"string","pattern":"^[A-Z0-9 -]{0,10}$"},"plateLast4":{"default":"","type":"string","pattern":"^[A-Z0-9]{0,4}$"},"plateRegion":{"default":"","type":"string","maxLength":12},"sizeClass":{"type":"string","enum":["COMPACT","STANDARD","OVERSIZE"]},"lengthInches":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":600},{"type":"null"}]},"heightInches":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":240},{"type":"null"}]},"isDefault":{"type":"boolean"}},"required":["assetType","nickname","sizeClass","isDefault"],"additionalProperties":false},"Vehicle":{"type":"object","properties":{"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"nickname":{"type":"string","minLength":1,"maxLength":80},"make":{"default":"","type":"string","maxLength":80},"model":{"default":"","type":"string","maxLength":80},"color":{"default":"","type":"string","maxLength":30},"plateNumber":{"default":"","type":"string","pattern":"^[A-Z0-9 -]{0,10}$"},"plateLast4":{"default":"","type":"string","pattern":"^[A-Z0-9]{0,4}$"},"plateRegion":{"default":"","type":"string","maxLength":12},"sizeClass":{"type":"string","enum":["COMPACT","STANDARD","OVERSIZE"]},"lengthInches":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":600},{"type":"null"}]},"heightInches":{"default":null,"anyOf":[{"type":"integer","exclusiveMinimum":0,"maximum":240},{"type":"null"}]},"isDefault":{"type":"boolean"},"assetId":{"type":"string","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)$"},"status":{"type":"string","enum":["ACTIVE","INACTIVE"]},"recordVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"createdAt":{"type":"string","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)))$"},"updatedAt":{"type":"string","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)))$"}},"required":["assetType","nickname","make","model","color","plateNumber","plateLast4","plateRegion","sizeClass","lengthInches","heightInches","isDefault","assetId","status","recordVersion","createdAt","updatedAt"],"additionalProperties":false},"BookingInput":{"type":"object","properties":{"listingId":{"type":"string","minLength":1,"maxLength":160},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleId":{"type":"string","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)$"},"operationMode":{"default":"AUTONOMOUS","type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"useType":{"default":"SHORT_TERM_PARKING","type":"string","enum":["SHORT_TERM_PARKING","MONTHLY_OCCUPANCY"]},"charging":{"default":false,"type":"boolean"},"maxTotalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991,"description":"Maximum total authorized for this booking, including every fee, in currency minor units."},"currency":{"type":"string","pattern":"^[A-Z]{3}$","description":"Currency of the authorized maximum, such as USD."}},"required":["listingId","startsAt","endsAt","vehicleId","maxTotalAmountMinor","currency"],"additionalProperties":false},"Booking":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"listingId":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleLabel":{"type":"string","minLength":1,"maxLength":120},"operationMode":{"type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"holdExpiresAt":{"type":"string","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)))$"},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"cancellationPolicy":{"anyOf":[{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":80},"fullRefundBeforeMinutes":{"type":"integer","minimum":0,"maximum":43200}},"required":["version","fullRefundBeforeMinutes"],"additionalProperties":false},{"type":"null"}]},"recordVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"string","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)))$"},"vehicle":{"type":"object","properties":{"vehicleId":{"type":"string","minLength":1,"maxLength":160},"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"make":{"type":"string","maxLength":80},"model":{"type":"string","maxLength":80},"color":{"type":"string","maxLength":30},"plateNumber":{"type":"string","maxLength":10},"plateRegion":{"type":"string","maxLength":12}},"required":["vehicleId","assetType","make","model","color","plateNumber","plateRegion"],"additionalProperties":false},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"taxMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethod":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":30},"last4":{"anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"string","const":""}]},"wallet":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]}},"required":["brand","last4","wallet"],"additionalProperties":false},"refundAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"completedAt":{"type":"string","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)))$"},"cancelledBy":{"type":"string","enum":["CUSTOMER","HOST","STAFF"]},"extraCharges":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["EXTENSION","OVERSTAY","TIP","DAMAGE"]},"minutes":{"type":"integer","minimum":0,"maximum":1440},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"providerPaymentIntentId":{"type":"string","minLength":1,"maxLength":255},"chargedAt":{"type":"string","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)))$"}},"required":["chargeId","kind","minutes","baseAmountMinor","serviceFeeMinor","totalAmountMinor","providerPaymentIntentId","chargedAt"],"additionalProperties":false}},"promoCode":{"type":"string","minLength":1,"maxLength":20},"discountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargingFeeMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"insuranceAttestedAt":{"type":"string","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)))$"},"renewMonthly":{"type":"boolean"},"renewalAmountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","const":"PAYMENT_PROCESSING"}},"required":["id","listingId","marketId","timeZone","listingTitle","areaLabel","startsAt","endsAt","vehicleLabel","operationMode","totalAmountMinor","serviceFeeMinor","currency","paymentMode","holdExpiresAt","fulfillmentMode","passRequired","cancellationPolicy","recordVersion","baseAmountMinor","taxMinor","status"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"listingId":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleLabel":{"type":"string","minLength":1,"maxLength":120},"operationMode":{"type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"holdExpiresAt":{"type":"string","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)))$"},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"cancellationPolicy":{"anyOf":[{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":80},"fullRefundBeforeMinutes":{"type":"integer","minimum":0,"maximum":43200}},"required":["version","fullRefundBeforeMinutes"],"additionalProperties":false},{"type":"null"}]},"recordVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"string","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)))$"},"vehicle":{"type":"object","properties":{"vehicleId":{"type":"string","minLength":1,"maxLength":160},"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"make":{"type":"string","maxLength":80},"model":{"type":"string","maxLength":80},"color":{"type":"string","maxLength":30},"plateNumber":{"type":"string","maxLength":10},"plateRegion":{"type":"string","maxLength":12}},"required":["vehicleId","assetType","make","model","color","plateNumber","plateRegion"],"additionalProperties":false},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"taxMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethod":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":30},"last4":{"anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"string","const":""}]},"wallet":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]}},"required":["brand","last4","wallet"],"additionalProperties":false},"refundAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"completedAt":{"type":"string","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)))$"},"cancelledBy":{"type":"string","enum":["CUSTOMER","HOST","STAFF"]},"extraCharges":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["EXTENSION","OVERSTAY","TIP","DAMAGE"]},"minutes":{"type":"integer","minimum":0,"maximum":1440},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"providerPaymentIntentId":{"type":"string","minLength":1,"maxLength":255},"chargedAt":{"type":"string","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)))$"}},"required":["chargeId","kind","minutes","baseAmountMinor","serviceFeeMinor","totalAmountMinor","providerPaymentIntentId","chargedAt"],"additionalProperties":false}},"promoCode":{"type":"string","minLength":1,"maxLength":20},"discountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargingFeeMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"insuranceAttestedAt":{"type":"string","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)))$"},"renewMonthly":{"type":"boolean"},"renewalAmountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","const":"CONFIRMED"},"exactAddress":{"type":"string","minLength":1,"maxLength":240},"arrivalInstructions":{"type":"string","maxLength":500},"autonomousInstructions":{"anyOf":[{"type":"string","maxLength":500},{"type":"null"}]}},"required":["id","listingId","marketId","timeZone","listingTitle","areaLabel","startsAt","endsAt","vehicleLabel","operationMode","totalAmountMinor","serviceFeeMinor","currency","paymentMode","holdExpiresAt","fulfillmentMode","passRequired","cancellationPolicy","recordVersion","baseAmountMinor","taxMinor","status","exactAddress","arrivalInstructions","autonomousInstructions"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"listingId":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleLabel":{"type":"string","minLength":1,"maxLength":120},"operationMode":{"type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"holdExpiresAt":{"type":"string","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)))$"},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"cancellationPolicy":{"anyOf":[{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":80},"fullRefundBeforeMinutes":{"type":"integer","minimum":0,"maximum":43200}},"required":["version","fullRefundBeforeMinutes"],"additionalProperties":false},{"type":"null"}]},"recordVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"string","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)))$"},"vehicle":{"type":"object","properties":{"vehicleId":{"type":"string","minLength":1,"maxLength":160},"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"make":{"type":"string","maxLength":80},"model":{"type":"string","maxLength":80},"color":{"type":"string","maxLength":30},"plateNumber":{"type":"string","maxLength":10},"plateRegion":{"type":"string","maxLength":12}},"required":["vehicleId","assetType","make","model","color","plateNumber","plateRegion"],"additionalProperties":false},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"taxMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethod":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":30},"last4":{"anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"string","const":""}]},"wallet":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]}},"required":["brand","last4","wallet"],"additionalProperties":false},"refundAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"completedAt":{"type":"string","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)))$"},"cancelledBy":{"type":"string","enum":["CUSTOMER","HOST","STAFF"]},"extraCharges":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["EXTENSION","OVERSTAY","TIP","DAMAGE"]},"minutes":{"type":"integer","minimum":0,"maximum":1440},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"providerPaymentIntentId":{"type":"string","minLength":1,"maxLength":255},"chargedAt":{"type":"string","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)))$"}},"required":["chargeId","kind","minutes","baseAmountMinor","serviceFeeMinor","totalAmountMinor","providerPaymentIntentId","chargedAt"],"additionalProperties":false}},"promoCode":{"type":"string","minLength":1,"maxLength":20},"discountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargingFeeMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"insuranceAttestedAt":{"type":"string","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)))$"},"renewMonthly":{"type":"boolean"},"renewalAmountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","const":"COMPLETED"}},"required":["id","listingId","marketId","timeZone","listingTitle","areaLabel","startsAt","endsAt","vehicleLabel","operationMode","totalAmountMinor","serviceFeeMinor","currency","paymentMode","holdExpiresAt","fulfillmentMode","passRequired","cancellationPolicy","recordVersion","baseAmountMinor","taxMinor","status"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","minLength":1,"maxLength":160},"listingId":{"type":"string","minLength":1,"maxLength":160},"marketId":{"type":"string","minLength":1,"maxLength":160},"timeZone":{"type":"string","minLength":1,"maxLength":80},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"areaLabel":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"vehicleLabel":{"type":"string","minLength":1,"maxLength":120},"operationMode":{"type":"string","enum":["HUMAN_DRIVER","AUTONOMOUS"]},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"currency":{"type":"string","pattern":"^[A-Z]{3}$"},"paymentMode":{"type":"string","enum":["TEST","LIVE"]},"holdExpiresAt":{"type":"string","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)))$"},"fulfillmentMode":{"type":"string","enum":["SIMPLE_ARRIVAL","MANAGED_ACCESS"]},"passRequired":{"type":"boolean"},"cancellationPolicy":{"anyOf":[{"type":"object","properties":{"version":{"type":"string","minLength":1,"maxLength":80},"fullRefundBeforeMinutes":{"type":"integer","minimum":0,"maximum":43200}},"required":["version","fullRefundBeforeMinutes"],"additionalProperties":false},{"type":"null"}]},"recordVersion":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"confirmedAt":{"type":"string","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)))$"},"vehicle":{"type":"object","properties":{"vehicleId":{"type":"string","minLength":1,"maxLength":160},"assetType":{"type":"string","enum":["CAR","TRUCK","MOTORCYCLE","RV","TRAILER"]},"make":{"type":"string","maxLength":80},"model":{"type":"string","maxLength":80},"color":{"type":"string","maxLength":30},"plateNumber":{"type":"string","maxLength":10},"plateRegion":{"type":"string","maxLength":12}},"required":["vehicleId","assetType","make","model","color","plateNumber","plateRegion"],"additionalProperties":false},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"taxMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"paymentMethod":{"type":"object","properties":{"brand":{"type":"string","minLength":1,"maxLength":30},"last4":{"anyOf":[{"type":"string","pattern":"^\\d{4}$"},{"type":"string","const":""}]},"wallet":{"anyOf":[{"type":"string","maxLength":30},{"type":"null"}]}},"required":["brand","last4","wallet"],"additionalProperties":false},"refundAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"completedAt":{"type":"string","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)))$"},"cancelledBy":{"type":"string","enum":["CUSTOMER","HOST","STAFF"]},"extraCharges":{"maxItems":40,"type":"array","items":{"type":"object","properties":{"chargeId":{"type":"string","minLength":1,"maxLength":160},"kind":{"type":"string","enum":["EXTENSION","OVERSTAY","TIP","DAMAGE"]},"minutes":{"type":"integer","minimum":0,"maximum":1440},"baseAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"serviceFeeMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"totalAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"providerPaymentIntentId":{"type":"string","minLength":1,"maxLength":255},"chargedAt":{"type":"string","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)))$"}},"required":["chargeId","kind","minutes","baseAmountMinor","serviceFeeMinor","totalAmountMinor","providerPaymentIntentId","chargedAt"],"additionalProperties":false}},"promoCode":{"type":"string","minLength":1,"maxLength":20},"discountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"chargingFeeMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"insuranceAttestedAt":{"type":"string","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)))$"},"renewMonthly":{"type":"boolean"},"renewalAmountMinor":{"type":"integer","exclusiveMinimum":0,"maximum":9007199254740991},"status":{"type":"string","const":"CANCELLED"},"cancellationReason":{"type":"string","minLength":8,"maxLength":500},"cancellationPolicyVersion":{"type":"string","minLength":1,"maxLength":80},"cancelledAt":{"type":"string","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)))$"},"refundStatus":{"type":"string","enum":["NOT_REQUIRED","PENDING","SUCCEEDED"]}},"required":["id","listingId","marketId","timeZone","listingTitle","areaLabel","startsAt","endsAt","vehicleLabel","operationMode","totalAmountMinor","serviceFeeMinor","currency","paymentMode","holdExpiresAt","fulfillmentMode","passRequired","cancellationPolicy","recordVersion","baseAmountMinor","taxMinor","status","cancellationReason","cancellationPolicyVersion","cancelledAt","refundStatus"],"additionalProperties":false}]},"CancellationInput":{"type":"object","properties":{"reasonCode":{"default":"PLANS_CHANGED","type":"string","enum":["PLANS_CHANGED","FOUND_OTHER_PARKING","LISTING_CONCERN","ACCESS_CONCERN","OTHER"]},"note":{"default":"","type":"string","maxLength":500}},"additionalProperties":false},"Cancellation":{"type":"object","properties":{"reservation":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"cancellationPolicyVersion":{"type":"string","minLength":1,"maxLength":80},"refundAmountMinor":{"type":"integer","minimum":0,"maximum":9007199254740991},"refundStatus":{"type":"string","enum":["NOT_REQUIRED","PENDING","SUCCEEDED"]},"replayed":{"type":"boolean"}},"required":["reservation","cancellationPolicyVersion","refundAmountMinor","refundStatus","replayed"],"additionalProperties":false},"Stay":{"type":"object","properties":{"reservationId":{"type":"string","minLength":1,"maxLength":160},"events":{"maxItems":5,"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["ARRIVED","DEPARTED","SPOT_TAKEN","OVERSTAY_REPORTED","DAMAGE_REPORTED"]},"occurredAt":{"type":"string","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)))$"},"actorRole":{"type":"string","enum":["CUSTOMER","HOST"]},"note":{"type":"string","maxLength":500},"hasPhoto":{"type":"boolean"}},"required":["type","occurredAt","actorRole","note","hasPhoto"],"additionalProperties":false}},"arrivalOpensAt":{"type":"string","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)))$"},"actions":{"type":"object","properties":{"arrive":{"type":"boolean"},"depart":{"type":"boolean"},"reportSpotTaken":{"type":"boolean"},"refundSpotTaken":{"type":"boolean"}},"required":["arrive","depart","reportSpotTaken","refundSpotTaken"],"additionalProperties":false},"supportCaseId":{"anyOf":[{"type":"string","minLength":1,"maxLength":160},{"type":"null"}]}},"required":["reservationId","events","arrivalOpensAt","actions","supportCaseId"],"additionalProperties":false},"Thread":{"type":"object","properties":{"reservationId":{"type":"string","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)$"},"viewer":{"type":"string","enum":["CUSTOMER","HOST","STAFF"]},"listingTitle":{"type":"string","minLength":1,"maxLength":120},"startsAt":{"type":"string","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)))$"},"endsAt":{"type":"string","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)))$"},"timeZone":{"type":"string","minLength":1,"maxLength":80},"state":{"type":"string","enum":["NOT_OPEN","OPEN","CLOSED"]},"closesAt":{"type":"string","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)))$"},"quickReplies":{"type":"array","items":{"type":"string","enum":["ON_MY_WAY","RUNNING_LATE","WHICH_SIDE","SPACE_READY","CAR_BLOCKING","THANKS"]}},"messages":{"type":"array","items":{"type":"object","properties":{"messageId":{"type":"string","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)$"},"reservationId":{"type":"string","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)$"},"author":{"type":"string","enum":["CUSTOMER","HOST"]},"body":{"type":"string","minLength":1,"maxLength":1000},"masked":{"type":"boolean"},"quickReply":{"anyOf":[{"type":"string","enum":["ON_MY_WAY","RUNNING_LATE","WHICH_SIDE","SPACE_READY","CAR_BLOCKING","THANKS"]},{"type":"null"}]},"sentAt":{"type":"string","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)))$"}},"required":["messageId","reservationId","author","body","masked","quickReply","sentAt"],"additionalProperties":false}}},"required":["reservationId","viewer","listingTitle","startsAt","endsAt","timeZone","state","closesAt","quickReplies","messages"],"additionalProperties":false},"MessageInput":{"anyOf":[{"type":"object","properties":{"clientMessageId":{"type":"string","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)$"},"body":{"type":"string","minLength":1,"maxLength":1000}},"required":["clientMessageId","body"],"additionalProperties":false},{"type":"object","properties":{"clientMessageId":{"type":"string","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)$"},"quickReply":{"type":"string","enum":["ON_MY_WAY","RUNNING_LATE","WHICH_SIDE","SPACE_READY","CAR_BLOCKING","THANKS"]}},"required":["clientMessageId","quickReply"],"additionalProperties":false}]},"Message":{"type":"object","properties":{"messageId":{"type":"string","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)$"},"reservationId":{"type":"string","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)$"},"author":{"type":"string","enum":["CUSTOMER","HOST"]},"body":{"type":"string","minLength":1,"maxLength":1000},"masked":{"type":"boolean"},"quickReply":{"anyOf":[{"type":"string","enum":["ON_MY_WAY","RUNNING_LATE","WHICH_SIDE","SPACE_READY","CAR_BLOCKING","THANKS"]},{"type":"null"}]},"sentAt":{"type":"string","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)))$"}},"required":["messageId","reservationId","author","body","masked","quickReply","sentAt"],"additionalProperties":false}}}}