changedOutput schema / properties / tonight / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "counted_in": {
- "additionalProperties": false,
- "description": "The wind its nights are counted in: its compass point at 10 or 20 kt or more, as its band; no point under 3 kt.",
- "properties": {
- "from": {
- "anyOf": [
- {
- "enum": [
- "N",
- "NE",
- "E",
- "SE",
- "S",
- "SW",
- "W",
- "NW"
- ],
- "type": "string"
- },
- {
- "type": "null"
- }
- ],
- "description": "Null when the wind asked is under 3 kt: no settled direction, so every night counts, as on the site."
- },
- "min_kt": {
- "type": "number"
- }
- },
- "required": [
- "from",
- "min_kt"
- ],
- "type": "object"
- },
- "counted_with_swell": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "from": {
- "enum": [
- "N",
- "NE",
- "E",
- "SE",
- "S",
- "SW",
- "W",
- "NW"
- ],
- "type": "string"
- },
- "min_m": {
- "type": "number"
- }
- },
- "required": [
- "from",
- "min_m"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "The forecast swell those nights are counted with, as on the site: its compass point and the height it is counted from, m (0.5, 1.25 or 2.5 m or more). Null: the wind alone (a sheltered place, or the swell there under 0.5 m)."
- },
- "credit": {
- "additionalProperties": false,
- "description": "The forecast's credit. Show its text, linked to its url, wherever this forecast is shown.",
- "properties": {
- "text": {
- "const": "Weather data by Open-Meteo.com",
- "type": "string"
- },
- "url": {
- "const": "https://open-meteo.com/",
- "type": "string"
- }
- },
- "required": [
- "text",
- "url"
- ],
- "type": "object"
- },
- "from": {
- "description": "The forecast wind's compass point.",
- "enum": [
- "N",
- "NE",
- "E",
- "SE",
- "S",
- "SW",
- "W",
- "NW"
- ],
- "type": "string"
- },
- "gust_kt": {
- "anyOf": [
- {
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- {
- "type": "null"
- }
- ],
- "description": "The forecast gust, whole kt."
- },
- "gusts_kt": {
- "anyOf": [
- {
- "additionalProperties": false,
- "properties": {
- "max": {
- "type": "number"
- },
- "min": {
- "type": "number"
- }
- },
- "required": [
- "min",
- "max"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
- ],
- "description": "Lowest and highest gust of those nights, kt."
- },
- "mean_kt": {
- "description": "The forecast mean wind, whole kt.",
- "maximum": 9007199254740991,
- "minimum": -9007199254740991,
- "type": "integer"
- },
- "nights": {
- "description": "Nights boats stayed here in that wind.",
- "maximum": 9007199254740991,
- "minimum": 0,
- "type": "integer"
- },
- "time": {
- "description": "The night's strongest forecast time on the clock at the place, ISO with its offset.",
- "type": "string"
- }
- },
- "required": [
- "time",
- "from",
- "mean_kt",
- "gust_kt",
- "counted_in",
- "nights",
- "gusts_kt",
- "counted_with_swell",
- "credit"
- ],
- "type": "object"
- },
- {
- "type": "null"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "counted_in": {
+ "additionalProperties": false,
+ "description": "The wind its nights are counted in: its compass point at 10 or 20 kt or more, as its band; no point under 3 kt.",
+ "properties": {
+ "from": {
+ "anyOf": [
+ {
+ "enum": [
+ "N",
+ "NE",
+ "E",
+ "SE",
+ "S",
+ "SW",
+ "W",
+ "NW"
+ ],
+ "type": "string"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Null when the wind asked is under 3 kt: no settled direction, so every night counts, as on the site."
+ },
+ "min_kt": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "from",
+ "min_kt"
+ ],
+ "type": "object"
+ },
+ "credit": {
+ "additionalProperties": false,
+ "description": "The forecast's credit. Show its text, linked to its url, wherever this forecast is shown.",
+ "properties": {
+ "text": {
+ "const": "Weather data by Open-Meteo.com",
+ "type": "string"
+ },
+ "url": {
+ "const": "https://open-meteo.com/",
+ "type": "string"
+ }
+ },
+ "required": [
+ "text",
+ "url"
+ ],
+ "type": "object"
+ },
+ "from": {
+ "description": "The forecast wind's compass point.",
+ "enum": [
+ "N",
+ "NE",
+ "E",
+ "SE",
+ "S",
+ "SW",
+ "W",
+ "NW"
+ ],
+ "type": "string"
+ },
+ "gust_kt": {
+ "anyOf": [
+ {
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "The forecast gust, whole kt."
+ },
+ "gusts_kt": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "max": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "min",
+ "max"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Lowest and highest gust of those nights, kt."
+ },
+ "mean_kt": {
+ "description": "The forecast mean wind, whole kt.",
+ "maximum": 9007199254740991,
+ "minimum": -9007199254740991,
+ "type": "integer"
+ },
+ "nights": {
+ "description": "Nights boats stayed here in that wind.",
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ },
+ "time": {
+ "description": "The night's strongest forecast time on the clock at the place, ISO with its offset.",
+ "type": "string"
+ },
+ "with_swell": {
+ "anyOf": [
+ {
+ "additionalProperties": false,
+ "properties": {
+ "from": {
+ "enum": [
+ "N",
+ "NE",
+ "E",
+ "SE",
+ "S",
+ "SW",
+ "W",
+ "NW"
+ ],
+ "type": "string"
+ },
+ "min_m": {
+ "type": "number"
+ },
+ "nights": {
+ "maximum": 9007199254740991,
+ "minimum": 0,
+ "type": "integer"
+ }
+ },
+ "required": [
+ "from",
+ "min_m",
+ "nights"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+ ],
+ "description": "Of those nights, the ones that also had the forecast swell there at that time, as the site says it beside the count: the swell's compass point, the height it is counted from, m (0.5, 1.25 or 2.5 m or more), and the nights. Null: no swell to say (a place with no open water that side, the swell there under 0.5 m, or no nights in that wind)."
+ }
+ },
+ "required": [
+ "time",
+ "from",
+ "mean_kt",
+ "gust_kt",
+ "counted_in",
+ "nights",
+ "gusts_kt",
+ "with_swell",
+ "credit"
+ ],
+ "type": "object"
+ },
+ {
+ "type": "null"
+ }
+]