maas-schemas

response Schema

http://maasglobal.com/maas-backend/customers/stats/response.json

MaaS customer stats. Give lifetime stats of customer e.g total number of bookings and itineraries

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden maas-backend/customers/stats/response.json

Schema Hierarchy

response Properties

Property Type Required Nullable Defined by
identityId complex Required No response (this schema)
lifetimeBookingsCount integer Required No response (this schema)
lifetimeItinerariesCount integer Required No response (this schema)
profileCreationTimestamp integer Required No response (this schema)

identityId

identityId

identityId Type

Any following options needs to be fulfilled.

Option 1

string

All instances must conform to this regular expression

^[aepus]{2}-[\w]{4}-\d:[a-f\d]{8}(-[a-f\d]{4}){3}-[a-f\d]{12}$

Option 2

string

All instances must conform to this regular expression

^[A-Fa-f0-9]{8}(-[A-Fa-f0-9]{4}){3}-[A-Fa-f0-9]{12}$

identityId Examples

"eu-west-1:4828507e-683f-41bf-9d87-689808fbf958"
"4828507e-683f-41bf-9d87-689808fbf958"

lifetimeBookingsCount

lifetimeBookingsCount

lifetimeBookingsCount Type

integer

lifetimeItinerariesCount

lifetimeItinerariesCount

lifetimeItinerariesCount Type

integer

profileCreationTimestamp

POSIX time in milliseconds, https://en.wikipedia.org/wiki/Unix_time

profileCreationTimestamp

profileCreationTimestamp Type

integer