disease.sh · Schema

covidHistoricalAll

The amount of key-value pairs in 'cases', 'deaths' and 'recovered' is dependent on the 'lastdays' query

COVID-19DiseaseHealthEpidemiologyInfluenzaVaccineOpen DataPublic Health

Properties

Name Type Description
cases object
deaths object
recovered object
View JSON Schema on GitHub

JSON Schema

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