{
 "openapi": "3.1.0",
 "info": {
  "title": "London forecast (Open-Meteo): data.promptugal.news",
  "version": "v0.1.151",
  "description": "Forecast for London from Open-Meteo: hourly temperature, chance and amount of rain, wind and weather code for 3 days, each day's lowest and highest temperature, and every forecast we served kept for 14 days. A model forecast for a grid point, not a warning.\n\nPublisher: Open-Meteo (OpenMeteo GmbH, Switzerland). Reuse terms: Used under Open-Meteo's free non-commercial terms because data.promptugal.news is free and carries no subscriptions or adverts (Dinis, 18 Nov 2026). Sites that charge must not reuse it without a paid plan; that line is still being settled. Data CC BY 4.0: credit Open-Meteo (link to https://open-meteo.com/) and the models' providers, and say if changed. Not reviewed by a person. Not a warning service: follow IPMA and ANEPC.\n\nCode: Apache-2.0. Text: CC BY 4.0. The data keeps the terms of its own source (see each source card); nothing here relaxes them.",
  "license": {
   "name": "Apache-2.0 for code; each source keeps its own data terms",
   "identifier": "Apache-2.0"
  },
  "contact": {
   "name": "PrompTugal.news data",
   "url": "https://github.com/PrompTugal/PrompTugal__News__Data"
  }
 },
 "servers": [
  {
   "url": "https://data.promptugal.news",
   "description": "Production"
  }
 ],
 "externalDocs": {
  "description": "How to use the API",
  "url": "https://data.promptugal.news/api/"
 },
 "paths": {
  "/api/v1/open-meteo-london/latest.json": {
   "get": {
    "operationId": "get_open_meteo_london_latest",
    "tags": [
     "open-meteo-london"
    ],
    "summary": "London forecast (Open-Meteo): the latest read",
    "description": "Forecast for London: hourly temperature, chance and amount of rain, wind and weather code for 3 days, and each day's lowest and highest temperature, as Open-Meteo served it at the time shown, with every earlier forecast we served for 14 days in history. A model forecast for a grid point, not a warning: follow the Met Office.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "source": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "place": {
           "type": "string"
          },
          "country": {
           "type": "string"
          },
          "issued_at": {
           "type": "string"
          },
          "read_at": {
           "type": "string"
          },
          "provenance": {
           "type": "object",
           "properties": {
            "source": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "by": {
             "type": "string"
            },
            "terms": {
             "type": "string"
            },
            "attribution": {
             "type": "string"
            },
            "licence": {
             "type": "string"
            },
            "centre": {
             "type": "object",
             "properties": {
              "lat": {
               "type": "number"
              },
              "lon": {
               "type": "number"
              }
             },
             "required": [
              "lat",
              "lon"
             ]
            },
            "grid_point": {
             "type": "object",
             "properties": {
              "lat": {
               "type": "number"
              },
              "lon": {
               "type": "number"
              },
              "elevation_m": {
               "type": "integer"
              }
             },
             "required": [
              "lat",
              "lon",
              "elevation_m"
             ]
            },
            "timezone": {
             "type": "string"
            }
           },
           "required": [
            "source",
            "page",
            "read_at",
            "by",
            "terms",
            "attribution",
            "licence",
            "centre",
            "grid_point",
            "timezone"
           ]
          },
          "about": {
           "type": "string"
          },
          "units": {
           "type": "object",
           "properties": {
            "temperature": {
             "type": "string"
            },
            "precipitation": {
             "type": "string"
            },
            "precipitation_probability": {
             "type": "string"
            },
            "wind": {
             "type": "string"
            },
            "wind_direction": {
             "type": "string"
            },
            "weather_code": {
             "type": "string"
            }
           },
           "required": [
            "temperature",
            "precipitation",
            "precipitation_probability",
            "wind",
            "wind_direction",
            "weather_code"
           ]
          },
          "counts": {
           "type": "object",
           "properties": {
            "hourly": {
             "type": "integer"
            },
            "daily": {
             "type": "integer"
            },
            "history": {
             "type": "integer"
            }
           },
           "required": [
            "hourly",
            "daily",
            "history"
           ]
          },
          "daily": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "date": {
              "type": "string",
              "format": "date"
             },
             "temperature_min_c": {
              "type": "number"
             },
             "temperature_max_c": {
              "type": "number"
             },
             "precipitation_sum_mm": {
              "type": "integer"
             },
             "weather_code": {
              "type": "integer"
             }
            },
            "required": [
             "date",
             "temperature_min_c",
             "temperature_max_c",
             "precipitation_sum_mm",
             "weather_code"
            ]
           }
          },
          "hourly": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "time": {
              "type": "string"
             },
             "temperature_c": {
              "type": "number"
             },
             "precipitation_probability_pct": {
              "type": "integer"
             },
             "precipitation_mm": {
              "type": "integer"
             },
             "wind_speed_kmh": {
              "type": "number"
             },
             "wind_gust_kmh": {
              "type": "number"
             },
             "wind_direction_deg": {
              "type": "integer"
             },
             "weather_code": {
              "type": "integer"
             }
            },
            "required": [
             "time",
             "temperature_c",
             "precipitation_probability_pct",
             "precipitation_mm",
             "wind_speed_kmh",
             "wind_gust_kmh",
             "wind_direction_deg",
             "weather_code"
            ]
           }
          },
          "history": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "issued_at": {
              "type": "string"
             },
             "daily": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "date": {
                 "type": "string",
                 "format": "date"
                },
                "temperature_min_c": {
                 "type": "number"
                },
                "temperature_max_c": {
                 "type": "number"
                },
                "precipitation_sum_mm": {
                 "type": "number"
                },
                "weather_code": {
                 "type": "integer"
                }
               },
               "required": [
                "date",
                "temperature_min_c",
                "temperature_max_c",
                "precipitation_sum_mm",
                "weather_code"
               ]
              }
             }
            },
            "required": [
             "issued_at",
             "daily"
            ]
           }
          }
         },
         "required": [
          "source",
          "title",
          "place",
          "country",
          "issued_at",
          "read_at",
          "provenance",
          "about",
          "units",
          "counts",
          "daily",
          "hourly",
          "history"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "source": "open-meteo-london",
           "title": "London forecast (Open-Meteo)",
           "place": "london",
           "country": "GB",
           "issued_at": "2026-11-21T07:12:52Z",
           "read_at": "2026-11-21T07:12:52Z",
           "provenance": {
            "source": "https://open-meteo.com/",
            "page": "https://open-meteo.com/en/docs",
            "read_at": "2026-11-21T07:12:52Z",
            "by": "sources/open-meteo-london/collect.mjs (code, no model; run by data.b@PrompTugal.dinis)",
            "terms": "Used under Open-Meteo's free non-commercial terms because data.promptugal.news is free and carries no subscriptions or adverts (Dinis, 18 Nov 2026). Sites that charge must not reuse it without a paid plan; that line is still being settled. Data CC BY 4.0: credit Open-Meteo (link to https://open-mete...",
            "attribution": "Weather data by Open-Meteo.com (https://open-meteo.com/), CC BY 4.0; forecast models by the national weather services Open-Meteo lists at https://open-meteo.com/en/docs; values as served, rounded as served",
            "licence": "CC BY 4.0 (https://open-meteo.com/en/licence)",
            "centre": {
             "lat": 51.5074,
             "lon": -0.1278
            },
            "grid_point": {
             "lat": 51.51147,
             "lon": -0.13078308,
             "elevation_m": 16
            },
            "timezone": "UTC"
           },
           "about": "Forecast for London: hourly temperature, chance and amount of rain, wind and weather code for 3 days, and each day's lowest and highest temperature, as Open-Meteo served it at the time shown, with every earlier forecast we served for 14 days in history. A model forecast for a grid point, not a warni...",
           "units": {
            "temperature": "degC",
            "precipitation": "mm",
            "precipitation_probability": "%",
            "wind": "km/h",
            "wind_direction": "degrees",
            "weather_code": "WMO code"
           },
           "counts": {
            "hourly": 72,
            "daily": 3,
            "history": 11
           },
           "daily": [
            {
             "date": "2026-11-21",
             "temperature_min_c": 4.1,
             "temperature_max_c": 9,
             "precipitation_sum_mm": 0,
             "weather_code": 3
            },
            {
             "date": "2026-11-22",
             "temperature_min_c": 5.8,
             "temperature_max_c": 9.5,
             "precipitation_sum_mm": 0,
             "weather_code": 3
            },
            {
             "date": "2026-11-23",
             "temperature_min_c": 4.5,
             "temperature_max_c": 8,
             "precipitation_sum_mm": 0,
             "weather_code": 3
            }
           ],
           "hourly": [
            {
             "time": "2026-11-21T00:00:00Z",
             "temperature_c": 5.3,
             "precipitation_probability_pct": 0,
             "precipitation_mm": 0,
             "wind_speed_kmh": 2.9,
             "wind_gust_kmh": 7.6,
             "wind_direction_deg": 18,
             "weather_code": 1
            },
            {
             "time": "2026-11-21T01:00:00Z",
             "temperature_c": 4.3,
             "precipitation_probability_pct": 0,
             "precipitation_mm": 0,
             "wind_speed_kmh": 1.1,
             "wind_gust_kmh": 4.7,
             "wind_direction_deg": 24,
             "weather_code": 2
            },
            {
             "time": "2026-11-21T02:00:00Z",
             "temperature_c": 4.2,
             "precipitation_probability_pct": 0,
             "precipitation_mm": 0,
             "wind_speed_kmh": 3.2,
             "wind_gust_kmh": 7.6,
             "wind_direction_deg": 84,
             "weather_code": 0
            }
           ],
           "history": [
            {
             "issued_at": "2026-11-18T22:40:16Z",
             "daily": [
              {
               "date": "2026-11-18",
               "temperature_min_c": 9.2,
               "temperature_max_c": 13,
               "precipitation_sum_mm": 3.2,
               "weather_code": 55
              },
              {
               "date": "2026-11-19",
               "temperature_min_c": 7.7,
               "temperature_max_c": 11,
               "precipitation_sum_mm": 5.7,
               "weather_code": 63
              },
              {
               "date": "2026-11-20",
               "temperature_min_c": 3.9,
               "temperature_max_c": 9.6,
               "precipitation_sum_mm": 0,
               "weather_code": 3
              }
             ]
            },
            {
             "issued_at": "2026-11-18T22:46:44Z",
             "daily": [
              {
               "date": "2026-11-18",
               "temperature_min_c": 9.2,
               "temperature_max_c": 13,
               "precipitation_sum_mm": 3.2,
               "weather_code": 55
              },
              {
               "date": "2026-11-19",
               "temperature_min_c": 7.7,
               "temperature_max_c": 11,
               "precipitation_sum_mm": 5.7,
               "weather_code": 63
              },
              {
               "date": "2026-11-20",
               "temperature_min_c": 3.9,
               "temperature_max_c": 9.6,
               "precipitation_sum_mm": 0,
               "weather_code": 3
              }
             ]
            },
            {
             "issued_at": "2026-11-18T22:57:24Z",
             "daily": [
              {
               "date": "2026-11-18",
               "temperature_min_c": 9,
               "temperature_max_c": 13,
               "precipitation_sum_mm": 4,
               "weather_code": 61
              },
              {
               "date": "2026-11-19",
               "temperature_min_c": 7.2,
               "temperature_max_c": 10.7,
               "precipitation_sum_mm": 5.4,
               "weather_code": 63
              },
              {
               "date": "2026-11-20",
               "temperature_min_c": 6.6,
               "temperature_max_c": 10.4,
               "precipitation_sum_mm": 0,
               "weather_code": 3
              }
             ]
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/open-meteo-london/reads.json": {
   "get": {
    "operationId": "get_open_meteo_london_reads",
    "tags": [
     "open-meteo-london"
    ],
    "summary": "London forecast (Open-Meteo): every read, newest first",
    "description": "Every run of sources/open-meteo-london/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to git.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "about": {
           "type": "string"
          },
          "source": {
           "type": "string"
          },
          "runs": {
           "type": "array",
           "items": {
            "type": "object",
            "properties": {
             "at": {
              "type": "string"
             },
             "finished": {
              "type": "string"
             },
             "ok": {
              "type": "integer"
             },
             "failed": {
              "type": "integer"
             },
             "reads": {
              "type": "array",
              "items": {
               "type": "object",
               "properties": {
                "name": {
                 "type": "string"
                },
                "url": {
                 "type": "string",
                 "format": "uri"
                },
                "at": {
                 "type": "string"
                },
                "status": {
                 "type": "integer"
                },
                "bytes": {
                 "type": "integer"
                },
                "sha256_prefix": {
                 "type": "string"
                },
                "changed": {
                 "type": [
                  "boolean",
                  "string"
                 ]
                }
               },
               "required": [
                "name",
                "url",
                "at",
                "status",
                "bytes",
                "sha256_prefix",
                "changed"
               ]
              }
             }
            },
            "required": [
             "at",
             "finished",
             "ok",
             "failed",
             "reads"
            ]
           }
          }
         },
         "required": [
          "about",
          "source",
          "runs"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "about": "Every run of sources/open-meteo-london/collect.mjs, newest first: each request's address, HTTP status, size, the first 16 hex of its sha256, and whether the bytes changed since the run before. The bytes and the full sha256 go to the source's vault (see card.json: latest/reads-full.json), never to gi...",
           "source": "open-meteo-london",
           "runs": [
            {
             "at": "2026-11-21T07:12:52Z",
             "finished": "2026-11-21T07:12:53Z",
             "ok": 1,
             "failed": 0,
             "reads": [
              {
               "name": "forecast",
               "url": "https://api.open-meteo.com/v1/forecast?latitude=51.5074&longitude=-0.1278&hourly=temperature_2m,precipitation_probability,precipitation,wind_speed_10m,wind_gusts_10m,wind_direction_10m,weather_code&daily=temperature_2m_min,temperature_2m_max,precipitation_sum,weather_code&forecast_days=3&timezone=UT...",
               "at": "2026-11-21T07:12:52Z",
               "status": 200,
               "bytes": 4079,
               "sha256_prefix": "3f2ddf449486f3e7",
               "changed": true
              }
             ]
            },
            {
             "at": "2026-11-20T18:16:06Z",
             "finished": "2026-11-20T18:16:08Z",
             "ok": 1,
             "failed": 0,
             "reads": [
              {
               "name": "forecast",
               "url": "https://api.open-meteo.com/v1/forecast?latitude=51.5074&longitude=-0.1278&hourly=temperature_2m,precipitation_probability,precipitation,wind_speed_10m,wind_gusts_10m,wind_direction_10m,weather_code&daily=temperature_2m_min,temperature_2m_max,precipitation_sum,weather_code&forecast_days=3&timezone=UT...",
               "at": "2026-11-20T18:16:08Z",
               "status": 200,
               "bytes": 4082,
               "sha256_prefix": "810710dae8e7b7e4",
               "changed": true
              }
             ]
            },
            {
             "at": "2026-11-20T07:17:28Z",
             "finished": "2026-11-20T07:17:29Z",
             "ok": 1,
             "failed": 0,
             "reads": [
              {
               "name": "forecast",
               "url": "https://api.open-meteo.com/v1/forecast?latitude=51.5074&longitude=-0.1278&hourly=temperature_2m,precipitation_probability,precipitation,wind_speed_10m,wind_gusts_10m,wind_direction_10m,weather_code&daily=temperature_2m_min,temperature_2m_max,precipitation_sum,weather_code&forecast_days=3&timezone=UT...",
               "at": "2026-11-20T07:17:29Z",
               "status": 200,
               "bytes": 4087,
               "sha256_prefix": "f8231963ddfde2b8",
               "changed": true
              }
             ]
            }
           ]
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/open-meteo-london/card.json": {
   "get": {
    "operationId": "get_open_meteo_london_card",
    "tags": [
     "open-meteo-london"
    ],
    "summary": "London forecast (Open-Meteo): the card",
    "description": "Who publishes the source, its reuse terms, the schedule, who owns it, what runs by code, by agents and by people, and the vault.",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "id": {
           "type": "string"
          },
          "title": {
           "type": "string"
          },
          "what": {
           "type": "string"
          },
          "publisher": {
           "type": "string"
          },
          "owner": {
           "type": "string"
          },
          "region": {
           "type": "string"
          },
          "collector": {
           "type": "string"
          },
          "country": {
           "type": "string"
          },
          "places": {
           "type": "array",
           "items": {
            "type": "string"
           }
          },
          "place": {
           "type": "object",
           "properties": {
            "id": {
             "type": "string"
            },
            "name": {
             "type": "string"
            },
            "lat": {
             "type": "number"
            },
            "lon": {
             "type": "number"
            }
           },
           "required": [
            "id",
            "name",
            "lat",
            "lon"
           ]
          },
          "source_home": {
           "type": "string"
          },
          "reader_page": {
           "type": "string"
          },
          "schedule": {
           "type": "object",
           "properties": {
            "cadence": {
             "type": "string"
            },
            "how": {
             "type": "string"
            }
           },
           "required": [
            "cadence",
            "how"
           ]
          },
          "terms": {
           "type": "object",
           "properties": {
            "summary": {
             "type": "string"
            },
            "page": {
             "type": "string"
            },
            "read_at": {
             "type": "string"
            },
            "quote": {
             "type": "string"
            },
            "quote_lang": {
             "type": "string"
            },
            "republish": {
             "type": "string"
            },
            "open_question": {
             "type": "string"
            }
           },
           "required": [
            "summary",
            "page",
            "read_at",
            "quote",
            "quote_lang",
            "republish",
            "open_question"
           ]
          },
          "api": {
           "type": "object",
           "properties": {
            "latest": {
             "type": "string"
            },
            "reads": {
             "type": "string"
            },
            "card": {
             "type": "string"
            },
            "openapi": {
             "type": "string"
            },
            "page": {
             "type": "string"
            }
           },
           "required": [
            "latest",
            "reads",
            "card",
            "openapi",
            "page"
           ]
          },
          "vault": {
           "type": "null"
          },
          "split": {
           "type": "object",
           "properties": {
            "code": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "agents": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "people": {
             "type": "array",
             "items": {
              "type": "string"
             }
            }
           },
           "required": [
            "code",
            "agents",
            "people"
           ]
          },
          "cost": {
           "type": "object",
           "properties": {
            "per_run_tokens": {
             "type": "integer"
            },
            "per_run_model_cost_usd": {
             "type": "integer"
            },
            "runner": {
             "type": "string"
            },
            "build_tokens": {
             "type": "string"
            },
            "note": {
             "type": "string"
            }
           },
           "required": [
            "per_run_tokens",
            "per_run_model_cost_usd",
            "runner",
            "build_tokens",
            "note"
           ]
          },
          "since": {
           "type": "string"
          }
         },
         "required": [
          "id",
          "title",
          "what",
          "publisher",
          "owner",
          "region",
          "collector",
          "country",
          "places",
          "place",
          "source_home",
          "reader_page",
          "schedule",
          "terms",
          "api",
          "vault",
          "split",
          "cost",
          "since"
         ],
         "x-inferred": true
        },
        "examples": {
         "example": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "id": "open-meteo-london",
           "title": "London forecast (Open-Meteo)",
           "what": "Forecast for London from Open-Meteo: hourly temperature, chance and amount of rain, wind and weather code for 3 days, each day's lowest and highest temperature, and every forecast we served kept for 14 days. A model forecast for a grid point, not a warning.",
           "publisher": "Open-Meteo (OpenMeteo GmbH, Switzerland)",
           "owner": "data.b@PrompTugal.dinis",
           "region": "london",
           "collector": "sources/open-meteo-london/collect.mjs",
           "country": "GB",
           "places": [
            "london"
           ],
           "place": {
            "id": "london",
            "name": "London",
            "lat": 51.5074,
            "lon": -0.1278
           },
           "source_home": "https://open-meteo.com/",
           "reader_page": "https://open-meteo.com/en/docs",
           "schedule": {
            "cadence": "every 6 hours",
            "how": "the Pages workflow (.github/workflows/pages.yml) at 17 minutes past 00, 06, 12 and 18 UTC; one request a run (four a day, far under the 10,000 a day of the free API); every other run keeps the last read, copied from the live site"
           },
           "terms": {
            "summary": "Used under Open-Meteo's free non-commercial terms because data.promptugal.news is free and carries no subscriptions or adverts (Dinis, 18 Nov 2026). Sites that charge must not reuse it without a paid plan; that line is still being settled. Data CC BY 4.0: credit Open-Meteo (link to https://open-mete...",
            "page": "https://open-meteo.com/en/terms",
            "read_at": "2026-11-18",
            "quote": "You may only use the free API services for non-commercial purposes. [...] Private or non-profit websites or apps that do not have subscriptions or advertising. [...] the following examples are considered commercial use: Websites or apps that have subscriptions or display advertisements.",
            "quote_lang": "en",
            "republish": "yes under CC BY 4.0 with attribution; the free API is for non-commercial use only, so a reuser who charges needs a paid plan",
            "open_question": "Dinis's decision (board/team/data/briefs/2026-11-18-dinis-europe-open-data-public-service.md) is that this site is non-commercial; if it ever takes subscriptions or adverts this source must move to a paid plan or the Met Office DataHub. security@PrompTugal.dinis to review."
           },
           "api": {
            "latest": "https://data.promptugal.news/api/v1/open-meteo-london/latest.json",
            "reads": "https://data.promptugal.news/api/v1/open-meteo-london/reads.json",
            "card": "https://data.promptugal.news/api/v1/open-meteo-london/card.json",
            "openapi": "https://data.promptugal.news/api/v1/open-meteo-london/openapi.json",
            "page": "https://data.promptugal.news/sources/open-meteo-london/"
           },
           "vault": null,
           "split": {
            "code": [
             "the collector reads Open-Meteo's forecast API for the point on the card, names the fields, and carries earlier forecasts into history",
             "GitHub Actions runs it and deploys the site"
            ],
            "agents": [
             "data.b.dev@PrompTugal.dinis wrote the collector and card on 18 November 2026 for data.b@ (WS-177)"
            ],
            "people": [
             "Dinis Cruz decided London as the first place beyond Portugal (board/guidance/2026-11-18-london.md) and the use of the free non-commercial API (18 November 2026, about 22:40 UTC); no person has checked the values (not reviewed)"
            ]
           },
           "cost": {
            "per_run_tokens": 0,
            "per_run_model_cost_usd": 0,
            "runner": "GitHub Actions on a public repository: no charge; one request a run (about 4 KB)",
            "build_tokens": "not measured",
            "note": "Code only: no model is called when the data is collected."
           },
           "since": "2026-11-18"
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  },
  "/api/v1/open-meteo-london/openapi.json": {
   "get": {
    "operationId": "get_open_meteo_london_openapi",
    "tags": [
     "open-meteo-london"
    ],
    "summary": "London forecast (Open-Meteo): this document",
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "string"
        }
       }
      }
     }
    }
   }
  },
  "/api/v1/open-meteo-london/raw/{file}": {
   "get": {
    "operationId": "get_open_meteo_london_raw",
    "tags": [
     "open-meteo-london"
    ],
    "summary": "London forecast (Open-Meteo): the publisher's own file, as read",
    "description": "The bytes Open-Meteo (OpenMeteo GmbH served at the latest read, parsed and re-serialised, unprocessed. The address each came from is in reads.json.",
    "parameters": [
     {
      "name": "file",
      "in": "path",
      "required": true,
      "schema": {
       "type": "string",
       "enum": [
        "forecast.json"
       ]
      },
      "example": "forecast.json"
     }
    ],
    "responses": {
     "200": {
      "description": "The file",
      "content": {
       "application/json": {
        "schema": {
         "type": "object",
         "properties": {
          "latitude": {
           "type": "number"
          },
          "longitude": {
           "type": "number"
          },
          "generationtime_ms": {
           "type": "number"
          },
          "utc_offset_seconds": {
           "type": "integer"
          },
          "timezone": {
           "type": "string"
          },
          "timezone_abbreviation": {
           "type": "string"
          },
          "elevation": {
           "type": "integer"
          },
          "hourly_units": {
           "type": "object",
           "properties": {
            "time": {
             "type": "string"
            },
            "temperature_2m": {
             "type": "string"
            },
            "precipitation_probability": {
             "type": "string"
            },
            "precipitation": {
             "type": "string"
            },
            "wind_speed_10m": {
             "type": "string"
            },
            "wind_gusts_10m": {
             "type": "string"
            },
            "wind_direction_10m": {
             "type": "string"
            },
            "weather_code": {
             "type": "string"
            }
           },
           "required": [
            "time",
            "temperature_2m",
            "precipitation_probability",
            "precipitation",
            "wind_speed_10m",
            "wind_gusts_10m",
            "wind_direction_10m",
            "weather_code"
           ]
          },
          "hourly": {
           "type": "object",
           "properties": {
            "time": {
             "type": "array",
             "items": {
              "type": "string"
             }
            },
            "temperature_2m": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "precipitation_probability": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            },
            "precipitation": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            },
            "wind_speed_10m": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "wind_gusts_10m": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "wind_direction_10m": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            },
            "weather_code": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            }
           },
           "required": [
            "time",
            "temperature_2m",
            "precipitation_probability",
            "precipitation",
            "wind_speed_10m",
            "wind_gusts_10m",
            "wind_direction_10m",
            "weather_code"
           ]
          },
          "daily_units": {
           "type": "object",
           "properties": {
            "time": {
             "type": "string"
            },
            "temperature_2m_min": {
             "type": "string"
            },
            "temperature_2m_max": {
             "type": "string"
            },
            "precipitation_sum": {
             "type": "string"
            },
            "weather_code": {
             "type": "string"
            }
           },
           "required": [
            "time",
            "temperature_2m_min",
            "temperature_2m_max",
            "precipitation_sum",
            "weather_code"
           ]
          },
          "daily": {
           "type": "object",
           "properties": {
            "time": {
             "type": "array",
             "items": {
              "type": "string",
              "format": "date"
             }
            },
            "temperature_2m_min": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "temperature_2m_max": {
             "type": "array",
             "items": {
              "type": "number"
             }
            },
            "precipitation_sum": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            },
            "weather_code": {
             "type": "array",
             "items": {
              "type": "integer"
             }
            }
           },
           "required": [
            "time",
            "temperature_2m_min",
            "temperature_2m_max",
            "precipitation_sum",
            "weather_code"
           ]
          }
         },
         "required": [
          "latitude",
          "longitude",
          "generationtime_ms",
          "utc_offset_seconds",
          "timezone",
          "timezone_abbreviation",
          "elevation",
          "hourly_units",
          "hourly",
          "daily_units",
          "daily"
         ],
         "x-inferred": true
        },
        "examples": {
         "forecast.json": {
          "summary": "A real file, cut to a readable size",
          "value": {
           "latitude": 51.51147,
           "longitude": -0.13078308,
           "generationtime_ms": 1.8020868301391602,
           "utc_offset_seconds": 0,
           "timezone": "GMT",
           "timezone_abbreviation": "GMT",
           "elevation": 16,
           "hourly_units": {
            "time": "iso8601",
            "temperature_2m": "°C",
            "precipitation_probability": "%",
            "precipitation": "mm",
            "wind_speed_10m": "km/h",
            "wind_gusts_10m": "km/h",
            "wind_direction_10m": "°",
            "weather_code": "wmo code"
           },
           "hourly": {
            "time": [
             "2026-11-21T00:00",
             "2026-11-21T01:00",
             "2026-11-21T02:00"
            ],
            "temperature_2m": [
             5.3,
             4.3,
             4.2
            ],
            "precipitation_probability": [
             0,
             0,
             0
            ],
            "precipitation": [
             0,
             0,
             0
            ],
            "wind_speed_10m": [
             2.9,
             1.1,
             3.2
            ],
            "wind_gusts_10m": [
             7.6,
             4.7,
             7.6
            ],
            "wind_direction_10m": [
             18,
             24,
             84
            ],
            "weather_code": [
             1,
             2,
             0
            ]
           },
           "daily_units": {
            "time": "iso8601",
            "temperature_2m_min": "°C",
            "temperature_2m_max": "°C",
            "precipitation_sum": "mm",
            "weather_code": "wmo code"
           },
           "daily": {
            "time": [
             "2026-11-21",
             "2026-11-22",
             "2026-11-23"
            ],
            "temperature_2m_min": [
             4.1,
             5.8,
             4.5
            ],
            "temperature_2m_max": [
             9,
             9.5,
             8
            ],
            "precipitation_sum": [
             0,
             0,
             0
            ],
            "weather_code": [
             3,
             3,
             3
            ]
           }
          }
         }
        }
       }
      }
     },
     "404": {
      "description": "No such file"
     }
    }
   }
  }
 },
 "tags": [
  {
   "name": "open-meteo-london",
   "description": "Forecast for London from Open-Meteo: hourly temperature, chance and amount of rain, wind and weather code for 3 days, each day's lowest and highest temperature, and every forecast we served kept for 14 days. A model forecast for a grid point, not a warning."
  }
 ],
 "x-source": {
  "id": "open-meteo-london",
  "card": "https://data.promptugal.news/api/v1/open-meteo-london/card.json",
  "page": "https://data.promptugal.news/sources/open-meteo-london/"
 }
}
