changedInput schema / properties / input / properties / layer / oneOf
Previous value: -[
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "enabled": {
- "type": "boolean"
- },
- "field": {
- "type": "string"
- },
- "haloColor": {
- "type": "string"
- },
- "haloWidth": {
- "maximum": 20,
- "minimum": 0,
- "type": "number"
- },
- "placement": {
- "enum": [
- "point",
- "line"
- ],
- "type": "string"
- },
- "size": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "iconImage": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "iconOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "iconSize": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "opacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "radius": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeWidth": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "point",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "enabled": {
- "type": "boolean"
- },
- "field": {
- "type": "string"
- },
- "haloColor": {
- "type": "string"
- },
- "haloWidth": {
- "maximum": 20,
- "minimum": 0,
- "type": "number"
- },
- "placement": {
- "enum": [
- "point",
- "line"
- ],
- "type": "string"
- },
- "size": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "dashArray": {
- "anyOf": [
- {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- {
- "type": "null"
- }
- ]
- },
- "opacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "width": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "line",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "enabled": {
- "type": "boolean"
- },
- "field": {
- "type": "string"
- },
- "haloColor": {
- "type": "string"
- },
- "haloWidth": {
- "maximum": 20,
- "minimum": 0,
- "type": "number"
- },
- "placement": {
- "enum": [
- "point",
- "line"
- ],
- "type": "string"
- },
- "size": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "fillOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeWidth": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "polygon",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "properties": {
- "color": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "enabled": {
- "type": "boolean"
- },
- "field": {
- "type": "string"
- },
- "haloColor": {
- "type": "string"
- },
- "haloWidth": {
- "maximum": 20,
- "minimum": 0,
- "type": "number"
- },
- "placement": {
- "enum": [
- "point",
- "line"
- ],
- "type": "string"
- },
- "size": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- },
- {
- "type": "boolean"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "fillOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeWidth": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "circle",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "not": {}
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "brightnessMax": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "brightnessMin": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "contrast": {
- "maximum": 1,
- "minimum": -1,
- "type": "number"
- },
- "fadeDuration": {
- "minimum": 0,
- "type": "number"
- },
- "hueRotate": {
- "maximum": 360,
- "minimum": -360,
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "resampling": {
- "enum": [
- "linear",
- "nearest"
- ],
- "type": "string"
- },
- "saturation": {
- "maximum": 1,
- "minimum": -1,
- "type": "number"
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "raster",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "not": {}
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "intensity": {
- "minimum": 0,
- "type": "number"
- },
- "opacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "radius": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "weight": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "heatmap",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- },
- {
- "properties": {
- "aggregation": {
- "enum": [
- "count",
- "sum",
- "mean",
- "min",
- "max"
- ],
- "type": "string"
- },
- "attributes": {
- "items": {
- "properties": {
- "fieldType": {
- "enum": [
- "string",
- "number",
- "boolean"
- ],
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "name": {
- "minLength": 1,
- "type": "string"
- }
- },
- "required": [
- "id",
- "name",
- "fieldType"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "binMode": {
- "enum": [
- "fixed",
- "low",
- "medium",
- "high"
- ],
- "type": "string"
- },
- "display": {
- "additionalProperties": false,
- "properties": {
- "categories": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "type": "string"
- },
- "value": {
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "number"
- }
- ]
- }
- },
- "required": [
- "value",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "colorRamp": {
- "items": {
- "type": "string"
- },
- "minItems": 2,
- "type": "array"
- },
- "fallbackColor": {
- "type": "string"
- },
- "rampDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeDomain": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "sizeRange": {
- "prefixItems": [
- {
- "type": "number"
- },
- {
- "type": "number"
- }
- ],
- "type": "array"
- },
- "styleBy": {
- "type": "string"
- },
- "vizType": {
- "default": "simple",
- "enum": [
- "simple",
- "categorical",
- "numeric",
- "proportional"
- ],
- "type": "string"
- }
- },
- "type": "object"
- },
- "filter": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- },
- "groupId": {
- "type": "string"
- },
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "label": {
- "not": {}
- },
- "legend": {
- "additionalProperties": false,
- "properties": {
- "caption": {
- "type": "string"
- },
- "displayName": {
- "minLength": 1,
- "type": "string"
- },
- "enabled": {
- "default": true,
- "type": "boolean"
- },
- "interactive": {
- "default": true,
- "type": "boolean"
- },
- "items": {
- "items": {
- "oneOf": [
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "iconImage": {
- "type": "string"
- },
- "iconSize": {
- "type": "number"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "strokeWidth": {
- "type": "number"
- }
- },
- "type": "object"
- },
- "type": {
- "const": "symbol",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "dashArray": {
- "items": {
- "type": "number"
- },
- "type": "array"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "width": {
- "type": "number"
- }
- },
- "required": [
- "color"
- ],
- "type": "object"
- },
- "type": {
- "const": "line",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "fillOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "outlineColor": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- }
- },
- "required": [
- "fillColor"
- ],
- "type": "object"
- },
- "type": {
- "const": "fill",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "style": {
- "additionalProperties": false,
- "properties": {
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "offset": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- }
- },
- "required": [
- "offset",
- "color"
- ],
- "type": "object"
- },
- "type": "array"
- }
- },
- "required": [
- "stops"
- ],
- "type": "object"
- },
- "type": {
- "const": "gradient",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "style"
- ],
- "type": "object"
- },
- {
- "properties": {
- "id": {
- "minLength": 1,
- "type": "string"
- },
- "interactive": {
- "type": "boolean"
- },
- "label": {
- "minLength": 1,
- "type": "string"
- },
- "property": {
- "type": "string"
- },
- "stops": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "color": {
- "pattern": "^#[0-9a-f]{6}$",
- "type": "string"
- },
- "label": {
- "type": "string"
- },
- "opacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "value": {
- "anyOf": [
- {
- "type": "number"
- },
- {
- "type": "string"
- }
- ]
- }
- },
- "required": [
- "value",
- "color",
- "label"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "type": {
- "const": "choropleth",
- "type": "string"
- }
- },
- "required": [
- "id",
- "label",
- "type",
- "property",
- "stops"
- ],
- "type": "object"
- }
- ]
- },
- "type": "array"
- },
- "type": {
- "enum": [
- "choropleth",
- "categorical",
- "simple",
- "gradient"
- ],
- "type": "string"
- }
- },
- "required": [
- "displayName",
- "type"
- ],
- "type": "object"
- },
- "maxZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "minZoom": {
- "maximum": 22,
- "minimum": 0,
- "type": "number"
- },
- "paint": {
- "additionalProperties": false,
- "properties": {
- "fillColor": {
- "anyOf": [
- {
- "minLength": 1,
- "type": "string"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "fillOpacity": {
- "anyOf": [
- {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- ]
- },
- "strokeColor": {
- "minLength": 1,
- "type": "string"
- },
- "strokeOpacity": {
- "maximum": 1,
- "minimum": 0,
- "type": "number"
- },
- "strokeWidth": {
- "minimum": 0,
- "type": "number"
- }
- },
- "type": "object"
- },
- "properties": {
- "items": {
- "type": "string"
- },
- "type": "array"
- },
- "resolution": {
- "maximum": 15,
- "minimum": 0,
- "type": "integer"
- },
- "serverFilter": {
- "properties": {
- "expression": {
- "description": "GMS expression array.",
- "items": {},
- "minItems": 1,
- "type": "array"
- }
- },
- "required": [
- "expression"
- ],
- "type": "object"
- },
- "source": {
- "minLength": 1,
- "type": "string"
- },
- "sourceLayer": {
- "type": "string"
- },
- "type": {
- "const": "h3",
- "type": "string"
- },
- "version": {
- "const": "1.0",
- "type": "string"
- },
- "visibility": {
- "enum": [
- "visible",
- "none"
- ],
- "type": "string"
- },
- "weightField": {
- "type": "string"
- }
- },
- "required": [
- "version",
- "id",
- "source",
- "type",
- "paint"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "field": {
+ "type": "string"
+ },
+ "haloColor": {
+ "type": "string"
+ },
+ "haloWidth": {
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "placement": {
+ "enum": [
+ "point",
+ "line"
+ ],
+ "type": "string"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "iconImage": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "iconOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "iconSize": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "opacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "radius": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeWidth": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "point",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "field": {
+ "type": "string"
+ },
+ "haloColor": {
+ "type": "string"
+ },
+ "haloWidth": {
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "placement": {
+ "enum": [
+ "point",
+ "line"
+ ],
+ "type": "string"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "dashArray": {
+ "anyOf": [
+ {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "opacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "width": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "field": {
+ "type": "string"
+ },
+ "haloColor": {
+ "type": "string"
+ },
+ "haloWidth": {
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "placement": {
+ "enum": [
+ "point",
+ "line"
+ ],
+ "type": "string"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "fillOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeWidth": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "polygon",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "properties": {
+ "color": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "enabled": {
+ "type": "boolean"
+ },
+ "field": {
+ "type": "string"
+ },
+ "haloColor": {
+ "type": "string"
+ },
+ "haloWidth": {
+ "maximum": 20,
+ "minimum": 0,
+ "type": "number"
+ },
+ "placement": {
+ "enum": [
+ "point",
+ "line"
+ ],
+ "type": "string"
+ },
+ "size": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "fillOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeWidth": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "circle",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "not": {}
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "brightnessMax": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "brightnessMin": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "contrast": {
+ "maximum": 1,
+ "minimum": -1,
+ "type": "number"
+ },
+ "fadeDuration": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "hueRotate": {
+ "maximum": 360,
+ "minimum": -360,
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "resampling": {
+ "enum": [
+ "linear",
+ "nearest"
+ ],
+ "type": "string"
+ },
+ "saturation": {
+ "maximum": 1,
+ "minimum": -1,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "raster",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "not": {}
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "intensity": {
+ "minimum": 0,
+ "type": "number"
+ },
+ "opacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "radius": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "weight": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "heatmap",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "aggregation": {
+ "enum": [
+ "count",
+ "sum",
+ "mean",
+ "min",
+ "max"
+ ],
+ "type": "string"
+ },
+ "attributes": {
+ "items": {
+ "properties": {
+ "fieldType": {
+ "enum": [
+ "string",
+ "number",
+ "boolean"
+ ],
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "name": {
+ "minLength": 1,
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "fieldType"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "binMode": {
+ "enum": [
+ "fixed",
+ "low",
+ "medium",
+ "high"
+ ],
+ "type": "string"
+ },
+ "display": {
+ "additionalProperties": false,
+ "properties": {
+ "categories": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "number"
+ },
+ {
+ "type": "boolean"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "colorRamp": {
+ "items": {
+ "type": "string"
+ },
+ "minItems": 2,
+ "type": "array"
+ },
+ "fallbackColor": {
+ "type": "string"
+ },
+ "other": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "type": "string"
+ },
+ "visible": {
+ "default": true,
+ "type": "boolean"
+ }
+ },
+ "type": "object"
+ },
+ "rampDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeDomain": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "sizeRange": {
+ "prefixItems": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "number"
+ }
+ ],
+ "type": "array"
+ },
+ "styleBy": {
+ "type": "string"
+ },
+ "vizType": {
+ "default": "simple",
+ "enum": [
+ "simple",
+ "categorical",
+ "numeric",
+ "proportional"
+ ],
+ "type": "string"
+ }
+ },
+ "type": "object"
+ },
+ "filter": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ },
+ "groupId": {
+ "type": "string"
+ },
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "label": {
+ "not": {}
+ },
+ "legend": {
+ "additionalProperties": false,
+ "properties": {
+ "caption": {
+ "type": "string"
+ },
+ "displayName": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "enabled": {
+ "default": true,
+ "type": "boolean"
+ },
+ "interactive": {
+ "default": true,
+ "type": "boolean"
+ },
+ "items": {
+ "items": {
+ "oneOf": [
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "iconImage": {
+ "type": "string"
+ },
+ "iconSize": {
+ "type": "number"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "strokeWidth": {
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "type": {
+ "const": "symbol",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "dashArray": {
+ "items": {
+ "type": "number"
+ },
+ "type": "array"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "width": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "line",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "fillOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "outlineColor": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fillColor"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "fill",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "style": {
+ "additionalProperties": false,
+ "properties": {
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "offset": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "required": [
+ "offset",
+ "color"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "stops"
+ ],
+ "type": "object"
+ },
+ "type": {
+ "const": "gradient",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "style"
+ ],
+ "type": "object"
+ },
+ {
+ "properties": {
+ "id": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "interactive": {
+ "type": "boolean"
+ },
+ "label": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "property": {
+ "type": "string"
+ },
+ "stops": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "color": {
+ "pattern": "^#[0-9a-f]{6}$",
+ "type": "string"
+ },
+ "label": {
+ "type": "string"
+ },
+ "opacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "value": {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ }
+ },
+ "required": [
+ "value",
+ "color",
+ "label"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "type": {
+ "const": "choropleth",
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "property",
+ "stops"
+ ],
+ "type": "object"
+ }
+ ]
+ },
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "choropleth",
+ "categorical",
+ "simple",
+ "gradient"
+ ],
+ "type": "string"
+ }
+ },
+ "required": [
+ "displayName",
+ "type"
+ ],
+ "type": "object"
+ },
+ "maxZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "minZoom": {
+ "maximum": 22,
+ "minimum": 0,
+ "type": "number"
+ },
+ "paint": {
+ "additionalProperties": false,
+ "properties": {
+ "fillColor": {
+ "anyOf": [
+ {
+ "minLength": 1,
+ "type": "string"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "fillOpacity": {
+ "anyOf": [
+ {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ ]
+ },
+ "strokeColor": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "strokeOpacity": {
+ "maximum": 1,
+ "minimum": 0,
+ "type": "number"
+ },
+ "strokeWidth": {
+ "minimum": 0,
+ "type": "number"
+ }
+ },
+ "type": "object"
+ },
+ "properties": {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ "resolution": {
+ "maximum": 15,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "serverFilter": {
+ "properties": {
+ "expression": {
+ "description": "GMS expression array.",
+ "items": {},
+ "minItems": 1,
+ "type": "array"
+ }
+ },
+ "required": [
+ "expression"
+ ],
+ "type": "object"
+ },
+ "source": {
+ "minLength": 1,
+ "type": "string"
+ },
+ "sourceLayer": {
+ "type": "string"
+ },
+ "type": {
+ "const": "h3",
+ "type": "string"
+ },
+ "version": {
+ "const": "1.0",
+ "type": "string"
+ },
+ "visibility": {
+ "enum": [
+ "visible",
+ "none"
+ ],
+ "type": "string"
+ },
+ "weightField": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "version",
+ "id",
+ "source",
+ "type",
+ "paint"
+ ],
+ "type": "object"
+ }
+]