maas-schemas

remote-response Schema

http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json

Remote response schema, e.g. how MaaS-backend responds back to TSP

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated Yes Develop No Forbidden Forbidden tsp/webhooks-bookings-update/remote-response.json

remote-response Definitions

Property Type Group
cost cost http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
customer customer http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
id uuid http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
leg leg http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
meta booking-meta http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
state enum http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
terms terms http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
token token http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta
tspId tspId http://maasglobal.com/tsp/webhooks-bookings-update/remote-response.json#/definitions/bookingDelta

cost

cost

cost Type

customer

customer

customer Type

id

id

id Type

leg

leg

leg Type

meta

meta

meta Type

state

state

The value of this property must be equal to one of the known values below.

state Known Values

Value Description
RESERVED  
CONFIRMED  
ACTIVATED  
EXPIRED  
CANCELLED  
REJECTED  

terms

terms

terms Type

token

token

token Type

tspId

tspId

tspId Type

remote-response Properties

Property Type Required Nullable Defined by
booking object Optional No remote-response (this schema)
debug object Optional No remote-response (this schema)

booking

booking

booking Type

object with following properties:

Property Type Required
cost   Optional
customer   Optional
id   Optional
leg   Optional
meta   Optional
state   Required
terms   Optional
token   Optional
tspId   Required

cost

cost

cost Type

customer

customer

customer Type

id

id

id Type

leg

leg

leg Type

meta

meta

meta Type

state

state

The value of this property must be equal to one of the known values below.

state Known Values
Value Description
RESERVED  
CONFIRMED  
ACTIVATED  
EXPIRED  
CANCELLED  
REJECTED  

terms

terms

terms Type

token

token

token Type

tspId

tspId

tspId Type

debug

debug

debug Type

object with following properties:

| Property | Type | Required | | ——– | —- | ——– |