-
Notifications
You must be signed in to change notification settings - Fork 0
/
globalApiCountriesCurrentSchema.txt
1 lines (1 loc) · 1.26 KB
/
globalApiCountriesCurrentSchema.txt
1
"{\"$schema\": \"http://json-schema.org/schema#\", \"type\": \"array\", \"items\": {\"type\": \"object\", \"properties\": {\"country\": {\"type\": \"string\"}, \"countryInfo\": {\"type\": \"object\", \"properties\": {\"_id\": {\"type\": [\"integer\", \"null\"]}, \"iso2\": {\"type\": [\"null\", \"string\"]}, \"iso3\": {\"type\": [\"null\", \"string\"]}, \"lat\": {\"type\": \"number\"}, \"long\": {\"type\": \"number\"}, \"flag\": {\"type\": \"string\"}}, \"required\": [\"_id\", \"flag\", \"iso2\", \"iso3\", \"lat\", \"long\"]}, \"updated\": {\"type\": \"integer\"}, \"cases\": {\"type\": \"integer\"}, \"todayCases\": {\"type\": \"integer\"}, \"deaths\": {\"type\": \"integer\"}, \"todayDeaths\": {\"type\": \"integer\"}, \"recovered\": {\"type\": \"integer\"}, \"active\": {\"type\": \"integer\"}, \"critical\": {\"type\": \"integer\"}, \"casesPerOneMillion\": {\"type\": [\"null\", \"number\"]}, \"deathsPerOneMillion\": {\"type\": [\"null\", \"number\"]}, \"tests\": {\"type\": \"integer\"}, \"testsPerOneMillion\": {\"type\": \"integer\"}}, \"required\": [\"active\", \"cases\", \"casesPerOneMillion\", \"country\", \"countryInfo\", \"critical\", \"deaths\", \"deathsPerOneMillion\", \"recovered\", \"tests\", \"testsPerOneMillion\", \"todayCases\", \"todayDeaths\", \"updated\"]}}"