maas-schemas

request Schema

http://maasglobal.com/maas-backend/auth/auth-sms-request-code/request.json

Request schema for auth-sms-request-code

Abstract Extensible Status Identifiable Custom Properties Additional Properties Defined In
Can be instantiated No Develop No Forbidden Forbidden maas-backend/auth/auth-sms-request-code/request.json

Schema Hierarchy

request Properties

Property Type Required Nullable Defined by
headers object Optional No request (this schema)
payload object Required No request (this schema)

headers

headers

headers Type

object with following properties:

Property Type Required
Accept   Optional
X-Whim-User-Agent   Optional

Accept

Accept

Accept Type

X-Whim-User-Agent

X-Whim-User-Agent

X-Whim-User-Agent Type

payload

payload

payload Type

object with following properties:

Property Type Required
phone string Required

phone

Slightly looser definition of phone number

phone

phone Type

string

All instances must conform to this regular expression (test examples here):

^\+?(?:\d){6,14}\d$