maas-schemas

authorization Schema

http://maasglobal.com/core/components/authorization.json

MaaS information about an authorization required to use a particular TSP

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden core/components/authorization.json

Schema Hierarchy

authorization Properties

Property Type Required Nullable Defined by
agencyId string Required No authorization (this schema)
created integer Required No authorization (this schema)
modified integer Optional No authorization (this schema)
state enum Required No authorization (this schema)
validTo integer Required No authorization (this schema)

agencyId

agencyId

agencyId Type

string

created

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

created

created Type

integer

modified

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

modified

modified Type

integer

state

The state of an authorization

state

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

state Known Values

Value Description
VALID  
INVALID  

validTo

Epoch when the authorization will be invalid

validTo

validTo Type

integer