TrafficIncidentResponse
A GeoJSON feature collection object that contains a list of traffic incidents features.
Properties
| Name | Type | Description |
|---|---|---|
| type | object | Specifies the `GeoJSON` type. The only supported object type is `FeatureCollection`. For more information, see [RFC 7946](https://www.rfc-editor.org/rfc/rfc7946). |
| features | array | `GeoJSON` feature object that contains Geometry object and additional properties. Refer to [RFC 7946, Section 3.2](https://www.rfc-editor.org/rfc/rfc7946#section-3.2) for details. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://artifacts.apis.io/microsoft-azure-maps/json-schema/microsoft-azure-maps-traffic-incident-response-schema.json",
"title": "TrafficIncidentResponse",
"description": "A GeoJSON feature collection object that contains a list of traffic incidents\nfeatures.",
"x-generated": "2026-11-12",
"x-method": "derived",
"x-generator": "derive-json-schema.py",
"x-source": "openapi/microsoft-azure-maps-traffic-api-openapi.yml#/components/schemas/TrafficIncidentResponse",
"type": "object",
"properties": {
"type": {
"$ref": "#/$defs/FeatureTypeEnum",
"description": "Specifies the `GeoJSON` type. The only supported object type is\n`FeatureCollection`. For more information, see [RFC\n7946](https://www.rfc-editor.org/rfc/rfc7946)."
},
"features": {
"type": "array",
"description": "`GeoJSON` feature object that contains Geometry object and additional\nproperties. Refer to [RFC 7946, Section\n3.2](https://www.rfc-editor.org/rfc/rfc7946#section-3.2) for details.",
"items": {
"$ref": "#/$defs/TrafficIncidentFeaturesItem"
}
}
},
"$defs": {
"FeatureTypeEnum": {
"type": "string",
"description": "Specifies the `GeoJSON` type. The only supported object type is\n`FeatureCollection`. For more information, see [RFC\n7946](https://www.rfc-editor.org/rfc/rfc7946).",
"enum": [
"FeatureCollection"
],
"x-ms-enum": {
"name": "FeatureTypeEnum",
"modelAsString": true,
"values": [
{
"name": "FeatureCollection",
"value": "FeatureCollection",
"description": "Specifies the `GeoJSON` `FeatureCollection` object type."
}
]
}
},
"FeaturesItemTypeEnum": {
"type": "string",
"description": "Specifies the `GeoJSON` type. The only supported object type is Feature. For\nmore information, see [RFC 7946](https://www.rfc-editor.org/rfc/rfc7946).",
"enum": [
"Feature"
],
"x-ms-enum": {
"name": "FeaturesItemTypeEnum",
"modelAsString": true,
"values": [
{
"name": "Feature",
"value": "Feature",
"description": "Specifies the `GeoJSON` Feature object type."
}
]
}
},
"GeoJsonGeometry": {
"type": "object",
"description": "A valid `GeoJSON` geometry object. The type must be one of the seven valid\nGeoJSON geometry types - Point, MultiPoint, LineString, MultiLineString,\nPolygon, MultiPolygon and GeometryCollection. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1) for details.",
"properties": {
"type": {
"$ref": "#/$defs/GeoJsonObjectType",
"description": "Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object\ntypes - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon,\nGeometryCollection, Feature and FeatureCollection."
},
"bbox": {
"type": "array",
"description": "Bounding box. Projection used - EPSG:3857. Please refer to [RFC 7946](https://datatracker.ietf.org/doc/html/rfc7946#section-5) for details.",
"minItems": 4,
"maxItems": 4,
"items": {
"type": "number",
"format": "double"
}
}
},
"required": [
"type"
]
},
"GeoJsonObjectType": {
"type": "string",
"description": "Specifies the `GeoJSON` type. Must be one of the nine valid GeoJSON object\ntypes - Point, MultiPoint, LineString, MultiLineString, Polygon, MultiPolygon,\nGeometryCollection, Feature and FeatureCollection.",
"enum": [
"Point",
"MultiPoint",
"LineString",
"MultiLineString",
"Polygon",
"MultiPolygon",
"GeometryCollection",
"Feature",
"FeatureCollection"
],
"x-ms-enum": {
"name": "GeoJsonObjectType",
"modelAsString": false,
"values": [
{
"name": "GeoJsonPoint",
"value": "Point",
"description": "`GeoJSON Point` geometry."
},
{
"name": "GeoJsonMultiPoint",
"value": "MultiPoint",
"description": "`GeoJSON MultiPoint` geometry."
},
{
"name": "GeoJsonLineString",
"value": "LineString",
"description": "`GeoJSON LineString` geometry."
},
{
"name": "GeoJsonMultiLineString",
"value": "MultiLineString",
"description": "`GeoJSON MultiLineString` geometry."
},
{
"name": "GeoJsonPolygon",
"value": "Polygon",
"description": "`GeoJSON Polygon` geometry."
},
{
"name": "GeoJsonMultiPolygon",
"value": "MultiPolygon",
"description": "`GeoJSON MultiPolygon` geometry."
},
{
"name": "GeoJsonGeometryCollection",
"value": "GeometryCollection",
"description": "`GeoJSON GeometryCollection` geometry."
},
{
"name": "GeoJsonFeature",
"value": "Feature",
"description": "`GeoJSON Feature` object."
},
{
"name": "GeoJsonFeatureCollection",
"value": "FeatureCollection",
"description": "`GeoJSON FeatureCollection` object."
}
]
}
},
"GeoJsonPoint": {
"type": "object",
"description": "A valid `GeoJSON Point` geometry type. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1.2) for details.",
"properties": {
"coordinates": {
"type": "array",
"description": "A `Position` is an array of numbers with two or more elements. The first two\nelements are _longitude_ and _latitude_, precisely in that order.\n_Altitude/Elevation_ is an optional third element. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1.1) for details.",
"items": {
"type": "number",
"format": "double"
}
}
},
"required": [
"coordinates"
],
"allOf": [
{
"$ref": "#/$defs/GeoJsonGeometry"
}
],
"x-ms-discriminator-value": "Point"
},
"IncidentType": {
"type": "string",
"description": "Specifies the type of traffic incident. This can be used to request and\ndifferentiate between various types of incidents.",
"enum": [
"Accident",
"Congestion",
"DisabledVehicle",
"Miscellaneous",
"RoadHazard",
"Construction",
"Weather"
],
"x-ms-enum": {
"name": "IncidentType",
"modelAsString": true,
"values": [
{
"name": "Accident",
"value": "Accident",
"description": "Accident"
},
{
"name": "Congestion",
"value": "Congestion",
"description": "Congestion"
},
{
"name": "DisabledVehicle",
"value": "DisabledVehicle",
"description": "DisabledVehicle"
},
{
"name": "Miscellaneous",
"value": "Miscellaneous",
"description": "Miscellaneous"
},
{
"name": "RoadHazard",
"value": "RoadHazard",
"description": "RoadHazard"
},
{
"name": "Construction",
"value": "Construction",
"description": "Construction"
},
{
"name": "Weather",
"value": "Weather",
"description": "Weather"
}
]
}
},
"TrafficIncidentFeatureProperties": {
"type": "object",
"description": "Specifies detailed information about the traffic incidents.",
"properties": {
"description": {
"type": "string",
"description": "A description of the incident that includes the road name and the event\nimpacting the traffic flow.\n\nExamples:\n\n• W 95th St between Switzer Rd and Bluejacket Dr - construction\n\n• WB Johnson Dr at I-435 - bridge repair"
},
"startTime": {
"type": "string",
"description": "The date and time in UTC when the incident occurred, formatted as a dateTime\nvalue as defined in [RFC 3339, section\n5.6](https://www.rfc-editor.org/rfc/rfc3339#section-5.6)."
},
"endTime": {
"type": "string",
"description": "The date and time in UTC when the traffic incident will end, formatted as a\ndateTime value as defined in [RFC 3339, section\n5.6](https://www.rfc-editor.org/rfc/rfc3339#section-5.6)."
},
"lastModifiedTime": {
"type": "string",
"description": "The date and time in UTC when the incident information was last updated,\nformatted as a dateTime value as defined in [RFC 3339, section\n5.6](https://www.rfc-editor.org/rfc/rfc3339#section-5.6)."
},
"isRoadClosed": {
"type": "boolean",
"description": "A value of `true` indicates that there is a road closure."
},
"severity": {
"type": "integer",
"format": "int32",
"description": "Specifies the level of importance of the incident.\n\n- 0: Unknown\n\n- 1: Minor\n\n- 2: Moderate\n\n- 3: Major\n\n- 4: Undefined (used for road closures and other indefinite delays)"
},
"incidentType": {
"$ref": "#/$defs/IncidentType",
"description": "Specifies the type of traffic incident. This can be used to request and\ndifferentiate between various types of incidents."
},
"title": {
"type": "string",
"description": "Specifies the road names and direction of affected roads."
},
"delay": {
"type": "number",
"format": "double",
"description": "The delay caused by the incident in seconds. If no delay or not applicable, it\nreturns zero."
},
"endPoint": {
"type": "object",
"description": "A GeoJson Point object that specified the end location of a traffic incident\nsuch as end of a construction zone.\n\nThis location is part of the incident properties object and by default, cannot\nbe interpreted by parsers for display on the map.",
"additionalProperties": {}
},
"isTrafficJam": {
"type": "boolean",
"description": "A value of `true` indicates that the area of road covered by this incident is\nexperiencing abnormal traffic conditions resulting in non-typical delays."
}
}
},
"TrafficIncidentFeaturesItem": {
"type": "object",
"description": "GeoJSON feature object that contains Geometry object and additional properties\nof traffic incidents.",
"properties": {
"type": {
"$ref": "#/$defs/FeaturesItemTypeEnum",
"description": "Specifies the `GeoJSON` type. The only supported object type is Feature. For\nmore information, see [RFC 7946](https://www.rfc-editor.org/rfc/rfc7946)."
},
"id": {
"type": "integer",
"format": "int64",
"description": "A unique ID for the incident."
},
"geometry": {
"$ref": "#/$defs/GeoJsonPoint",
"description": "A valid `GeoJSON Point` geometry type. Please refer to [RFC\n7946](https://tools.ietf.org/html/rfc7946#section-3.1.2) for details."
},
"properties": {
"$ref": "#/$defs/TrafficIncidentFeatureProperties",
"description": "Specifies detailed information about the traffic incidents."
}
}
}
}
}
Work with this as data
Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.
MCP server
One button, every client — Claude, Cursor, VS Code and the rest.
https://apis.io/mcp
Tools for schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema in the catalog.apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.resolveTurn a domain, URL or GitHub org into the provider it belongs to.find_cohortsEvery scored population of providers in the catalog.
Call it yourself
curl for this page
curl "https://apis.io/api/v1/json-schemas/microsoft-azure-maps-traffic-incident-response"
curl "https://apis.io/api/v1/json-schemas?limit=25"
Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. By signing up you are subscribing to the APIs.io and API Evangelist newsletters — you can unsubscribe from any issue. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.