{
  "components": {
    "schemas": {
      "AQICategory": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "from": {
            "format": "int64",
            "type": "integer"
          },
          "to": {
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "code",
          "from",
          "to"
        ],
        "type": "object"
      },
      "AQIScale": {
        "additionalProperties": false,
        "properties": {
          "categories": {
            "items": {
              "$ref": "#/components/schemas/AQICategory"
            },
            "type": "array"
          },
          "version": {
            "type": "string"
          }
        },
        "required": [
          "version",
          "categories"
        ],
        "type": "object"
      },
      "DataMeta": {
        "additionalProperties": false,
        "properties": {
          "at": {
            "description": "момент среза; null — текущий срез",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "calibration": {
            "description": "версия калибровки и AQI, на которой посчитан ответ",
            "type": "string"
          },
          "generated_at": {
            "description": "когда ядро собрало ответ",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "calibration",
          "generated_at",
          "at"
        ],
        "type": "object"
      },
      "Dictionary": {
        "additionalProperties": false,
        "properties": {
          "aqi": {
            "$ref": "#/components/schemas/AQIScale"
          },
          "metrics": {
            "items": {
              "$ref": "#/components/schemas/Metric"
            },
            "type": "array"
          }
        },
        "required": [
          "metrics",
          "aqi"
        ],
        "type": "object"
      },
      "EnvelopeDictionaryNoMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Dictionary"
          },
          "meta": {
            "$ref": "#/components/schemas/NoMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeListPlaceDataMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Place"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeListReadingSeriesMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Reading"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/SeriesMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeListStationDataMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "items": {
              "$ref": "#/components/schemas/Station"
            },
            "type": [
              "array",
              "null"
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeOptWindRoseWindMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/WindRose"
              },
              {
                "type": "null"
              }
            ]
          },
          "meta": {
            "$ref": "#/components/schemas/WindMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopePlaceDataMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Place"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeStationDataMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Station"
          },
          "meta": {
            "$ref": "#/components/schemas/DataMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeStatusNoMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/Status"
          },
          "meta": {
            "$ref": "#/components/schemas/NoMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "EnvelopeWindFieldWindFieldMeta": {
        "additionalProperties": false,
        "properties": {
          "data": {
            "$ref": "#/components/schemas/WindField"
          },
          "meta": {
            "$ref": "#/components/schemas/WindFieldMeta"
          }
        },
        "required": [
          "data",
          "meta"
        ],
        "type": "object"
      },
      "Error": {
        "additionalProperties": false,
        "properties": {
          "error": {
            "$ref": "#/components/schemas/ErrorInfo"
          }
        },
        "required": [
          "error"
        ],
        "type": "object"
      },
      "ErrorDetail": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "field": {
            "type": "string"
          },
          "message": {
            "type": "string"
          }
        },
        "required": [
          "field",
          "code",
          "message"
        ],
        "type": "object"
      },
      "ErrorInfo": {
        "additionalProperties": false,
        "properties": {
          "code": {
            "type": "string"
          },
          "details": {
            "items": {
              "$ref": "#/components/schemas/ErrorDetail"
            },
            "type": "array"
          },
          "message": {
            "type": "string"
          },
          "trace_id": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "message",
          "trace_id",
          "details"
        ],
        "type": "object"
      },
      "Location": {
        "additionalProperties": false,
        "properties": {
          "lat": {
            "format": "double",
            "type": "number"
          },
          "lon": {
            "format": "double",
            "type": "number"
          },
          "precision_m": {
            "description": "шаг сетки, к которой привязаны координаты приватной станции, в метрах; null — координаты точные",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "lat",
          "lon",
          "precision_m"
        ],
        "type": "object"
      },
      "Metric": {
        "additionalProperties": false,
        "properties": {
          "aqi": {
            "description": "у метрики считается AQI",
            "type": "boolean"
          },
          "code": {
            "type": "string"
          },
          "decimals": {
            "description": "знаков после запятой в значениях: точнее датчик не меряет",
            "format": "int64",
            "type": "integer"
          },
          "unit": {
            "type": "string"
          }
        },
        "required": [
          "code",
          "unit",
          "aqi",
          "decimals"
        ],
        "type": "object"
      },
      "MetricValue": {
        "additionalProperties": false,
        "properties": {
          "aqi": {
            "description": "AQI метрики; null — у метрики AQI нет",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "flags": {
            "description": "fallback — час закрыт запасным источником; uncalibrated — калибровки для модели датчика нет",
            "items": {
              "type": "string"
            },
            "type": "array"
          },
          "value": {
            "description": "калиброванное значение в единицах метрики (/api/v1/metrics)",
            "format": "double",
            "type": [
              "number",
              "null"
            ]
          }
        },
        "required": [
          "value",
          "aqi",
          "flags"
        ],
        "type": "object"
      },
      "Names": {
        "additionalProperties": false,
        "properties": {
          "en": {
            "type": [
              "string",
              "null"
            ]
          },
          "hy": {
            "type": [
              "string",
              "null"
            ]
          },
          "ru": {
            "type": [
              "string",
              "null"
            ]
          }
        },
        "required": [
          "hy",
          "ru",
          "en"
        ],
        "type": "object"
      },
      "NoMeta": {
        "additionalProperties": false,
        "type": "object"
      },
      "Place": {
        "additionalProperties": false,
        "properties": {
          "center": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Point"
              },
              {
                "type": "null"
              }
            ]
          },
          "current": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Reading"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "$ref": "#/components/schemas/Names"
          },
          "slug": {
            "type": "string"
          },
          "stations": {
            "description": "сколько видимых станций в месте",
            "format": "int64",
            "type": "integer"
          }
        },
        "required": [
          "slug",
          "name",
          "center",
          "stations",
          "current"
        ],
        "type": "object"
      },
      "Point": {
        "additionalProperties": false,
        "properties": {
          "lat": {
            "format": "double",
            "type": "number"
          },
          "lon": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "lat",
          "lon"
        ],
        "type": "object"
      },
      "Reading": {
        "additionalProperties": false,
        "properties": {
          "aqi": {
            "description": "общий AQI: максимум AQI метрик; в v1 — AQI PM2.5",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "category": {
            "description": "категория общего AQI по шкале из /api/v1/metrics",
            "type": [
              "string",
              "null"
            ]
          },
          "date": {
            "description": "ереванская дата суток (YYYY-MM-DD); у часа null",
            "type": [
              "string",
              "null"
            ]
          },
          "hours": {
            "description": "сколько часов из 24 вошло в сутки; у часа null",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "partial": {
            "description": "интервал ещё идёт, значения могут измениться",
            "type": "boolean"
          },
          "stations": {
            "description": "по скольким станциям посчитано значение места; у станции null",
            "format": "int64",
            "type": [
              "integer",
              "null"
            ]
          },
          "time": {
            "description": "начало интервала, UTC",
            "format": "date-time",
            "type": "string"
          },
          "values": {
            "additionalProperties": {
              "$ref": "#/components/schemas/MetricValue"
            },
            "description": "значения по кодам метрик",
            "type": "object"
          }
        },
        "required": [
          "time",
          "date",
          "partial",
          "hours",
          "stations",
          "aqi",
          "category",
          "values"
        ],
        "type": "object"
      },
      "SeriesMeta": {
        "additionalProperties": false,
        "properties": {
          "calibration": {
            "type": "string"
          },
          "from": {
            "description": "начало окна, включительно",
            "format": "date-time",
            "type": "string"
          },
          "step": {
            "enum": [
              "hour",
              "day"
            ],
            "type": "string"
          },
          "to": {
            "description": "конец окна, не включительно",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "step",
          "from",
          "to",
          "calibration"
        ],
        "type": "object"
      },
      "Station": {
        "additionalProperties": false,
        "properties": {
          "current": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Reading"
              },
              {
                "type": "null"
              }
            ],
            "description": "последний час не старше трёх; null — станция молчит"
          },
          "external_id": {
            "description": "id станции у чужой сети; у своих null",
            "type": [
              "string",
              "null"
            ]
          },
          "id": {
            "format": "int64",
            "type": "integer"
          },
          "last_seen_at": {
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "location": {
            "anyOf": [
              {
                "$ref": "#/components/schemas/Location"
              },
              {
                "type": "null"
              }
            ]
          },
          "name": {
            "description": "имя, которое владелец согласовал к показу; у приватной станции тоже; null — имени нет",
            "type": [
              "string",
              "null"
            ]
          },
          "place": {
            "description": "слаг опубликованного места",
            "type": [
              "string",
              "null"
            ]
          },
          "source": {
            "description": "сеть: armaqi, sensor_community, yerevan_gis; клиент терпит незнакомые",
            "type": "string"
          }
        },
        "required": [
          "id",
          "source",
          "external_id",
          "name",
          "location",
          "place",
          "last_seen_at",
          "current"
        ],
        "type": "object"
      },
      "Status": {
        "additionalProperties": false,
        "properties": {
          "common": {
            "$ref": "#/components/schemas/StatusEntry",
            "description": "худшее из components"
          },
          "components": {
            "additionalProperties": {
              "$ref": "#/components/schemas/StatusEntry"
            },
            "type": "object"
          }
        },
        "required": [
          "common",
          "components"
        ],
        "type": "object"
      },
      "StatusEntry": {
        "additionalProperties": false,
        "properties": {
          "reason": {
            "description": "пояснение для клиентов API и журналов",
            "type": [
              "string",
              "null"
            ]
          },
          "status": {
            "enum": [
              "operational",
              "partial_outage",
              "major_outage",
              "maintenance"
            ],
            "type": "string"
          }
        },
        "required": [
          "status",
          "reason"
        ],
        "type": "object"
      },
      "WindField": {
        "additionalProperties": false,
        "properties": {
          "nodes": {
            "description": "узлы, у которых в окне есть ветер",
            "items": {
              "$ref": "#/components/schemas/WindFieldNode"
            },
            "type": "array"
          }
        },
        "required": [
          "nodes"
        ],
        "type": "object"
      },
      "WindFieldMeta": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "description": "атрибуция данных модели: показать рядом со слоем",
            "type": "string"
          },
          "calm_below": {
            "description": "порог штиля, м/с",
            "format": "double",
            "type": "number"
          },
          "from": {
            "description": "начало окна, включительно",
            "format": "date-time",
            "type": "string"
          },
          "mode": {
            "description": "сейчас, час или среднее за период",
            "enum": [
              "now",
              "hour",
              "period"
            ],
            "type": "string"
          },
          "model": {
            "enum": [
              "owm",
              "era5"
            ],
            "type": "string"
          },
          "step": {
            "description": "шаг сетки узлов, градусы",
            "format": "double",
            "type": "number"
          },
          "to": {
            "description": "конец окна, не включительно",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "model",
          "mode",
          "attribution",
          "from",
          "to",
          "step",
          "calm_below"
        ],
        "type": "object"
      },
      "WindFieldNode": {
        "additionalProperties": false,
        "properties": {
          "calm": {
            "description": "из них штиль (ниже meta.calm_below)",
            "format": "int64",
            "type": "integer"
          },
          "lat": {
            "format": "double",
            "type": "number"
          },
          "lon": {
            "format": "double",
            "type": "number"
          },
          "observations": {
            "description": "наблюдений узла в окне",
            "format": "int64",
            "type": "integer"
          },
          "speed": {
            "description": "средняя скорость, м/с (не длина среднего вектора)",
            "format": "double",
            "type": "number"
          },
          "steadiness": {
            "anyOf": [
              {
                "format": "double",
                "type": "number"
              },
              {
                "type": "null"
              }
            ],
            "description": "устойчивость: длина среднего вектора к средней скорости, 0–1; только у периода"
          },
          "u": {
            "description": "средний вектор: составляющая движения воздуха на восток, м/с",
            "format": "double",
            "type": "number"
          },
          "v": {
            "description": "средний вектор: составляющая движения воздуха на север, м/с",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "lat",
          "lon",
          "u",
          "v",
          "speed",
          "steadiness",
          "observations",
          "calm"
        ],
        "type": "object"
      },
      "WindMeta": {
        "additionalProperties": false,
        "properties": {
          "attribution": {
            "description": "атрибуция данных модели: показать рядом с розой",
            "type": "string"
          },
          "calm_below": {
            "description": "порог штиля, м/с",
            "format": "double",
            "type": "number"
          },
          "from": {
            "description": "начало окна, включительно",
            "format": "date-time",
            "type": "string"
          },
          "model": {
            "enum": [
              "era5",
              "owm"
            ],
            "type": "string"
          },
          "speed_bins": {
            "description": "нижние границы корзин скорости, м/с; последняя корзина открыта сверху",
            "items": {
              "format": "double",
              "type": "number"
            },
            "type": "array"
          },
          "to": {
            "description": "конец окна, не включительно",
            "format": "date-time",
            "type": "string"
          }
        },
        "required": [
          "model",
          "attribution",
          "from",
          "to",
          "calm_below",
          "speed_bins"
        ],
        "type": "object"
      },
      "WindNode": {
        "additionalProperties": false,
        "properties": {
          "distance_km": {
            "description": "от станции или центра места до узла, км",
            "format": "double",
            "type": "number"
          },
          "lat": {
            "format": "double",
            "type": "number"
          },
          "lon": {
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "lat",
          "lon",
          "distance_km"
        ],
        "type": "object"
      },
      "WindRose": {
        "additionalProperties": false,
        "properties": {
          "calm": {
            "description": "наблюдений со скоростью ниже meta.calm_below: направление не определено",
            "format": "int64",
            "type": "integer"
          },
          "first": {
            "description": "первое наблюдение в окне",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "last": {
            "description": "последнее наблюдение в окне: у era5 — на ~6 суток раньше текущего часа",
            "format": "date-time",
            "type": [
              "string",
              "null"
            ]
          },
          "node": {
            "$ref": "#/components/schemas/WindNode",
            "description": "узел сетки модели, по которому посчитана роза"
          },
          "observations": {
            "description": "наблюдений в окне: calm плюс все counts. У era5 наблюдение — час; 0 — данных за окно нет",
            "format": "int64",
            "type": "integer"
          },
          "sectors": {
            "description": "16 секторов по 22,5° начиная с севера",
            "items": {
              "$ref": "#/components/schemas/WindSector"
            },
            "type": "array"
          }
        },
        "required": [
          "node",
          "observations",
          "calm",
          "first",
          "last",
          "sectors"
        ],
        "type": "object"
      },
      "WindSector": {
        "additionalProperties": false,
        "properties": {
          "counts": {
            "description": "наблюдений в секторе по корзинам скорости из meta.speed_bins",
            "items": {
              "format": "int64",
              "type": "integer"
            },
            "type": "array"
          },
          "direction": {
            "description": "центр сектора: откуда дует, градусы от севера по часовой",
            "format": "double",
            "type": "number"
          }
        },
        "required": [
          "direction",
          "counts"
        ],
        "type": "object"
      }
    }
  },
  "info": {
    "description": "Read-only public API of ArmAQI, community air quality monitoring in Armenia. No key required.\n\nConventions:\n- times are UTC, `time` is the start of the interval; Armenia is UTC+4 all year;\n- PM2.5 and PM10 in µg/m³: hourly means, or the mean of the available hours of a Yerevan day (`hours` of 24);\n- history and wind windows: `period`, or `from` and `to` together. A date `YYYY-MM-DD` is a Yerevan day, and `to` includes it: `from=2026-10-01&to=2026-10-31` is all of October. An RFC 3339 moment also works; as `to` it is exclusive;\n- `current` is the latest hour not older than three; `partial: true` — the hour is in progress, values can change;\n- `aqi` is an index: US EPA 2024 PM2.5 breakpoints applied to the interval's PM2.5. Hourly values are not the official 24-hour AQI or NowCast; quote it as an index;\n- a city value is the median of the city's visible non-indoor stations with data, at least 3; `stations` is how many went in;\n- `null` means no data, never zero;\n- private stations have no name and coordinates snapped to a grid (`location.precision_m`).\n\nLimits: 60 requests per minute per client IP, burst 30. Over the limit — 429 with `Retry-After` in seconds. Responses are cached for about 30 seconds; the last three hours are recalculated about every minute.\n\nTerms: access does not grant a licence for the data. Yerevan municipality data (`source: yerevan_gis`) has no stated reuse terms: fetch it selectively for answers and analysis, do not download the whole dataset or a substantial part of it, and attribute \"Yerevan Municipality\". Sensor.Community data is DbCL 1.0 (ODbL share-alike). Details by source: https://armaqi.org/llms.txt.\n\nAgent guide: https://armaqi.org/llms.txt. Field descriptions are currently in Russian.",
    "title": "ArmAQI public API",
    "version": "dev"
  },
  "openapi": "3.1.0",
  "paths": {
    "/api/v1/metrics": {
      "get": {
        "operationId": "get-metrics",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeDictionaryNoMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "default": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Error"
          }
        },
        "summary": "Словарь метрик и шкала AQI",
        "tags": [
          "service"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/places": {
      "get": {
        "operationId": "list-places",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeListPlaceDataMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Опубликованные места с текущим срезом",
        "tags": [
          "places"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/places/{slug}": {
      "get": {
        "operationId": "get-place",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "maxLength": 64,
              "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopePlaceDataMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Место с текущим срезом",
        "tags": [
          "places"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/places/{slug}/history": {
      "get": {
        "operationId": "get-place-history",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "maxLength": 64,
              "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
              "type": "string"
            }
          },
          {
            "description": "шаг ряда",
            "explode": false,
            "in": "query",
            "name": "step",
            "schema": {
              "default": "hour",
              "description": "шаг ряда",
              "enum": [
                "hour",
                "day"
              ],
              "type": "string"
            }
          },
          {
            "description": "окно, кончающееся сейчас; вместо from/to. По умолчанию 1d для часов и 30d для суток",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "окно, кончающееся сейчас; вместо from/to. По умолчанию 1d для часов и 30d для суток",
              "enum": [
                "1d",
                "7d",
                "30d",
                "365d"
              ],
              "type": "string"
            }
          },
          {
            "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "коды метрик через запятую; по умолчанию все",
            "explode": false,
            "in": "query",
            "name": "metrics",
            "schema": {
              "description": "коды метрик через запятую; по умолчанию все",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeListReadingSeriesMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Ряд места: медиана его станций",
        "tags": [
          "places"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/places/{slug}/wind": {
      "get": {
        "description": "По узлу погодной сетки модели, ближайшему к станции (у приватной — к её публичным координатам) или к центру места. Ветер модельный: фон узла сетки 0,1°, а не замер во дворе. data: null — нет координат или узла сетки ближе 10 км. meta.attribution показывать рядом с розой.",
        "operationId": "get-place-wind",
        "parameters": [
          {
            "in": "path",
            "name": "slug",
            "required": true,
            "schema": {
              "maxLength": 64,
              "pattern": "^[a-z0-9]+(-[a-z0-9]+)*$",
              "type": "string"
            }
          },
          {
            "description": "модель ветра: era5 — архив ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток; owm — часовой архив OpenWeather, год назад",
            "explode": false,
            "in": "query",
            "name": "model",
            "schema": {
              "default": "era5",
              "description": "модель ветра: era5 — архив ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток; owm — часовой архив OpenWeather, год назад",
              "enum": [
                "era5",
                "owm"
              ],
              "type": "string"
            }
          },
          {
            "description": "окно, кончающееся текущим часом; вместо from/to. all — с 2019-01-01. По умолчанию 365d",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "окно, кончающееся текущим часом; вместо from/to. all — с 2019-01-01. По умолчанию 365d",
              "enum": [
                "7d",
                "30d",
                "365d",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339, усекается до часа",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339, усекается до часа",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeOptWindRoseWindMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Роза ветров у места",
        "tags": [
          "weather"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations": {
      "get": {
        "description": "С at — тайм-машина (IDEAS п. 6): те же станции, current — значения ровно этого часа или null, если часа нет.",
        "operationId": "list-stations",
        "parameters": [
          {
            "description": "срез на час (RFC 3339, усекается до часа UTC): current — значения ровно этого часа, нет часа — null. Не раньше 2019-01-01T00:00:00Z и не позже текущего часа. Без at — текущий срез",
            "explode": false,
            "in": "query",
            "name": "at",
            "schema": {
              "description": "срез на час (RFC 3339, усекается до часа UTC): current — значения ровно этого часа, нет часа — null. Не раньше 2019-01-01T00:00:00Z и не позже текущего часа. Без at — текущий срез",
              "format": "date-time",
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeListStationDataMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Видимые станции с текущим срезом или срезом на час",
        "tags": [
          "stations"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations/{id}": {
      "get": {
        "operationId": "get-station",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeStationDataMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Станция с текущим срезом",
        "tags": [
          "stations"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations/{id}/badge.png": {
      "get": {
        "description": "Плоский бейдж высотой 20 px: «armaqi AQI» и общий AQI станции на цвете категории; нет текущего среза — «n/a». Текст не зависит от языка. Для <img> на чужих страницах: невидимая станция — 404 с бейджем «armaqi | unknown». PNG с scale=2 — для HiDPI.",
        "operationId": "get-station-badge-png",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "масштаб для HiDPI: 2 — вдвое крупнее (высота 40 px)",
            "explode": false,
            "in": "query",
            "name": "scale",
            "schema": {
              "default": 1,
              "description": "масштаб для HiDPI: 2 — вдвое крупнее (высота 40 px)",
              "enum": [
                1,
                2
              ],
              "format": "int64",
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/png": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "бейдж",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "image/png": {
                "schema": {
                  "contentMediaType": "application/octet-stream",
                  "format": "binary",
                  "type": "string"
                }
              }
            },
            "description": "станции нет или она не видна: бейдж «armaqi | unknown»"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Бейдж станции, PNG",
        "tags": [
          "stations"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations/{id}/badge.svg": {
      "get": {
        "description": "Плоский бейдж высотой 20 px: «armaqi AQI» и общий AQI станции на цвете категории; нет текущего среза — «n/a». Текст не зависит от языка. Для <img> на чужих страницах: невидимая станция — 404 с бейджем «armaqi | unknown».",
        "operationId": "get-station-badge-svg",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "image/svg+xml": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "бейдж",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Security-Policy": {
                "schema": {
                  "type": "string"
                }
              },
              "Content-Type": {
                "schema": {
                  "type": "string"
                }
              },
              "X-Content-Type-Options": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "image/svg+xml": {
                "schema": {
                  "type": "string"
                }
              }
            },
            "description": "станции нет или она не видна: бейдж «armaqi | unknown»"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Бейдж станции, SVG",
        "tags": [
          "stations"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations/{id}/history": {
      "get": {
        "operationId": "get-station-history",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "шаг ряда",
            "explode": false,
            "in": "query",
            "name": "step",
            "schema": {
              "default": "hour",
              "description": "шаг ряда",
              "enum": [
                "hour",
                "day"
              ],
              "type": "string"
            }
          },
          {
            "description": "окно, кончающееся сейчас; вместо from/to. По умолчанию 1d для часов и 30d для суток",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "окно, кончающееся сейчас; вместо from/to. По умолчанию 1d для часов и 30d для суток",
              "enum": [
                "1d",
                "7d",
                "30d",
                "365d"
              ],
              "type": "string"
            }
          },
          {
            "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "коды метрик через запятую; по умолчанию все",
            "explode": false,
            "in": "query",
            "name": "metrics",
            "schema": {
              "description": "коды метрик через запятую; по умолчанию все",
              "items": {
                "type": "string"
              },
              "type": [
                "array",
                "null"
              ]
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeListReadingSeriesMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Ряд станции по часам или суткам",
        "tags": [
          "stations"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/stations/{id}/wind": {
      "get": {
        "description": "По узлу погодной сетки модели, ближайшему к станции (у приватной — к её публичным координатам) или к центру места. Ветер модельный: фон узла сетки 0,1°, а не замер во дворе. data: null — нет координат или узла сетки ближе 10 км. meta.attribution показывать рядом с розой.",
        "operationId": "get-station-wind",
        "parameters": [
          {
            "in": "path",
            "name": "id",
            "required": true,
            "schema": {
              "format": "int64",
              "minimum": 1,
              "type": "integer"
            }
          },
          {
            "description": "модель ветра: era5 — архив ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток; owm — часовой архив OpenWeather, год назад",
            "explode": false,
            "in": "query",
            "name": "model",
            "schema": {
              "default": "era5",
              "description": "модель ветра: era5 — архив ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток; owm — часовой архив OpenWeather, год назад",
              "enum": [
                "era5",
                "owm"
              ],
              "type": "string"
            }
          },
          {
            "description": "окно, кончающееся текущим часом; вместо from/to. all — с 2019-01-01. По умолчанию 365d",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "окно, кончающееся текущим часом; вместо from/to. all — с 2019-01-01. По умолчанию 365d",
              "enum": [
                "7d",
                "30d",
                "365d",
                "all"
              ],
              "type": "string"
            }
          },
          {
            "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339, усекается до часа",
            "explode": false,
            "in": "query",
            "name": "from",
            "schema": {
              "description": "начало окна, вместе с to: дата YYYY-MM-DD (ереванские сутки) или момент RFC 3339, усекается до часа",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          },
          {
            "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
            "explode": false,
            "in": "query",
            "name": "to",
            "schema": {
              "description": "конец окна: дата YYYY-MM-DD — эти сутки включительно; момент RFC 3339 — не включительно",
              "examples": [
                "2026-10-01",
                "2026-10-01T08:00:00Z"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeOptWindRoseWindMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "404": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Not Found"
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Роза ветров у станции",
        "tags": [
          "weather"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/status": {
      "get": {
        "description": "common — худшее из components. 503 — major_outage; заглушки nginx (maintenance, core is unreachable) отдают ту же форму.",
        "operationId": "get-status",
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeStatusNoMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          },
          "503": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Service Unavailable"
          }
        },
        "summary": "Статус API",
        "tags": [
          "service"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    },
    "/api/v1/wind/field": {
      "get": {
        "description": "Ветер по всем узлам сетки 0,1° над Арменией — для слоя карты. Без at и period — сейчас (живой опрос OWM, последние полтора часа); at — час из архива модели; period — среднее за окно, кончающееся началом текущих суток UTC, пересчитывается раз в сутки. Среднее векторное: u и v — средний вектор движения воздуха, speed — средняя скорость, steadiness — их отношение (0 — ветер менялся во все стороны, 1 — дул в одну). Ветер модельный, meta.attribution показывать рядом со слоем.",
        "operationId": "get-wind-field",
        "parameters": [
          {
            "description": "owm — OpenWeather: сейчас из живого опроса, прошлое из часового архива (год назад); era5 — ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток, «сейчас» у него нет",
            "explode": false,
            "in": "query",
            "name": "model",
            "schema": {
              "default": "owm",
              "description": "owm — OpenWeather: сейчас из живого опроса, прошлое из часового архива (год назад); era5 — ERA5 через Open-Meteo с 2019 года, отстаёт на ~6 суток, «сейчас» у него нет",
              "enum": [
                "owm",
                "era5"
              ],
              "type": "string"
            }
          },
          {
            "description": "час (RFC 3339, усекается до часа). Без at и period — сейчас",
            "explode": false,
            "in": "query",
            "name": "at",
            "schema": {
              "description": "час (RFC 3339, усекается до часа). Без at и period — сейчас",
              "format": "date-time",
              "type": "string"
            }
          },
          {
            "description": "среднее за окно, кончающееся началом текущих суток UTC; вместо at",
            "explode": false,
            "in": "query",
            "name": "period",
            "schema": {
              "description": "среднее за окно, кончающееся началом текущих суток UTC; вместо at",
              "enum": [
                "7d",
                "30d",
                "365d"
              ],
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/EnvelopeWindFieldWindFieldMeta"
                }
              }
            },
            "description": "OK",
            "headers": {
              "Cache-Control": {
                "schema": {
                  "type": "string"
                }
              }
            }
          },
          "422": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Unprocessable Entity"
          },
          "429": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Too Many Requests"
          },
          "500": {
            "content": {
              "application/json": {
                "schema": {
                  "$ref": "#/components/schemas/Error"
                }
              }
            },
            "description": "Internal Server Error"
          }
        },
        "summary": "Поле ветра по узлам сетки",
        "tags": [
          "weather"
        ],
        "x-rate-limit": {
          "requests": 60,
          "period": "PT1M",
          "burst": 30,
          "scope": "client IP"
        }
      }
    }
  },
  "servers": [
    {
      "url": "https://armaqi.org",
      "description": "production"
    }
  ]
}
