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 |
JSON Schema
{
"$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"
}
}
}
}
}
}
}