disease.sh · Schema

covidHistoricalProvince

COVID-19DiseaseHealthEpidemiologyInfluenzaVaccineOpen DataPublic Health

Properties

Name Type Description
country string
province string
timeline object The amount of key-value pairs in 'cases', 'deaths' and 'recovered' is dependent on the 'lastdays' query
View JSON Schema on GitHub

JSON Schema

covidHistoricalProvince.json Raw ↑
{
  "$schema": "http://json-schema.org/draft-07/schema#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/disease-sh/main/json-schema/covidHistoricalProvince.json",
  "title": "covidHistoricalProvince",
  "properties": {
    "country": {
      "type": "string"
    },
    "province": {
      "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"
            }
          }
        }
      }
    }
  }
}