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, config, datapattern, debug, defresolution, extent, fontset, imagecolor, imagequality, imagetype, interlace, layers, legend, maxsize, name, outputformats, projection, querymap, reference, resolution, scalebar, scaledenom, shapepath, size, status, symbols, symbolset, templatepattern, transparent, units, web

5.1.1. __type__

type:string

5.1.2. angle

type:number

5.1.3. config

type:object

Properties: CGI_CONTEXT_URL, MS_ENCRYPTION_KEY, MS_ERRORFILE, MS_NONSQUARE, ON_MISSING_DATA, PROJ_LIB

5.1.3.1. CGI_CONTEXT_URL

type:string

5.1.3.2. MS_ENCRYPTION_KEY

type:string

5.1.3.3. MS_ERRORFILE

type:string

5.1.3.4. MS_NONSQUARE

Reference:yesno

5.1.3.5. ON_MISSING_DATA

type:string

Allowed values:

  • FAIL
  • LOG
  • IGNORE

5.1.3.6. PROJ_LIB

type:string

5.1.4. datapattern

type:string

5.1.5. debug

$refss:debug.json

5.1.6. defresolution

type:integer

5.1.7. extent

Reference:extent

5.1.8. fontset

type:string

5.1.9. imagecolor

Reference:color

5.1.10. imagequality

type:integer

5.1.11. imagetype

type:string

5.1.12. interlace

Reference:onoff

5.1.13. layers

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

5.1.14. legend

type:object

5.1.15. maxsize

type:integer

5.1.16. name

type:string

5.1.17. outputformats

type:array
Every element of outputformats is:
type:object

5.1.18. projection

Reference:projection

5.1.19. querymap

Reference:querymap

5.1.20. reference

type:object

5.1.21. resolution

type:integer

5.1.22. scalebar

type:object

5.1.23. scaledenom

type:number

5.1.24. shapepath

type:string

5.1.25. size

type:array
maxItems:2
minItems:2
Every element of size is:
type:integer

5.1.26. status

Reference:onoff

5.1.27. symbols

type:array
Every element of symbols is:
type:object

5.1.28. symbolset

type:string

5.1.29. templatepattern

type:string

5.1.30. transparent

Reference:onoff

5.1.31. units

Reference:units

5.1.32. web

type:object

5.2. layer

type:object
Required:type

Properties: class, classgroup, classitem, cluster, composite, connection, connectiontype, data, debug, dump, encoding, extent, features, filter, filteritem, footer, geomtransform, grid, group, header, join, labelangleitem, labelcache, labelitem, labelmaxscaledenom, labelminscaledenom, labelrequires, labelsizeitem, mask, maxfeatures, maxgeowidth, maxscale, maxscaledenom, metadata, mingeowidth, minscale, minscaledenom, name, offsite, opacity, plugin, postlabelcache, processing, projection, requires, scaletoken, sizeunits, status, styleitem, symbolscaledenom, template, tileindex, tileitem, tilesrs, tolerance, toleranceunits, transform, transparency, type, units, utfdata, utfitem, validation

5.2.1. class

Reference:class

5.2.2. classgroup

type:string

5.2.3. classitem

type:string

5.2.4. cluster

type:object

5.2.5. composite

type:object

5.2.6. connection

type:string

5.2.7. connectiontype

Allowed values:

  • contour
  • kerneldensity
  • local
  • ogr
  • oraclespatial
  • plugin
  • postgis
  • sde
  • union
  • uvraster
  • wfs
  • wms
  • mygis

5.2.8. data

type:string

5.2.9. debug

Reference:debug

5.2.10. dump

Must satisfy exactly one of the following definitions:

5.2.10.1. 0

type:boolean

5.2.10.2. 1

Reference:onoff

5.2.11. encoding

type:string

5.2.12. extent

Reference:extent

5.2.13. features

type:array
Every element of features is:
Reference:feature

5.2.14. filter

Reference:expression

5.2.15. filteritem

type:string

5.2.17. geomtransform

May satisfy any of the following definitions:

5.2.17.1. 0

type:string

5.2.17.2. 1

type:string
pattern:^\((.*?)\)$

5.2.18. grid

Reference:grid

5.2.19. group

type:string

5.2.21. join

type:object

5.2.22. labelangleitem

type:string

5.2.23. labelcache

Reference:onoff

5.2.24. labelitem

type:string

5.2.25. labelmaxscaledenom

type:number

5.2.26. labelminscaledenom

type:number

5.2.27. labelrequires

type:string

5.2.28. labelsizeitem

type:string

5.2.29. mask

type:string

5.2.30. maxfeatures

type:integer

5.2.31. maxgeowidth

type:number

5.2.32. maxscale

type:number
deprecated:True
maxVersion:5.0

5.2.33. maxscaledenom

type:number

5.2.34. metadata

Reference:metadata

5.2.35. mingeowidth

type:number

5.2.36. minscale

type:number
deprecated:True
maxVersion:5.0
minVersion:0

5.2.37. minscaledenom

type:number

5.2.38. name

type:string

5.2.39. offsite

Reference:color

5.2.40. opacity

type:integer

5.2.41. plugin

type:string

5.2.42. postlabelcache

type:boolean

5.2.43. processing

type:array
Every element of processing is:
type:string

5.2.44. projection

Reference:projection

5.2.45. requires

type:string

5.2.46. scaletoken

Reference:scaletoken

5.2.47. sizeunits

Allowed values:

  • feet
  • inches
  • kilometers
  • meters
  • miles
  • nauticalmiles
  • pixels

5.2.48. status

type:string

Allowed values:

  • on
  • off
  • default

5.2.49. styleitem

type:string

5.2.50. symbolscaledenom

type:number

5.2.51. template

type:string

5.2.52. tileindex

type:string

5.2.53. tileitem

type:string

5.2.54. tilesrs

type:string

5.2.55. tolerance

type:number

5.2.56. toleranceunits

Allowed values:

  • pixels
  • feet
  • inches
  • kilometers
  • meters
  • miles
  • nauticalmiles
  • dd

5.2.57. transform

Must satisfy exactly one of the following definitions:

5.2.57.1. 0

type:boolean

5.2.57.2. 1

Reference:position

5.2.58. transparency

Must satisfy exactly one of the following definitions:

5.2.58.1. 0

type:integer

5.2.58.2. 1

Allowed values:

  • alpha

5.2.59. type

Allowed values:

  • chart
  • circle
  • line
  • point
  • polygon
  • raster
  • query
  • annotation

5.2.60. units

Allowed values:

  • dd
  • feet
  • inches
  • kilometers
  • meters
  • miles
  • nauticalmiles
  • percentages
  • pixels

5.2.61. utfdata

type:string

5.2.62. utfitem

type:string

5.2.63. validation

Reference:validation