Skip to main content
Glama

Add a project layer

project_add_layer

Add a map layer to a project from a dataset, collection, or map already present in its context. expectedSpecVersion is required to prevent stale writes.

Tool call template

Replace each placeholder with a value matching the input schema. Only required parameters are included; add optional parameters as needed.

{
  "id": 1,
  "jsonrpc": "2.0",
  "method": "tools/call",
  "params": {
    "arguments": {
      "projectId": "<projectId>",
      "expectedSpecVersion": "<expectedSpecVersion>",
      "input": "<input>"
    },
    "name": "project_add_layer"
  }
}

Input Schema

NameRequiredDescriptionDefault
inputYes
projectIdYes
conversation_idNoThe conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.
expectedSpecVersionYes

Schema Changelog

Changes observed during successful MCP inspections.

  1. Changed1 schema field changed
    • 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"
      +  }
      +]
  2. Changed1 schema field changed
    • addedInput schema / properties / conversation_id
      Added value: +{
      +  "description": "The conversation_id this server returned earlier in this conversation, unchanged, including after later user messages. Omit it if you have none. Recorded for the server developer's analytics.",
      +  "type": "string"
      +}
  3. Added

TDQS

A3.6/5.0
Behavior3/5

Does the description disclose side effects, auth requirements, rate limits, or destructive behavior?

Annotations already declare readOnly=false, destructive=false, and idempotent=false, so the mutation profile is known. The description adds one genuinely new behavioral fact, that expectedSpecVersion guards against stale writes (optimistic concurrency), but says nothing about what happens on a version mismatch (error vs retry), whether the write is atomic, or how position defaults interact with existing layers.

Agents need to know what a tool does to the world before calling it. Descriptions should go beyond structured annotations to explain consequences.

Conciseness5/5

Is the description appropriately sized, front-loaded, and free of redundancy?

Two sentences, no filler, with the core action front-loaded and the required-parameter rationale immediately after. Nothing repeats the title or the schema verbatim.

Shorter descriptions cost fewer tokens and are easier for agents to parse. Every sentence should earn its place.

Completeness3/5

Given the tool's complexity, does the description cover enough for an agent to succeed on first attempt?

This is a complex mutation with a very large polymorphic nested layer schema and no output schema, yet the description explains only the source constraint and the version guard. It omits failure/conflict behavior, whether the new layer is returned, and any hint about the type-discriminated paint variants — though the heavily annotated input.layer schema does carry most of that load.

Complex tools with many parameters or behaviors need more documentation. Simple tools need less. This dimension scales expectations accordingly.

Parameters4/5

Does the description clarify parameter syntax, constraints, interactions, or defaults beyond what the schema provides?

Top-level schema description coverage is low (~25%) with projectId and expectedSpecVersion undocumented in the schema, and the description compensates for the most dangerous one by explaining that expectedSpecVersion is mandatory specifically to prevent stale writes. It still adds no meaning for projectId (presumably internal) and doesn't explain how the large nested input object relates to the referenced dataset/collection beyond the source enum.

Input schemas describe structure but not intent. Descriptions should explain non-obvious parameter relationships and valid value ranges.

Purpose4/5

Does the description clearly state what the tool does and how it differs from similar tools?

States a specific verb and resource ("Add a map layer to a project") and constrains the allowed sources to a dataset, collection, or map already in the project context. It does not differentiate itself from near siblings such as studio_add_layer or project_duplicate_layer, so the agent must infer which add path applies.

Agents choose between tools based on descriptions. A clear purpose with a specific verb and resource helps agents select the right tool.

Usage Guidelines3/5

Does the description explain when to use this tool, when not to, or what alternatives exist?

Implicit usage is clear from "Add a map layer to a project," and the source restriction (must already exist in context) rules out arbitrary external sources. There is no explicit when-to-use / when-not guidance and no mention of which sibling to call instead when the layer already exists or when only styling needs to change.

Agents often have multiple tools that could apply. Explicit usage guidance like "use X instead of Y when Z" prevents misuse.

Try in Browser

Glama MCP Gateway

Add one secure layer between your agents and this server.

Resources