
Find open government data for a place, identify area codes, and make maps that open in Vizzie.
Maintain this server? Claim it
Call this server's tools from your browser. Nothing to install.
Requests go through mcptry because browsers can't call most MCP servers directly. Header values are sent to the server for that request only and are never stored or logged.
Tool list from our last check. Connect live to refresh it.
Make a map someone can open in Vizzie with one link, and that edit_map can change afterwards. source "census": a census topic for a place. source "rows": your own table of area codes and values, joined to boundaries (the geography is worked out from the codes if you leave it out) — up to 5,000 rows, numbers in value_column. source "layers": up to five of those in one map, top first, each with its own place, level, colours and words. source "dataset": a dataset from search_datasets, opened in Vizzie to map (a link, not a kept map). A rows map can carry a `catchment` (as get_catchment) and crop to it. Returns map_url and the layers' ids. The map isn't saved to an account until save_map or edit_map.
dataset: the `ref` from search_datasets. rows: the `ref` of the dataset the rows came from, if they came from one.
census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country.
A line in the key saying what to see (up to 120 characters).
rows: the table, one object per area.
census: a level to draw at, from the `levels` a census result lists (e.g. "SA2", "COUNTY", "TRACT", "LSOA"). Left out, Vizzie chooses.
census: the place, e.g. "Colorado", "Denver CO".
Send only what changes.
The map's title (needed for rows and layers).
census: the topic, e.g. "median rent".
layers: the map's layers, top first.
census: the place's country.
rows: a catchment drawn over the map — the same fields as get_catchment.
rows: the boundary level, if known (resolve_geography).
rows: the column holding area codes.
What the colours measure, in the key, e.g. "Median rent, $ a month".
rows: the numeric column to shade by.
rows: keep only the areas that touch the catchment.
This tool isn't marked read-only, so it may change something on the server or in an account you connected.
Pick your client. Values in capitals, like YOUR_TOKEN, are yours to fill in.
Run in a terminal
claude mcp add --transport http vizzie https://api.vizzie.org/mcp
Make a map someone can open in Vizzie with one link, and that edit_map can change afterwards. source "census": a census topic for a place. source "rows": your own table of area codes and values, joined to boundaries (the geography is worked out from the codes if you leave it out) — up to 5,000 rows, numbers in value_column. source "layers": up to five of those in one map, top first, each with its own place, level, colours and words. source "dataset": a dataset from search_datasets, opened in Vizzie to map (a link, not a kept map). A rows map can carry a `catchment` (as get_catchment) and crop to it. Returns map_url and the layers' ids. The map isn't saved to an account until save_map or edit_map.
| Argument | Type | Description |
|---|---|---|
| ref | string | dataset: the `ref` from search_datasets. rows: the `ref` of the dataset the rows came from, if they came from one. |
| bbox | array | census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country. |
| note | string | A line in the key saying what to see (up to 120 characters). |
| rows | array | rows: the table, one object per area. |
| level | string | census: a level to draw at, from the `levels` a census result lists (e.g. "SA2", "COUNTY", "TRACT", "LSOA"). Left out, Vizzie chooses. |
| place | string | census: the place, e.g. "Colorado", "Denver CO". |
| style | object | Send only what changes. |
| title | string | The map's title (needed for rows and layers). |
| topic | string | census: the topic, e.g. "median rent". |
| layers | array | layers: the map's layers, top first. |
| source* | string | |
| country | string | census: the place's country. |
| catchment | object | rows: a catchment drawn over the map — the same fields as get_catchment. |
| geography | object | rows: the boundary level, if known (resolve_geography). |
| code_column | string | rows: the column holding area codes. |
| legend_title | string | What the colours measure, in the key, e.g. "Median rent, $ a month". |
| value_column | string | rows: the numeric column to shade by. |
| crop_to_catchment | boolean | rows: keep only the areas that touch the catchment. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"source"
],
"properties": {
"ref": {
"type": "string",
"description": "dataset: the `ref` from search_datasets. rows: the `ref` of the dataset the rows came from, if they came from one."
},
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country."
},
"note": {
"type": "string",
"description": "A line in the key saying what to see (up to 120 characters)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
},
"maxItems": 5000,
"description": "rows: the table, one object per area."
},
"level": {
"type": "string",
"description": "census: a level to draw at, from the `levels` a census result lists (e.g. \"SA2\", \"COUNTY\", \"TRACT\", \"LSOA\"). Left out, Vizzie chooses."
},
"place": {
"type": "string",
"description": "census: the place, e.g. \"Colorado\", \"Denver CO\"."
},
"style": {
"type": "object",
"properties": {
"ramp": {
"enum": [
"viridis",
"cividis",
"blues",
"greens",
"magma",
"cool-warm",
"blue-red",
"teal-brown"
],
"type": "string"
},
"breaks": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 9,
"minItems": 1,
"description": "The values the classes change at, low to high: four breaks make five classes."
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2,
"description": "A two-colour gradient, low to high, e.g. [\"#f1eef6\", \"#810f7c\"]. Wins over ramp."
},
"classes": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "How many classes, cut where the data separates."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0.1
},
"reverse": {
"type": "boolean"
},
"classify": {
"enum": [
"continuous",
"natural-breaks",
"fixed"
],
"type": "string"
}
},
"description": "Send only what changes."
},
"title": {
"type": "string",
"description": "The map's title (needed for rows and layers)."
},
"topic": {
"type": "string",
"description": "census: the topic, e.g. \"median rent\"."
},
"layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"source"
],
"properties": {
"ref": {
"type": "string",
"description": "rows: the `ref` of the dataset the rows came from, if they came from one."
},
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country."
},
"note": {
"type": "string",
"description": "A line in the key saying what to see (up to 120 characters)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
},
"maxItems": 5000,
"description": "rows: the table, one object per area."
},
"level": {
"type": "string",
"description": "census: a level to draw at, from the `levels` a census result lists (e.g. \"SA2\", \"COUNTY\", \"TRACT\", \"LSOA\"). Left out, Vizzie chooses."
},
"place": {
"type": "string",
"description": "census: the place, e.g. \"Colorado\", \"Denver CO\"."
},
"style": {
"type": "object",
"properties": {
"ramp": {
"enum": [
"viridis",
"cividis",
"blues",
"greens",
"magma",
"cool-warm",
"blue-red",
"teal-brown"
],
"type": "string"
},
"breaks": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 9,
"minItems": 1,
"description": "The values the classes change at, low to high: four breaks make five classes."
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2,
"description": "A two-colour gradient, low to high, e.g. [\"#f1eef6\", \"#810f7c\"]. Wins over ramp."
},
"classes": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "How many classes, cut where the data separates."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0.1
},
"reverse": {
"type": "boolean"
},
"classify": {
"enum": [
"continuous",
"natural-breaks",
"fixed"
],
"type": "string"
}
},
"description": "Send only what changes."
},
"title": {
"type": "string",
"description": "The layer's name in the key."
},
"topic": {
"type": "string",
"description": "census: the topic, e.g. \"median rent\"."
},
"source": {
"enum": [
"census",
"rows"
],
"type": "string"
},
"country": {
"type": "string",
"description": "census: the place's country."
},
"visible": {
"type": "boolean",
"description": "false adds it switched off."
},
"geography": {
"type": "object",
"required": [
"country",
"level"
],
"properties": {
"level": {
"type": "string"
},
"country": {
"type": "string"
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "rows: the boundary level, if known (resolve_geography)."
},
"code_column": {
"type": "string",
"description": "rows: the column holding area codes."
},
"legend_title": {
"type": "string",
"description": "What the colours measure, in the key, e.g. \"Median rent, $ a month\"."
},
"value_column": {
"type": "string",
"description": "rows: the numeric column to shade by."
}
}
},
"maxItems": 5,
"minItems": 1,
"description": "layers: the map's layers, top first."
},
"source": {
"enum": [
"census",
"rows",
"layers",
"dataset"
],
"type": "string"
},
"country": {
"type": "string",
"description": "census: the place's country."
},
"catchment": {
"type": "object",
"required": [
"distance"
],
"properties": {
"mode": {
"enum": [
"walk",
"drive"
],
"type": "string",
"description": "Isochrones: \"walk\" (default) or \"drive\"."
},
"unit": {
"enum": [
"km",
"mi"
],
"type": "string",
"description": "\"km\" (default) or \"mi\"."
},
"merge": {
"type": "boolean",
"description": "Merge overlapping catchments into one area."
},
"method": {
"enum": [
"basic",
"isochrone"
],
"type": "string",
"description": "\"basic\" (default): straight-line distance. \"isochrone\": distance along roads."
},
"address": {
"type": "string",
"description": "A place to measure from, e.g. \"1 Martin Place, Sydney\". Send this or `origins`."
},
"country": {
"type": "string",
"description": "The address's country."
},
"origins": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"label": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"coordinates"
],
"properties": {
"type": {
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon"
],
"type": "string"
},
"label": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {}
}
}
}
]
},
"maxItems": 1000,
"description": "Points ({ lat, lon }) or GeoJSON geometries to measure from: up to 1,000, or 100 for isochrones. A polygon grows outward from its edge."
},
"distance": {
"type": "number",
"description": "How far: 0.1–10 km or 0.1–5 mi."
}
},
"description": "rows: a catchment drawn over the map — the same fields as get_catchment."
},
"geography": {
"type": "object",
"required": [
"country",
"level"
],
"properties": {
"level": {
"type": "string"
},
"country": {
"type": "string"
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "rows: the boundary level, if known (resolve_geography)."
},
"code_column": {
"type": "string",
"description": "rows: the column holding area codes."
},
"legend_title": {
"type": "string",
"description": "What the colours measure, in the key, e.g. \"Median rent, $ a month\"."
},
"value_column": {
"type": "string",
"description": "rows: the numeric column to shade by."
},
"crop_to_catchment": {
"type": "boolean",
"description": "rows: keep only the areas that touch the catchment."
}
}
}What a dataset from search_datasets contains: each column's meaning, type, role and unit, its licence, and the boundaries it joins to. Takes the result's `ref` unchanged.
| Argument | Type | Description |
|---|---|---|
| ref* | string | The `ref` from a search_datasets result. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"ref"
],
"properties": {
"ref": {
"type": "string",
"description": "The `ref` from a search_datasets result."
}
}
}Change a map already made with create_map, in place — same link, and a Vizzie window with it open redraws within seconds. Its title; a layer's colours, classes or breaks, legend title and note; a census layer's topic, place, bbox or level; a table's values. add_layers puts new layers on top (up to five in a map), remove_layers and order change the rest. Send only what changes. Saves the map to the person's Vizzie account; needs them to sign in (free).
| Argument | Type | Description |
|---|---|---|
| map* | string | The map's `token` or `map_url`, from create_map. |
| bbox | array | census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country. |
| note | string | A line in the key saying what to see (up to 120 characters). |
| rows | array | rows: the table, one object per area. |
| layer | string | The id (from `layers`) of the layer the other fields change. A map of one layer doesn't need it. |
| level | string | census: a level to draw at, from the `levels` a census result lists (e.g. "SA2", "COUNTY", "TRACT", "LSOA"). Left out, Vizzie chooses. |
| order | array | Every layer's id, top first. |
| place | string |
Boundary polygons as GeoJSON for a list of area codes or a bounding box, at a named level (from resolve_geography). Only for boundaries whose licence lets Vizzie pass them on; attribution included. Capped at 2,000 areas per call; create_map draws data on a map without transferring geometry.
| Argument | Type | Description |
|---|---|---|
| bbox | array | [west, south, east, north] in degrees. |
| codes | array | |
| level* | string | The level, e.g. "SA2", "LSOA", "TRACT", "LGA". |
| detail | string | |
| country* | string | Two-letter country code, e.g. "AU", "US", "GB". |
| vintage | integer |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"country",
"level"
],
"properties": {
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "[west, south, east, north] in degrees."
},
"codes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2000
},
"level": {
"type": "string",
"description": "The level, e.g. \"SA2\", \"LSOA\", \"TRACT\", \"LGA\"."
},
"detail": {
"enum": [
"low",
"medium",
"full"
],
"type": "string"
},
"country": {
"type": "string",
"description": "Two-letter country code, e.g. \"AU\", \"US\", \"GB\"."
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
}
}The catchment around an address or a set of points or shapes: everywhere within a straight-line distance, or an isochrone — how far you can walk or drive along roads. Returns the polygons as GeoJSON (one per origin, or merged) and a map_url that opens the catchment in Vizzie. Up to 10 km (5 mi).
| Argument | Type | Description |
|---|---|---|
| map | boolean | Also make a map link (default true). |
| mode | string | Isochrones: "walk" (default) or "drive". |
| unit | string | "km" (default) or "mi". |
| merge | boolean | Merge overlapping catchments into one area. |
| title | string | The map's title. |
| method | string | "basic" (default): straight-line distance. "isochrone": distance along roads. |
| address | string | A place to measure from, e.g. "1 Martin Place, Sydney". Send this or `origins`. |
| country | string | The address's country. |
| origins | array | Points ({ lat, lon }) or GeoJSON geometries to measure from: up to 1,000, or 100 for isochrones. A polygon grows outward from its edge. |
Save a map made with create_map and get publish_url: it opens the map in Vizzie, signed in, with the publish dialog open, so one click gives a public link to share. Needs the person to sign in to Vizzie (free).
| Argument | Type | Description |
|---|---|---|
| map* | string | The map's `token` or `map_url`, from create_map. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"map"
],
"properties": {
"map": {
"type": "string",
"description": "The map's `token` or `map_url`, from create_map."
}
}
}Given a column of area codes (e.g. LSOA, SA2, census tract, LGA, NUTS), say which geography level and vintage they are, what share match, and whether Vizzie can provide the boundaries. Checks every code, not a sample.
| Argument | Type | Description |
|---|---|---|
| codes* | array | The area codes, up to 5,000. |
| country | string | Two-letter country code, e.g. "AU", "US", "GB". |
| column_name | string | The column's name, which helps tell similar code systems apart. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"codes"
],
"properties": {
"codes": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5000,
"description": "The area codes, up to 5,000."
},
"country": {
"type": "string",
"description": "Two-letter country code, e.g. \"AU\", \"US\", \"GB\"."
},
"column_name": {
"type": "string",
"description": "The column's name, which helps tell similar code systems apart."
}
}
}Keep a map made with create_map in the person's Vizzie account, so it doesn't expire after 30 days and is listed on their projects page. It counts as one of their plan's projects. Needs the person to sign in to Vizzie (free); the first call starts the sign-in.
| Argument | Type | Description |
|---|---|---|
| map* | string | The map's `token` or `map_url`, from create_map. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"map"
],
"properties": {
"map": {
"type": "string",
"description": "The map's `token` or `map_url`, from create_map."
}
}
}Find open government datasets and census maps about a topic in a place, across hundreds of national, state and city data portals. Returns each dataset's licence (with how sure it is), whether Vizzie can map it, and a link to open it in Vizzie; census topics come first as ready-made map links. The place resolves most reliably with its country code.
| Argument | Type | Description |
|---|---|---|
| limit | integer | |
| place | string | A suburb, city, county or region, e.g. "Fitzroy VIC", "Seattle WA". |
| query* | string | What the data is about, e.g. "street trees", "median rent", "bike lanes". |
| country | string | Two-letter country code, e.g. "AU", "US", "GB". |
| licence | string | "open" (default) hides datasets whose licence Vizzie may not pass on. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"query"
],
"properties": {
"limit": {
"type": "integer",
"maximum": 50,
"minimum": 1
},
"place": {
"type": "string",
"description": "A suburb, city, county or region, e.g. \"Fitzroy VIC\", \"Seattle WA\"."
},
"query": {
"type": "string",
"description": "What the data is about, e.g. \"street trees\", \"median rent\", \"bike lanes\"."
},
"country": {
"type": "string",
"description": "Two-letter country code, e.g. \"AU\", \"US\", \"GB\"."
},
"licence": {
"enum": [
"open",
"any"
],
"type": "string",
"description": "\"open\" (default) hides datasets whose licence Vizzie may not pass on."
}
}
}We read every tool's name, description and inputs the way the model will, looking for instructions hidden from you. A clean result means no warning signs, not a guarantee. Scanned Nov 26, 2026.
| census: the place, e.g. "Colorado", "Denver CO". |
| style | object | Send only what changes. |
| title | string | The map's title, or with `layer` that layer's name in the key. |
| topic | string | census: the topic, e.g. "median rent". |
| country | string | census: the place's country. |
| visible | boolean |
| geography | object | rows: the boundary level, if known (resolve_geography). |
| add_layers | array | New layers, put on top, first one topmost. |
| code_column | string | rows: the column holding area codes. |
| legend_title | string | What the colours measure, in the key, e.g. "Median rent, $ a month". |
| value_column | string | rows: the numeric column to shade by. |
| remove_layers | array | Ids of layers to take off. |
| update_layers | array | Changes to several layers at once. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"map"
],
"properties": {
"map": {
"type": "string",
"description": "The map's `token` or `map_url`, from create_map."
},
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country."
},
"note": {
"type": "string",
"description": "A line in the key saying what to see (up to 120 characters)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
},
"maxItems": 5000,
"description": "rows: the table, one object per area."
},
"layer": {
"type": "string",
"description": "The id (from `layers`) of the layer the other fields change. A map of one layer doesn't need it."
},
"level": {
"type": "string",
"description": "census: a level to draw at, from the `levels` a census result lists (e.g. \"SA2\", \"COUNTY\", \"TRACT\", \"LSOA\"). Left out, Vizzie chooses."
},
"order": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"description": "Every layer's id, top first."
},
"place": {
"type": "string",
"description": "census: the place, e.g. \"Colorado\", \"Denver CO\"."
},
"style": {
"type": "object",
"properties": {
"ramp": {
"enum": [
"viridis",
"cividis",
"blues",
"greens",
"magma",
"cool-warm",
"blue-red",
"teal-brown"
],
"type": "string"
},
"breaks": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 9,
"minItems": 1,
"description": "The values the classes change at, low to high: four breaks make five classes."
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2,
"description": "A two-colour gradient, low to high, e.g. [\"#f1eef6\", \"#810f7c\"]. Wins over ramp."
},
"classes": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "How many classes, cut where the data separates."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0.1
},
"reverse": {
"type": "boolean"
},
"classify": {
"enum": [
"continuous",
"natural-breaks",
"fixed"
],
"type": "string"
}
},
"description": "Send only what changes."
},
"title": {
"type": "string",
"description": "The map's title, or with `layer` that layer's name in the key."
},
"topic": {
"type": "string",
"description": "census: the topic, e.g. \"median rent\"."
},
"country": {
"type": "string",
"description": "census: the place's country."
},
"visible": {
"type": "boolean"
},
"geography": {
"type": "object",
"required": [
"country",
"level"
],
"properties": {
"level": {
"type": "string"
},
"country": {
"type": "string"
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "rows: the boundary level, if known (resolve_geography)."
},
"add_layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"source"
],
"properties": {
"ref": {
"type": "string",
"description": "rows: the `ref` of the dataset the rows came from, if they came from one."
},
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country."
},
"note": {
"type": "string",
"description": "A line in the key saying what to see (up to 120 characters)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
},
"maxItems": 5000,
"description": "rows: the table, one object per area."
},
"level": {
"type": "string",
"description": "census: a level to draw at, from the `levels` a census result lists (e.g. \"SA2\", \"COUNTY\", \"TRACT\", \"LSOA\"). Left out, Vizzie chooses."
},
"place": {
"type": "string",
"description": "census: the place, e.g. \"Colorado\", \"Denver CO\"."
},
"style": {
"type": "object",
"properties": {
"ramp": {
"enum": [
"viridis",
"cividis",
"blues",
"greens",
"magma",
"cool-warm",
"blue-red",
"teal-brown"
],
"type": "string"
},
"breaks": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 9,
"minItems": 1,
"description": "The values the classes change at, low to high: four breaks make five classes."
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2,
"description": "A two-colour gradient, low to high, e.g. [\"#f1eef6\", \"#810f7c\"]. Wins over ramp."
},
"classes": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "How many classes, cut where the data separates."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0.1
},
"reverse": {
"type": "boolean"
},
"classify": {
"enum": [
"continuous",
"natural-breaks",
"fixed"
],
"type": "string"
}
},
"description": "Send only what changes."
},
"title": {
"type": "string",
"description": "The layer's name in the key."
},
"topic": {
"type": "string",
"description": "census: the topic, e.g. \"median rent\"."
},
"source": {
"enum": [
"census",
"rows"
],
"type": "string"
},
"country": {
"type": "string",
"description": "census: the place's country."
},
"visible": {
"type": "boolean",
"description": "false adds it switched off."
},
"geography": {
"type": "object",
"required": [
"country",
"level"
],
"properties": {
"level": {
"type": "string"
},
"country": {
"type": "string"
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "rows: the boundary level, if known (resolve_geography)."
},
"code_column": {
"type": "string",
"description": "rows: the column holding area codes."
},
"legend_title": {
"type": "string",
"description": "What the colours measure, in the key, e.g. \"Median rent, $ a month\"."
},
"value_column": {
"type": "string",
"description": "rows: the numeric column to shade by."
}
}
},
"maxItems": 5,
"description": "New layers, put on top, first one topmost."
},
"code_column": {
"type": "string",
"description": "rows: the column holding area codes."
},
"legend_title": {
"type": "string",
"description": "What the colours measure, in the key, e.g. \"Median rent, $ a month\"."
},
"value_column": {
"type": "string",
"description": "rows: the numeric column to shade by."
},
"remove_layers": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 5,
"description": "Ids of layers to take off."
},
"update_layers": {
"type": "array",
"items": {
"type": "object",
"required": [
"layer"
],
"properties": {
"bbox": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 4,
"minItems": 4,
"description": "census: [west, south, east, north] instead of a place's own extent, e.g. a metro wider than its city. Needs country."
},
"note": {
"type": "string",
"description": "A line in the key saying what to see (up to 120 characters)."
},
"rows": {
"type": "array",
"items": {
"type": "object",
"propertyNames": {
"type": "string"
},
"additionalProperties": {
"type": [
"string",
"number",
"null"
]
}
},
"maxItems": 5000,
"description": "rows: the table, one object per area."
},
"layer": {
"type": "string",
"description": "The layer's id."
},
"level": {
"type": "string",
"description": "census: a level to draw at, from the `levels` a census result lists (e.g. \"SA2\", \"COUNTY\", \"TRACT\", \"LSOA\"). Left out, Vizzie chooses."
},
"place": {
"type": "string",
"description": "census: the place, e.g. \"Colorado\", \"Denver CO\"."
},
"style": {
"type": "object",
"properties": {
"ramp": {
"enum": [
"viridis",
"cividis",
"blues",
"greens",
"magma",
"cool-warm",
"blue-red",
"teal-brown"
],
"type": "string"
},
"breaks": {
"type": "array",
"items": {
"type": "number"
},
"maxItems": 9,
"minItems": 1,
"description": "The values the classes change at, low to high: four breaks make five classes."
},
"colors": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 2,
"minItems": 2,
"description": "A two-colour gradient, low to high, e.g. [\"#f1eef6\", \"#810f7c\"]. Wins over ramp."
},
"classes": {
"type": "integer",
"maximum": 10,
"minimum": 2,
"description": "How many classes, cut where the data separates."
},
"opacity": {
"type": "number",
"maximum": 1,
"minimum": 0.1
},
"reverse": {
"type": "boolean"
},
"classify": {
"enum": [
"continuous",
"natural-breaks",
"fixed"
],
"type": "string"
}
},
"description": "Send only what changes."
},
"title": {
"type": "string",
"description": "The layer's name in the key."
},
"topic": {
"type": "string",
"description": "census: the topic, e.g. \"median rent\"."
},
"country": {
"type": "string",
"description": "census: the place's country."
},
"visible": {
"type": "boolean",
"description": "false adds it switched off."
},
"geography": {
"type": "object",
"required": [
"country",
"level"
],
"properties": {
"level": {
"type": "string"
},
"country": {
"type": "string"
},
"vintage": {
"type": "integer",
"maximum": 9007199254740991,
"minimum": -9007199254740991
}
},
"description": "rows: the boundary level, if known (resolve_geography)."
},
"code_column": {
"type": "string",
"description": "rows: the column holding area codes."
},
"legend_title": {
"type": "string",
"description": "What the colours measure, in the key, e.g. \"Median rent, $ a month\"."
},
"value_column": {
"type": "string",
"description": "rows: the numeric column to shade by."
}
}
},
"maxItems": 5,
"description": "Changes to several layers at once."
}
}
}| distance* | number | How far: 0.1–10 km or 0.1–5 mi. |
{
"type": "object",
"$schema": "http://json-schema.org/draft-07/schema#",
"required": [
"distance"
],
"properties": {
"map": {
"type": "boolean",
"description": "Also make a map link (default true)."
},
"mode": {
"enum": [
"walk",
"drive"
],
"type": "string",
"description": "Isochrones: \"walk\" (default) or \"drive\"."
},
"unit": {
"enum": [
"km",
"mi"
],
"type": "string",
"description": "\"km\" (default) or \"mi\"."
},
"merge": {
"type": "boolean",
"description": "Merge overlapping catchments into one area."
},
"title": {
"type": "string",
"description": "The map's title."
},
"method": {
"enum": [
"basic",
"isochrone"
],
"type": "string",
"description": "\"basic\" (default): straight-line distance. \"isochrone\": distance along roads."
},
"address": {
"type": "string",
"description": "A place to measure from, e.g. \"1 Martin Place, Sydney\". Send this or `origins`."
},
"country": {
"type": "string",
"description": "The address's country."
},
"origins": {
"type": "array",
"items": {
"anyOf": [
{
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"lat": {
"type": "number"
},
"lon": {
"type": "number"
},
"label": {
"type": "string"
}
}
},
{
"type": "object",
"required": [
"type",
"coordinates"
],
"properties": {
"type": {
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon"
],
"type": "string"
},
"label": {
"type": "string"
},
"coordinates": {
"type": "array",
"items": {}
}
}
}
]
},
"maxItems": 1000,
"description": "Points ({ lat, lon }) or GeoJSON geometries to measure from: up to 1,000, or 100 for isochrones. A polygon grows outward from its edge."
},
"distance": {
"type": "number",
"description": "How far: 0.1–10 km or 0.1–5 mi."
}
}
}