maas-schemas

region Schema

http://maasglobal.com/core/region.json

MaaS region schema

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

Schema Hierarchy

region Properties

Property Type Required Nullable Defined by
availability object Optional No region (this schema)
countryCode string Required No region (this schema)
id string Required No region (this schema)
name string Optional No region (this schema)
zipCode string Required No region (this schema)
* any Additional Yes this schema allows additional properties

availability

availability

availability Type

object with following properties:

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

countryCode

ISO 3166-1 alpha-2 country code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2

countryCode

countryCode Type

string

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

^[A-Z]{2,2}$

id

id

id Type

string

name

name

name Type

string

zipCode

Numeric zip code, see https://en.wikipedia.org/wiki/Postal_code

zipCode

zipCode Type

string