addedInput schema / $defs
Added value: +{
+ "PlaceGiven": {
+ "additionalProperties": false,
+ "description": "One place, by its name or its coordinates.",
+ "properties": {
+ "latitude": {
+ "description": "Latitude, WGS84; or give place_name",
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+ },
+ "longitude": {
+ "description": "Longitude, WGS84; or give place_name",
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+ },
+ "place_name": {
+ "description": "A place name or street address; add the country after a comma when ambiguous (Portland, Maine)",
+ "type": "string"
+ }
+ },
+ "type": "object"
+ }
+}
addedInput schema / properties / event_id
Added value: +{
+ "description": "An event's id from list_hazards or get_hazards_near, for the map of that event",
+ "minimum": 1,
+ "type": "integer"
+}
changedInput schema / properties / focus / description
Previous value: -"What the map shows: this week's forecast risk, the hazard events nearby, or both"New value: +"What a place's map shows: this week's forecast risk, the hazard events nearby, or both; an event's map leaves the events around it out for week"
removedInput schema / properties / focus / title
Removed value: -"Focus"
addedInput schema / properties / language
Added value: +{
+ "default": "en",
+ "description": "Language code for the name of the place found (resolved_from); the rest of the answer is English",
+ "enum": [
+ "en",
+ "de",
+ "fr",
+ "it",
+ "es",
+ "nl",
+ "pl",
+ "uk",
+ "ro",
+ "sr",
+ "ru"
+ ],
+ "type": "string"
+}
removedInput schema / properties / latitude / anyOf
Removed value: -[
- {
- "maximum": 90,
- "minimum": -90,
- "type": "number"
- },
- {
- "type": "null"
- }
-]
removedInput schema / properties / latitude / default
Removed value: -null
changedInput schema / properties / latitude / description
Previous value: -"Latitude of the place asked about, in degrees, WGS84. Give it with longitude, or give place instead"New value: +"Latitude, WGS84; or give place_name"
addedInput schema / properties / latitude / maximum
Added value: +90
addedInput schema / properties / latitude / minimum
Added value: +-90
removedInput schema / properties / latitude / title
Removed value: -"Latitude"
addedInput schema / properties / latitude / type
Added value: +"number"
removedInput schema / properties / layer / title
Removed value: -"Layer"
removedInput schema / properties / longitude / anyOf
Removed value: -[
- {
- "maximum": 180,
- "minimum": -180,
- "type": "number"
- },
- {
- "type": "null"
- }
-]
removedInput schema / properties / longitude / default
Removed value: -null
changedInput schema / properties / longitude / description
Previous value: -"Longitude of the place asked about, in degrees, WGS84. Give it with latitude, or give place instead"New value: +"Longitude, WGS84; or give place_name"
addedInput schema / properties / longitude / maximum
Added value: +180
addedInput schema / properties / longitude / minimum
Added value: +-180
removedInput schema / properties / longitude / title
Removed value: -"Longitude"
addedInput schema / properties / longitude / type
Added value: +"number"
removedInput schema / properties / place
Removed value: -{
- "anyOf": [
- {
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "default": null,
- "description": "A place name or address, used only when latitude and longitude are not given. It is resolved to its best match by a geocoder shared by every user and limited to one lookup a second, so pass coordinates when you have them",
- "title": "Place"
-}
addedInput schema / properties / place_name
Added value: +{
+ "description": "A place name or street address; add the country after a comma when ambiguous (Portland, Maine)",
+ "type": "string"
+}
addedInput schema / properties / places
Added value: +{
+ "description": "2 to 10 places to set side by side, each a place_name or latitude and longitude",
+ "items": {
+ "$ref": "#/$defs/PlaceGiven"
+ },
+ "maxItems": 10,
+ "minItems": 2,
+ "type": "array"
+}
removedInput schema / title
Removed value: -"show_risk_mapArguments"
addedOutput schema / $defs / ComparedPlace
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "days": {
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/MapDay"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "This week's forecast risk by day; null where there is none"
+ },
+ "place": {
+ "$ref": "#/$defs/MapPlace"
+ },
+ "resolved_from": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "What a place name was resolved to; null when coordinates were given"
+ }
+ },
+ "required": [
+ "resolved_from",
+ "place",
+ "days"
+ ],
+ "type": "object"
+}
addedOutput schema / $defs / MapCountry
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "hazard": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The hazard that holds most of them then"
+ },
+ "level": {
+ "description": "The worst forecast risk class any of its people reach this week",
+ "type": "string"
+ },
+ "name": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "people": {
+ "description": "Its people at that class or above, at the week's worst hour for it",
+ "type": "integer"
+ }
+ },
+ "required": [
+ "name",
+ "level",
+ "people",
+ "hazard"
+ ],
+ "type": "object"
+}
removedOutput schema / $defs / MapDay / properties / date / title
Removed value: -"Date"
removedOutput schema / $defs / MapDay / properties / hazard / title
Removed value: -"Hazard"
addedOutput schema / $defs / MapDay / properties / level / anyOf
Added value: +[
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+]
changedOutput schema / $defs / MapDay / properties / level / description
Previous value: -"The day's forecast risk class"New value: +"The day's forecast risk class; null when no step of it is graded"
removedOutput schema / $defs / MapDay / properties / level / title
Removed value: -"Level"
removedOutput schema / $defs / MapDay / properties / level / type
Removed value: -"string"
removedOutput schema / $defs / MapDay / title
Removed value: -"MapDay"
addedOutput schema / $defs / MapFocus
Added value: +{
+ "additionalProperties": false,
+ "properties": {
+ "id": {
+ "type": "integer"
+ },
+ "label": {
+ "type": "string"
+ },
+ "official_level": {
+ "anyOf": [
+ {
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The issuer's own level; null where it gives none"
+ },
+ "severity": {
+ "type": "string"
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "label",
+ "type",
+ "severity",
+ "official_level"
+ ],
+ "type": "object"
+}
removedOutput schema / $defs / MapPlace / properties / country / title
Removed value: -"Country"
removedOutput schema / $defs / MapPlace / properties / latitude / title
Removed value: -"Latitude"
removedOutput schema / $defs / MapPlace / properties / longitude / title
Removed value: -"Longitude"
removedOutput schema / $defs / MapPlace / properties / name / title
Removed value: -"Name"
removedOutput schema / $defs / MapPlace / title
Removed value: -"MapPlace"
addedOutput schema / properties / countries
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/MapCountry"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The world's map: the countries this week's forecast puts most people at risk in"
+}
addedOutput schema / properties / counts_by_type / default
Added value: +null
changedOutput schema / properties / counts_by_type / description
Previous value: -"Every event found, by type; null when not asked for"New value: +"Every event found, by type"
removedOutput schema / properties / counts_by_type / title
Removed value: -"Counts By Type"
changedOutput schema / properties / criora_url / description
Previous value: -"The place on Criora's own map"New value: +"The map on Criora's own site"
removedOutput schema / properties / criora_url / title
Removed value: -"Criora Url"
addedOutput schema / properties / days / default
Added value: +null
changedOutput schema / properties / days / description
Previous value: -"This week's forecast risk by day; null when not asked for"New value: +"The place's forecast risk by day this week"
removedOutput schema / properties / days / title
Removed value: -"Days"
addedOutput schema / properties / event
Added value: +{
+ "anyOf": [
+ {
+ "$ref": "#/$defs/MapFocus"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The event the map is of"
+}
addedOutput schema / properties / events_total / default
Added value: +null
changedOutput schema / properties / events_total / description
Previous value: -"Hazard events found near the place; null when not asked for"New value: +"Hazard events found around the place or the event, or in force in the world"
removedOutput schema / properties / events_total / title
Removed value: -"Events Total"
removedOutput schema / properties / layer / title
Removed value: -"Layer"
removedOutput schema / properties / place / $ref
Removed value: -"#/$defs/MapPlace"
addedOutput schema / properties / place / anyOf
Added value: +[
+ {
+ "$ref": "#/$defs/MapPlace"
+ },
+ {
+ "type": "null"
+ }
+]
addedOutput schema / properties / place / default
Added value: +null
addedOutput schema / properties / place / description
Added value: +"The place the map is of; null for another subject"
addedOutput schema / properties / places
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "$ref": "#/$defs/ComparedPlace"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "The places side by side, as asked"
+}
addedOutput schema / properties / radius_km / default
Added value: +null
removedOutput schema / properties / radius_km / title
Removed value: -"Radius Km"
addedOutput schema / properties / resolved_from / default
Added value: +null
removedOutput schema / properties / resolved_from / title
Removed value: -"Resolved From"
addedOutput schema / properties / subject
Added value: +{
+ "description": "What the map is of: a place, the world, one event, or several places side by side",
+ "enum": [
+ "place",
+ "world",
+ "event",
+ "places"
+ ],
+ "type": "string"
+}
addedOutput schema / properties / unresolved
Added value: +{
+ "anyOf": [
+ {
+ "items": {
+ "type": "string"
+ },
+ "type": "array"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "default": null,
+ "description": "Places asked for that were not found, and why"
+}
changedOutput schema / required
Previous value: -[
- "resolved_from",
- "place",
- "days",
- "events_total",
- "counts_by_type",
- "radius_km",
- "criora_url",
- "layer"
-]New value: +[
+ "subject",
+ "criora_url",
+ "layer"
+]
removedOutput schema / title
Removed value: -"RiskMap"