disease.sh · Schema

covidHistoricalUSCounty

COVID-19DiseaseHealthEpidemiologyInfluenzaVaccineOpen DataPublic Health
View JSON Schema on GitHub

JSON Schema

covidHistoricalUSCounty.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/disease-sh/main/json-schema/covidHistoricalUSCounty.json",
  "title": "covidHistoricalUSCounty",
  "type": "array",
  "items": {
    "type": "object",
    "properties": {
      "province": {
        "type": "string"
      },
      "county": {
        "type": "string"
      },
      "timeline": {
        "type": "object",
        "description": "The amount of key-value pairs in 'cases', 'deaths' and 'recovered' is dependent on the 'lastdays' query",
        "properties": {
          "cases": {
            "type": "object",
            "properties": {
              "date": {
                "type": "number"
              }
            }
          },
          "deaths": {
            "type": "object",
            "properties": {
              "date": {
                "type": "number"
              }
            }
          },
          "recovered": {
            "type": "object",
            "properties": {
              "date": {
                "type": "number"
              }
            }
          }
        }
      }
    }
  }
}