{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/precisely-apis/main/json-schema/precisely-apis-speed-limit-schema.json",
  "title": "SpeedLimit",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/precisely-apis-speedlimit-api-openapi.yml#/components/schemas/SpeedLimit",
  "properties": {
    "maxSpeed": {
      "type": "string"
    },
    "speedUnit": {
      "type": "string"
    },
    "speedVerification": {
      "type": "string"
    },
    "amPeakAvgSpeed": {
      "type": "string"
    },
    "pmPeakAvgSpeed": {
      "type": "string"
    },
    "offPeakAvgSpeed": {
      "type": "string"
    },
    "nightAvgSpeed": {
      "type": "string"
    },
    "weekAvgSpeed": {
      "type": "string"
    },
    "road": {
      "$ref": "#/$defs/road"
    }
  },
  "type": "object",
  "$defs": {
    "road": {
      "properties": {
        "id": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "altName": {
          "type": "string"
        },
        "roadClass": {
          "type": "string"
        },
        "type": {
          "type": "string"
        },
        "lengthInMeters": {
          "type": "string"
        },
        "routeNumber": {
          "type": "string"
        },
        "surfaceType": {
          "type": "string"
        },
        "trafficFlow": {
          "type": "string"
        },
        "isToll": {
          "type": "string"
        },
        "beginningLevel": {
          "type": "string"
        },
        "endingLevel": {
          "type": "string"
        }
      },
      "type": "object"
    }
  }
}