changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "$schema": "http://json-schema.org/draft-07/schema#",
+ "additionalProperties": {},
+ "description": "Fiber-route intelligence as a GeoJSON FeatureCollection (carrier, route_type, capacity, distance per feature) — alongside the DC Hub envelope keys.",
+ "properties": {
+ "_entity": {
+ "description": "Payload class discriminator (e.g. facility|market|iso_grid|queue_results|deal|report|response) — branch on this before parsing the rest.",
+ "type": "string"
+ },
+ "_front_door": {
+ "additionalProperties": {},
+ "description": "In-band front-door hint (first workflow-entry tool of a session): call plan_query(intent) first for the ordered multi-step plan.",
+ "properties": {},
+ "type": "object"
+ },
+ "_return_loop": {
+ "additionalProperties": {},
+ "description": "Suggested next-session delta call (get_changes since=24h) so you pull only what changed.",
+ "properties": {},
+ "type": "object"
+ },
+ "citation": {
+ "additionalProperties": {},
+ "description": "Machine-readable citation: how to attribute DC Hub (dchub.cloud) for this payload.",
+ "properties": {},
+ "type": "object"
+ },
+ "features": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": {},
+ "properties": {
+ "geometry": {
+ "description": "GeoJSON geometry (LineString/MultiLineString route path)"
+ },
+ "properties": {
+ "anyOf": [
+ {
+ "additionalProperties": {},
+ "properties": {
+ "capacity": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Capacity (carrier-reported units) when known"
+ },
+ "carrier": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fiber carrier, e.g. Zayo, Lumen, Cogent"
+ },
+ "distance_km": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Route length, km"
+ },
+ "distance_miles": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Route length, miles"
+ },
+ "fiber_count": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fiber strand count when known"
+ },
+ "lit_capacity_gbps": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Lit capacity, Gbps, when known"
+ },
+ "route_type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "metro | longhaul | dark | ix"
+ }
+ },
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Route attributes"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "\"Feature\""
+ }
+ },
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Fiber route features"
+ },
+ "provenance": {
+ "additionalProperties": {},
+ "description": "Collection-level provenance block: {source, method, as_of, verification_counts, cite_url_template, license, cite_as}. Quote the verification level when citing.",
+ "properties": {},
+ "type": "object"
+ },
+ "quota": {
+ "additionalProperties": {},
+ "description": "Caller quota state (remaining calls, tier) when available.",
+ "properties": {},
+ "type": "object"
+ },
+ "site_evaluation_handoff": {
+ "anyOf": [
+ {
+ "items": {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ },
+ "type": "array"
+ },
+ {
+ "additionalProperties": {},
+ "properties": {},
+ "type": "object"
+ }
+ ],
+ "description": "Pre-built follow-up calls (analyze_site / get_water_risk args) when the payload carries coordinates — an array of {tool, parameters, why} entries."
+ },
+ "total": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "type": "number"
+ },
+ {
+ "type": "string"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Total routes matching the filter (null when withheld by tier)"
+ },
+ "type": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "\"FeatureCollection\" — the payload is GeoJSON, ready for Leaflet/Mapbox"
+ }
+ },
+ "type": "object"
+}