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 |
http://maasglobal.com/core/region.json
http://maasglobal.com/core/components/address.json| 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
objectobject with following properties:
| Property | Type | Required | | ——– | —- | ——– |
ISO 3166-1 alpha-2 country code, see https://en.wikipedia.org/wiki/ISO_3166-1_alpha-2
countryCode
stringstring
All instances must conform to this regular expression (test examples here):
^[A-Z]{2,2}$
id
stringstring
name
stringstring
Numeric zip code, see https://en.wikipedia.org/wiki/Postal_code
zipCode
stringstring