WZDx v4.2 Work Zone Feed

The GeoJSON output of a WZDx Work Zone Feed (v4.2)

TravelUnited StatesAviationAirlinesAirportsGovernmentRegulatorDistributionAviation Consumer ProtectionOpen DataTransportationSafetyStatisticsAutomotiveRail

Properties

Name Type Description
feed_info object
type object The GeoJSON type
features array An array of GeoJSON Feature objects which represent WZDx road events
bbox object
road_event_feed_info object
View JSON Schema on GitHub

JSON Schema

us-dot-wzdx-4.2-workzonefeed.json Raw ↑
{
  "$id": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/WorkZoneFeed.json",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "title": "WZDx v4.2 Work Zone Feed",
  "description": "The GeoJSON output of a WZDx Work Zone Feed (v4.2)",
  "type": "object",
  "properties": {
    "feed_info": {
      "$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/FeedInfo.json"
    },
    "type": {
      "description": "The GeoJSON type",
      "enum": ["FeatureCollection"]
    },
    "features": {
      "description": "An array of GeoJSON Feature objects which represent WZDx road events",
      "type": "array",
      "items": {
        "allOf": [
          {
            "properties": {
              "properties": {
                "properties": {
                  "core_details": {
                    "properties": {
                      "event_type": {
                        "enum": ["work-zone", "detour"]
                      }
                    },
                    "required": ["event_type"]
                  }
                },
                "required": ["core_details"]
              }
            },
            "required": ["properties"]
          },
          {
            "$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/RoadEventFeature.json"
          }
        ]
      }
    },
    "bbox": {
      "$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/BoundingBox.json"
    },
    "road_event_feed_info": {
      "$ref": "https://raw.githubusercontent.com/usdot-jpo-ode/wzdx/main/schemas/4.2/FeedInfo.json"
    }
  },
  "required": ["type", "features"],
  "anyOf": [
    { 
      "required": ["feed_info"]
    },
    {
      "required": ["road_event_feed_info"]
    }
  ]
}