Resolve coordinates and geographic identifiers to loc_id, crosswalks, and bounded shapes.
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.
Compare two known loc_ids using selected reference-graph identity and direct relationship evidence. Verified Admin ancestry can prove containment; a typed graph edge can prove only the relation it declares. An explicit negative edge returns no_overlap; a missing edge returns unknown. This tool never reads polygons or computes shape intersections. Use an external identifier bridge before this call when the input is not a loc_id. No payment required.
ISO date or year applied to both identities.
Bounded geography pairs to compare in one call.
Optional caller-supplied batch id for tracing.
Optional ISO date or year for the left identity; overrides as_of.
Optional caller-supplied request id for tracing.
First DaedalMap loc_id.
Optional ISO date or year for the right identity; overrides as_of.
Second DaedalMap loc_id.
Include direct successors and present-day descendants for maintained historical identities. Default true.
Compare two known loc_ids using selected reference-graph identity and direct relationship evidence. Verified Admin ancestry can prove containment; a typed graph edge can prove only the relation it declares. An explicit negative edge returns no_overlap; a missing edge returns unknown. This tool never reads polygons or computes shape intersections. Use an external identifier bridge before this call when the input is not a loc_id. No payment required.
| Argument | Type | Description |
|---|---|---|
| as_of | string | ISO date or year applied to both identities. |
| items | array | Bounded geography pairs to compare in one call. |
| batch_id | string | Optional caller-supplied batch id for tracing. |
| left_as_of | string | Optional ISO date or year for the left identity; overrides as_of. |
| request_id | string | Optional caller-supplied request id for tracing. |
| left_loc_id | string | First DaedalMap loc_id. |
| right_as_of | string | Optional ISO date or year for the right identity; overrides as_of. |
| right_loc_id | string | Second DaedalMap loc_id. |
| include_successors | boolean | Include direct successors and present-day descendants for maintained historical identities. Default true. |
{
"type": "object",
"oneOf": [
{
"required": [
"left_loc_id",
"right_loc_id"
]
},
{
"required": [
"items"
]
}
],
"properties": {
"as_of": {
"type": "string",
"description": "ISO date or year applied to both identities."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"left_loc_id",
"right_loc_id"
],
"properties": {
"id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"as_of": {
"type": "string"
},
"row_index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"left_as_of": {
"type": "string"
},
"left_loc_id": {
"type": "string",
"minLength": 1
},
"right_as_of": {
"type": "string"
},
"right_loc_id": {
"type": "string",
"minLength": 1
},
"include_successors": {
"type": "boolean"
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Bounded geography pairs to compare in one call."
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id for tracing."
},
"left_as_of": {
"type": "string",
"description": "Optional ISO date or year for the left identity; overrides as_of."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
},
"left_loc_id": {
"type": "string",
"minLength": 1,
"description": "First DaedalMap loc_id."
},
"right_as_of": {
"type": "string",
"description": "Optional ISO date or year for the right identity; overrides as_of."
},
"right_loc_id": {
"type": "string",
"minLength": 1,
"description": "Second DaedalMap loc_id."
},
"include_successors": {
"type": "boolean",
"description": "Include direct successors and present-day descendants for maintained historical identities. Default true."
}
},
"additionalProperties": false
}Convert within one declared scope per call: iso3 is required and names one ISO3 country, GLOBAL, or MARINE. A batch uses one from_system, to_system, and crosswalk_id, with at most 25000 requested result rows. Convert X -> loc_id -> Y; omit to_system to enter the loc_id universe. For admin or city names use from_system admin_boundary with a country_hint inside the declared country. A published direct crosswalk uses one selected artifact; if the system pair has multiple artifacts, supply crosswalk_id from the typed ambiguity error. An exact miss ends on that artifact. Use get_geography when family or scope coverage is unknown. The tools/list access metadata states authored free, account, and paid item allowances; active operator policy may waive payment.
| Argument | Type | Description |
|---|---|---|
| iso3 | string | Required scope pack for the entire call: one ISO3 country, GLOBAL, or MARINE. Every item must stay within this scope. |
| as_of | string | ISO date or year used for time-bounded identities. |
| items | array | Reference conversions within one scope and one source/target/crosswalk route. Split mixed routes. Maximum requested item count times per-item limit is 25000. |
| limit | integer | Maximum ranked output references to return. Default 10. |
| value | string | Identifier or name in the input system, for example 'Springfield, Illinois' with admin_boundary. |
| batch_id |
Choose data or geometry to list published pack IDs or family and scope IDs. The response includes a complete catalog download URL. Use get_pack for data or get_geography for geometry. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.
| Argument | Type | Description |
|---|---|---|
| catalog* | string | Required directory selector. |
{
"type": "object",
"required": [
"catalog"
],
"properties": {
"catalog": {
"enum": [
"data",
"geometry"
],
"type": "string",
"description": "Required directory selector."
}
},
"additionalProperties": false
}Inspect one published geometry family across scopes or one scope across families. Returns coverage and known editions from catalog metadata only. Optional year selects the latest admitted edition no later than that year when the selected catalog has an edition index; an unavailable index is reported explicitly.
| Argument | Type | Description |
|---|---|---|
| year | integer | |
| scope_id | string | |
| family_id | string |
{
"type": "object",
"oneOf": [
{
"required": [
"family_id"
]
},
{
"required": [
"scope_id"
]
}
],
"properties": {
"year": {
"type": "integer",
"maximum": 9999,
"minimum": 1
},
"scope_id": {
"type": "string",
"minLength": 3
},
"family_id": {
"type": "string",
"minLength": 1
}
},
"additionalProperties": false
}Look up one known loc_id or a small batch in the selected reference graph. Return its identity and directly recorded loc_id connections, with family, direction, and relationship evidence. Each ID returns at most 50 connections and an explicit has_more flag. This tool does not expand descendants, infer containment, read shapes, search catalogs, or consult external adapters. No payment required.
| Argument | Type | Description |
|---|---|---|
| loc_id | string | DaedalMap loc_id, e.g. 'USA-CA'. |
| loc_ids | array | Up to 10 known loc_ids, including a resolve_point stack. |
| batch_id | string | Optional caller-supplied batch id for tracing. |
| request_id | string | Optional caller-supplied request id for tracing. |
{
"type": "object",
"oneOf": [
{
"required": [
"loc_id"
]
},
{
"required": [
"loc_ids"
]
}
],
"properties": {
"loc_id": {
"type": "string",
"description": "DaedalMap loc_id, e.g. 'USA-CA'."
},
"loc_ids": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 10,
"minItems": 1,
"description": "Up to 10 known loc_ids, including a resolve_point stack."
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id for tracing."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
}
},
"additionalProperties": false
}Inspect one exact data pack ID for its metrics, time coverage, and query metadata before get_data.
| Argument | Type | Description |
|---|---|---|
| pack_id* | string | Pack identifier from get_catalog. Newly catalog-admitted packs require no MCP schema change. |
{
"type": "object",
"required": [
"pack_id"
],
"properties": {
"pack_id": {
"type": "string",
"description": "Pack identifier from get_catalog. Newly catalog-admitted packs require no MCP schema change."
}
},
"additionalProperties": false
}Shape lookup for exact existing loc_ids only. The default returns shape availability, centroid, and bounding box; include_polygon=true adds GeoJSON coordinates. Obtain any descendant IDs before this call. Historical geometry is returned first and successors are never substituted automatically. Year selection is not yet supported.
| Argument | Type | Description |
|---|---|---|
| loc_id | string | DaedalMap loc_id, such as USA-CA-037, USA-Z-00601, USA-NWSFZ-AKZ317, EEZ-USA, or IHO1953-240001002. |
| loc_ids | array | Exact DaedalMap loc_ids to fetch in one call. Default public cap is deployment-configurable and lower when include_polygon is true. |
| batch_id | string | Optional caller-supplied batch id for tracing. |
| request_id | string | Optional caller-supplied request id for tracing. |
| include_polygon | boolean | When true, include the full GeoJSON geometry. Default false. |
{
"type": "object",
"oneOf": [
{
"required": [
"loc_id"
]
},
{
"required": [
"loc_ids"
]
}
],
"properties": {
"loc_id": {
"type": "string",
"description": "DaedalMap loc_id, such as USA-CA-037, USA-Z-00601, USA-NWSFZ-AKZ317, EEZ-USA, or IHO1953-240001002."
},
"loc_ids": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "Exact DaedalMap loc_ids to fetch in one call. Default public cap is deployment-configurable and lower when include_polygon is true.",
"uniqueItems": true
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id for tracing."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
},
"include_polygon": {
"type": "boolean",
"description": "When true, include the full GeoJSON geometry. Default false."
}
},
"additionalProperties": false
}Describe one tool visible on this facade, including its exact contract, or return a bounded workflow overview for one supported topic.
| Argument | Type | Description |
|---|---|---|
| topic | string | Workflow overview. Do not combine with tool_name. |
| question | string | Optional question used only with a topic overview. |
| tool_name | string | Exact tool name from tools/list. Do not combine with topic. |
{
"type": "object",
"oneOf": [
{
"not": {
"required": [
"topic"
]
},
"required": [
"tool_name"
]
},
{
"not": {
"required": [
"tool_name"
]
},
"required": [
"topic"
]
}
],
"properties": {
"topic": {
"enum": [
"overview",
"data",
"disasters",
"custom_data",
"geometry"
],
"type": "string",
"description": "Workflow overview. Do not combine with tool_name."
},
"question": {
"type": "string",
"description": "Optional question used only with a topic overview."
},
"tool_name": {
"type": "string",
"description": "Exact tool name from tools/list. Do not combine with topic."
}
},
"additionalProperties": false
}Fast structural column selector: pass bounded named columns to find recognized geography headers or latitude/longitude pairs. It does not infer a country, level, or identifier system, open country indexes, or validate values. If more than one column is plausible, select one; then call identify_reference_system with the selected identifier column and one country_scope. No payment required.
| Argument | Type | Description |
|---|---|---|
| columns* | array | Structurally filtered columns with deterministic representative scalar values. Do not pre-label their geographic system. |
| request_id | string | |
| country_scope | string | Optional caller-declared ISO3 country, passed through to the selected column. |
| dataset_context | object |
{
"type": "object",
"required": [
"columns"
],
"properties": {
"columns": {
"type": "array",
"items": {
"type": "object",
"required": [
"name",
"values"
],
"properties": {
"name": {
"type": "string"
},
"values": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 32
},
"nonempty_count": {
"type": "integer",
"minimum": 0
}
},
"additionalProperties": false
},
"maxItems": 64,
"minItems": 1,
"description": "Structurally filtered columns with deterministic representative scalar values. Do not pre-label their geographic system."
},
"request_id": {
"type": "string"
},
"country_scope": {
"type": "string",
"description": "Optional caller-declared ISO3 country, passed through to the selected column."
},
"dataset_context": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"row_count": {
"type": "integer",
"minimum": 0
},
"sheet_name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false
}Identify one selected identifier column within one required ISO3 country, GLOBAL, or MARINE scope. Pass bounded strings preserving leading zeros. It checks maintained identifier evidence, not dataset columns or polygons. Ambiguous systems stay unselected until expected.system is supplied. Use identify_dataset_geography first when the column is unknown. No payment required.
| Argument | Type | Description |
|---|---|---|
| expected | object | |
| identifier | string | One geography identifier to inspect. |
| request_id | string | Optional caller-supplied request id for tracing. |
| identifiers | array | A bounded representative identifier sample. Duplicate values are checked once. Values must be strings so leading zeros are preserved. |
| country_scope* | string | Required single ISO3 country, GLOBAL, or MARINE scope. Missing scope fails before identifier reads. |
| dataset_context | object | Bounded, non-row dataset clues used to rank plausible interpretations without replacing exact identifier verification. |
| validation_scope | string | Describes whether the bounded input is a sample or, only when it fits the identification cap, the complete distinct-key set. This tool validates every supplied identifier; create_conversion_job validates every row in the full dataset. |
Second-pass containment only after resolve_point. Supply the original WGS84 coordinate or a bounded point array, one shared shallow_loc_id returned by resolve_point, and one canonical family from get_catalog(catalog='geometry'). family defaults to administrative; shape-backed families use direct bbox-to-exact-shape lookup without crosswalks. Single and bulk requests share this scoped contract. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.
| Argument | Type | Description |
|---|---|---|
| lat | number | Latitude in WGS84 decimal degrees. |
| lon | number | Longitude in WGS84 decimal degrees. |
| family | string | One family selector. Defaults to administrative; use marine for the direct Marine resolver, or a canonical country family such as postal_area, watershed, or land_management_region. |
| points | array | Points already known to fall within the supplied shallow_loc_id scope. |
| batch_id | string | Optional caller-supplied batch id echoed for point arrays. |
| request_id | string |
Primary entry for a bare WGS84 coordinate or bounded point array. Finds the country and returns the deepest available shallow administrative loc_id chain: the global baseline reaches Admin 2, while adopted country query banks may reach Admin 3. Carry its country and loc_ids into later place-specific calls. It does not open deep partitions or side-family shape banks. Use a returned shallow loc_id with resolve_deep_point for Admin 4-6 or one explicit family. Single and bulk requests share this contract; access limits are based on point count. Current catalog: The same geography tools work worldwide across a cataloged baseline of 252 geographic entities, reaching up to Admin 2. Where additional country releases are available, the same calls automatically return deeper administrative tiers or maintained reference families. Additional detail is currently available for Australia, Brazil, Canada, France, Germany, Mexico, United Kingdom, United States.
| Argument | Type | Description |
|---|---|---|
| lat | number | Latitude in WGS84 decimal degrees. |
| lon | number | Longitude in WGS84 decimal degrees. |
| points | array | Bounded WGS84 point array. Use top-level lat/lon instead for one point. |
| batch_id | string | Optional caller-supplied batch id echoed for point arrays. |
| request_id | string | Optional caller-supplied request id for tracing. |
| string |
| Optional caller-supplied batch id for tracing. |
| min_share | number | Optional minimum overlap share threshold. |
| to_system | string | Optional output reference system. Defaults to DaedalMap loc_id; provide zcta, nws_fire, overlay_nws_public_zone, overlay_tribal, admin_local, or another catalog system for any-to-any conversion. |
| request_id | string | Optional caller-supplied request id for tracing. |
| from_system | string | Input reference system, such as admin_boundary (admin and city names; admin_text and place_name are accepted aliases), zip, overlay_zcta, nws_fire, tribal, or loc_id. |
| country_hint | string | Optional country hint for admin/name resolution (USA), or a subdivision to search within (USA-OR). Names may also carry their parent: 'Washington County, Oregon'. Ambiguous names return candidates instead of a match. |
| crosswalk_id | string | Exact published crosswalk ID when the source/target system pair has multiple artifacts. A route ambiguity error lists valid IDs. |
| admin_level_hint | integer | Optional admin-level hint for admin/name resolution. |
| target_admin_level | any | Admin level used as the intermediate crosswalk target. Default admin_2. |
| relationship_vintage | string | Optional source relationship vintage to require. |
{
"type": "object",
"anyOf": [
{
"required": [
"iso3",
"from_system",
"value"
]
},
{
"required": [
"iso3",
"items"
]
}
],
"properties": {
"iso3": {
"type": "string",
"minLength": 3,
"description": "Required scope pack for the entire call: one ISO3 country, GLOBAL, or MARINE. Every item must stay within this scope."
},
"as_of": {
"type": "string",
"description": "ISO date or year used for time-bounded identities."
},
"items": {
"type": "array",
"items": {
"type": "object",
"required": [
"value"
],
"properties": {
"id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Optional caller identifier echoed in the result."
},
"iso3": {
"type": "string",
"description": "Optional repeat of the top-level scope; must match it. Split mixed countries or packs into separate calls."
},
"as_of": {
"type": "string",
"description": "ISO date or year used for time-bounded identities."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum ranked output references for this row."
},
"value": {
"type": "string",
"description": "Identifier or name in the input system."
},
"min_share": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Optional minimum overlap share threshold for this row."
},
"row_index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
],
"description": "Optional caller row identifier echoed in the result."
},
"to_system": {
"type": "string",
"description": "Output reference system for this row. Defaults to top-level to_system when omitted."
},
"from_system": {
"type": "string",
"description": "Input reference system for this row. Defaults to top-level from_system when omitted."
},
"country_hint": {
"type": "string",
"description": "Optional country hint for admin/name resolution (USA), or a subdivision to search within (USA-OR). Names may also carry their parent: 'Washington County, Oregon'. Ambiguous names return candidates instead of a match."
},
"crosswalk_id": {
"type": "string",
"description": "Exact published crosswalk ID when the source/target system pair has multiple artifacts."
},
"admin_level_hint": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "Optional admin-level hint for admin/name resolution."
},
"target_admin_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "Optional intermediate admin target level for this row."
},
"relationship_vintage": {
"type": "string",
"description": "Optional relationship vintage for this row."
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Reference conversions within one scope and one source/target/crosswalk route. Split mixed routes. Maximum requested item count times per-item limit is 25000."
},
"limit": {
"type": "integer",
"maximum": 100,
"minimum": 1,
"description": "Maximum ranked output references to return. Default 10."
},
"value": {
"type": "string",
"description": "Identifier or name in the input system, for example 'Springfield, Illinois' with admin_boundary."
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id for tracing."
},
"min_share": {
"type": "number",
"maximum": 1,
"minimum": 0,
"description": "Optional minimum overlap share threshold."
},
"to_system": {
"type": "string",
"default": "daedalmap.loc_id",
"description": "Optional output reference system. Defaults to DaedalMap loc_id; provide zcta, nws_fire, overlay_nws_public_zone, overlay_tribal, admin_local, or another catalog system for any-to-any conversion."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
},
"from_system": {
"type": "string",
"description": "Input reference system, such as admin_boundary (admin and city names; admin_text and place_name are accepted aliases), zip, overlay_zcta, nws_fire, tribal, or loc_id."
},
"country_hint": {
"type": "string",
"description": "Optional country hint for admin/name resolution (USA), or a subdivision to search within (USA-OR). Names may also carry their parent: 'Washington County, Oregon'. Ambiguous names return candidates instead of a match."
},
"crosswalk_id": {
"type": "string",
"description": "Exact published crosswalk ID when the source/target system pair has multiple artifacts. A route ambiguity error lists valid IDs."
},
"admin_level_hint": {
"type": "integer",
"maximum": 6,
"minimum": 0,
"description": "Optional admin-level hint for admin/name resolution."
},
"target_admin_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "Admin level used as the intermediate crosswalk target. Default admin_2."
},
"relationship_vintage": {
"type": "string",
"description": "Optional source relationship vintage to require."
}
},
"additionalProperties": false
}{
"type": "object",
"anyOf": [
{
"required": [
"identifier"
]
},
{
"required": [
"identifiers"
]
}
],
"required": [
"country_scope"
],
"properties": {
"expected": {
"type": "object",
"properties": {
"system": {
"type": "string",
"description": "Caller-declared reference system, such as us_census_geoid, loc_id, zcta, or a catalog reference system. Supply it immediately when known, or after choosing an identification result."
},
"vintage": {
"type": "string",
"description": "Expected source/reference vintage, such as 2020."
},
"geo_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "Expected geography level, such as tract or admin_3."
},
"country_scope": {
"type": "string",
"description": "Expected ISO3 country scope."
}
},
"additionalProperties": false
},
"identifier": {
"type": "string",
"description": "One geography identifier to inspect."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
},
"identifiers": {
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"description": "A bounded representative identifier sample. Duplicate values are checked once. Values must be strings so leading zeros are preserved."
},
"country_scope": {
"type": "string",
"description": "Required single ISO3 country, GLOBAL, or MARINE scope. Missing scope fails before identifier reads."
},
"dataset_context": {
"type": "object",
"properties": {
"file_name": {
"type": "string"
},
"sheet_name": {
"type": "string"
},
"column_name": {
"type": "string"
},
"column_names": {
"type": "array",
"items": {
"type": "string"
},
"maxItems": 1000
},
"row_geography": {
"type": "string",
"description": "Optional plain-language clue such as county, tract, or ZIP area."
},
"local_format_match_rate": {
"type": "number",
"maximum": 1,
"minimum": 0
}
},
"description": "Bounded, non-row dataset clues used to rank plausible interpretations without replacing exact identifier verification.",
"additionalProperties": false
},
"validation_scope": {
"enum": [
"sample",
"all_distinct_identifiers"
],
"type": "string",
"description": "Describes whether the bounded input is a sample or, only when it fits the identification cap, the complete distinct-key set. This tool validates every supplied identifier; create_conversion_job validates every row in the full dataset."
}
},
"additionalProperties": false
}| Optional caller-supplied request id for tracing. |
| shallow_loc_id* | string | The deepest canonical Admin 1-3 loc_id returned by resolve_point, such as USA-NY-061-009903. |
| target_admin_level | any | Optional exact Admin 4-6 level. Omit for the deepest available match. |
{
"type": "object",
"oneOf": [
{
"not": {
"required": [
"points"
]
},
"required": [
"lat",
"lon"
]
},
{
"not": {
"anyOf": [
{
"required": [
"lat"
]
},
{
"required": [
"lon"
]
}
]
},
"required": [
"points"
]
}
],
"required": [
"shallow_loc_id"
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in WGS84 decimal degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in WGS84 decimal degrees."
},
"family": {
"type": "string",
"default": "administrative",
"pattern": "^[a-z0-9_]+$",
"description": "One family selector. Defaults to administrative; use marine for the direct Marine resolver, or a canonical country family such as postal_area, watershed, or land_management_region."
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"row_index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Points already known to fall within the supplied shallow_loc_id scope."
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id echoed for point arrays."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
},
"shallow_loc_id": {
"type": "string",
"minLength": 5,
"description": "The deepest canonical Admin 1-3 loc_id returned by resolve_point, such as USA-NY-061-009903."
},
"target_admin_level": {
"anyOf": [
{
"type": "string"
},
{
"type": "integer"
}
],
"description": "Optional exact Admin 4-6 level. Omit for the deepest available match."
}
},
"additionalProperties": false
}{
"type": "object",
"oneOf": [
{
"not": {
"required": [
"points"
]
},
"required": [
"lat",
"lon"
]
},
{
"not": {
"anyOf": [
{
"required": [
"lat"
]
},
{
"required": [
"lon"
]
}
]
},
"required": [
"points"
]
}
],
"properties": {
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90,
"description": "Latitude in WGS84 decimal degrees."
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180,
"description": "Longitude in WGS84 decimal degrees."
},
"points": {
"type": "array",
"items": {
"type": "object",
"required": [
"lat",
"lon"
],
"properties": {
"id": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
},
"lat": {
"type": "number",
"maximum": 90,
"minimum": -90
},
"lon": {
"type": "number",
"maximum": 180,
"minimum": -180
},
"row_index": {
"anyOf": [
{
"type": "integer"
},
{
"type": "string"
}
]
}
},
"additionalProperties": false
},
"minItems": 1,
"description": "Bounded WGS84 point array. Use top-level lat/lon instead for one point."
},
"batch_id": {
"type": "string",
"description": "Optional caller-supplied batch id echoed for point arrays."
},
"request_id": {
"type": "string",
"description": "Optional caller-supplied request id for tracing."
}
},
"additionalProperties": false
}