5. Schemas

Could have different schema for different purposes, e.g. a valid WMS schema. Nested schemas are in the Draft 4 spec only - https://spacetelescope.github.io/understanding-json-schema/structuring.html

5.1. map

type:object

Properties: __type__, angle, debug, extent, layers, name, status

5.1.1. __type__

type:string

5.1.2. angle

type:number

5.1.3. debug

Allowed values:

  • ON
  • OFF
  • 0
  • 1
  • 2
  • 3
  • 4
  • 5

5.1.4. extent

type:array
maxItems:4
minItems:4
Every element of extent is:
type:number

5.1.5. layers

type:array
Every element of layers is:
type:object
Reference:layer

5.1.6. name

type:string

5.1.7. status

type:string

Allowed values:

  • ON
  • OFF

5.2. layer

type:object
Required:type

Properties: name, status, type

5.2.1. name

type:string

5.2.2. status

type:string

Allowed values:

  • ON
  • OFF
  • DEFAULT

5.2.3. type

Allowed values:

  • POLYGON
  • POINT