addedInput schema / properties / lat
Added value: +{
+ "description": "Широта точки (вместе с lon), вместо near",
+ "maximum": 90,
+ "minimum": -90,
+ "type": "number"
+}
addedInput schema / properties / limit
Added value: +{
+ "description": "Сколько станций в каждом слое (по умолчанию 10)",
+ "maximum": 50,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / lon
Added value: +{
+ "description": "Долгота точки (вместе с lat)",
+ "maximum": 180,
+ "minimum": -180,
+ "type": "number"
+}
addedInput schema / properties / min_kw
Added value: +{
+ "description": "Только станции от этой мощности, кВт (быстрые - от 50); станции без указанной мощности тогда не попадают",
+ "maximum": 1000,
+ "minimum": 0,
+ "type": "number"
+}
addedInput schema / properties / model
Added value: +{
+ "description": "Машина для минут, цены и зимнего запаса: Идентификатор модели (zeekr-001) или её название («Zeekr 001», «москвич 3е»)",
+ "type": "string"
+}
addedInput schema / properties / near
Added value: +{
+ "description": "Город или место, рядом с которым искать («Калининград», «Зеленоградск»)",
+ "type": "string"
+}
addedInput schema / properties / radius_km
Added value: +{
+ "description": "Радиус поиска вокруг места, км (по умолчанию 50)",
+ "maximum": 300,
+ "minimum": 1,
+ "type": "number"
+}
changedInput schema / properties / region / description
Previous value: -"Город или регион («Калининград», «Москва», kaliningrad); без него — все города, по которым есть данные"New value: +"То же, что near (старое имя): город или регион"
addedInput schema / properties / station
Added value: +{
+ "description": "Номер станции (cs_ и 16 знаков) из прошлого ответа - станция целиком",
+ "type": "string"
+}
changedInput schema / properties / to / description
Previous value: -"Куда едете, если вопрос о дороге («Калининград»)"New value: +"Куда едете: с model ответ скажет, хватит ли зимнего запаса до этого города"
addedOutput schema / properties / car
Added value: +{
+ "properties": {
+ "name": {
+ "type": "string"
+ },
+ "port": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "slug": {
+ "type": "string"
+ },
+ "winter_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+}
addedOutput schema / properties / hidden_no_power
Added value: +{
+ "description": "Сколько станций в радиусе скрыл фильтр min_kw, потому что их мощность не указана",
+ "type": "integer"
+}
removedOutput schema / properties / known_places
Removed value: -{
- "items": {
- "properties": {
- "name": {
- "type": "string"
- },
- "slug": {
- "type": "string"
- }
- },
- "required": [
- "slug",
- "name"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / map_url
Added value: +{
+ "type": "string"
+}
addedOutput schema / properties / min_kw
Added value: +{
+ "type": [
+ "number",
+ "null"
+ ]
+}
addedOutput schema / properties / mode
Added value: +{
+ "enum": [
+ "summary",
+ "near",
+ "trip",
+ "station"
+ ],
+ "type": "string"
+}
changedOutput schema / properties / not_covered / description
Previous value: -"Названные места, по которым данных нет"New value: +"Названные места, которых нет среди городов России"
addedOutput schema / properties / origin
Added value: +{
+ "properties": {
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+}
addedOutput schema / properties / osm_stations
Added value: +{
+ "description": "Отдельный слой OpenStreetMap под ODbL - условия в osm_terms",
+ "items": {
+ "properties": {
+ "access": {
+ "type": "string"
+ },
+ "address": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "for_car": {
+ "description": "Ответ для машины (model): подходит ли разъём, минуты 10-80 % и их основание, цена сессии",
+ "properties": {
+ "ac_power_provisional": {
+ "description": "Мощность зарядки машины от сети в каталоге предварительная",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "fit": {
+ "enum": [
+ "yes",
+ "adapter",
+ "unknown",
+ "no"
+ ],
+ "type": "string"
+ },
+ "minutes_10_80": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "minutes_basis": {
+ "enum": [
+ "published",
+ "calculated",
+ "estimated",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "plug": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "price": {
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "fit",
+ "minutes_10_80",
+ "minutes_basis",
+ "price"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "layer": {
+ "type": "string"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "max_kw": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "owner_mark": {
+ "description": "Последняя отметка владельца «работает / не работает» с датой и счёт за 30 дней; null - отметок нет, статус неизвестен",
+ "properties": {
+ "at": {
+ "type": "string"
+ },
+ "broken_30d": {
+ "type": "integer"
+ },
+ "works": {
+ "type": "boolean"
+ },
+ "works_30d": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "works",
+ "at"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "plugs": {
+ "items": {
+ "properties": {
+ "current": {
+ "enum": [
+ "ac",
+ "dc",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kw": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "kw",
+ "current"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ports": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "pricing": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "license": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "as_of"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "address",
+ "lat",
+ "lon",
+ "plugs",
+ "for_car",
+ "owner_mark",
+ "source",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / osm_terms
Added value: +{
+ "description": "Условия слоя OpenStreetMap (PROJECT §3.2: отдаётся отдельно и под ODbL)",
+ "properties": {
+ "attribution": {
+ "type": "string"
+ },
+ "license": {
+ "type": "string"
+ },
+ "note": {
+ "type": "string"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "license",
+ "attribution",
+ "url"
+ ],
+ "type": "object"
+}
removedOutput schema / properties / places
Removed value: -{
- "items": {
- "properties": {
- "name": {
- "type": "string"
- },
- "operators": {
- "items": {
- "properties": {
- "approx": {
- "type": "boolean"
- },
- "name": {
- "type": "string"
- },
- "plan": {
- "type": "boolean"
- },
- "provenance": {
- "type": "string"
- },
- "stations": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "name",
- "stations",
- "approx",
- "plan",
- "provenance"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "operators_checked": {
- "type": [
- "string",
- "null"
- ]
- },
- "slug": {
- "type": "string"
- },
- "stations": {
- "type": [
- "number",
- "null"
- ]
- },
- "stations_as_of": {
- "type": [
- "string",
- "null"
- ]
- },
- "stations_basis": {
- "type": [
- "string",
- "null"
- ]
- },
- "stations_source_url": {
- "type": [
- "string",
- "null"
- ]
- },
- "url": {
- "type": "string"
- }
- },
- "required": [
- "slug",
- "name",
- "stations",
- "stations_source_url",
- "stations_as_of",
- "operators",
- "url"
- ],
- "type": "object"
- },
- "type": "array"
-}
addedOutput schema / properties / radius_km
Added value: +{
+ "type": "number"
+}
addedOutput schema / properties / reach
Added value: +{
+ "description": "Хватит ли зимнего запаса (−10 °C, полный заряд, резерв 10 %) до города to: yes / no / if_road_within (хватит, если дорога не длиннее rangeKm) / unknown",
+ "properties": {
+ "basis": {
+ "type": "string"
+ },
+ "distanceKm": {
+ "type": "number"
+ },
+ "marginKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rangeHighKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "rangeKm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "straightKm": {
+ "type": "number"
+ },
+ "verdict": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+}
removedOutput schema / properties / route_covered
Removed value: -{
- "description": "Есть ли данные о станциях на маршруте (пока всегда false)",
- "type": "boolean"
-}
addedOutput schema / properties / stations
Added value: +{
+ "description": "Реестр Электроатласа (без OpenStreetMap)",
+ "items": {
+ "properties": {
+ "access": {
+ "type": "string"
+ },
+ "address": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "city": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "distance_km": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "for_car": {
+ "description": "Ответ для машины (model): подходит ли разъём, минуты 10-80 % и их основание, цена сессии",
+ "properties": {
+ "ac_power_provisional": {
+ "description": "Мощность зарядки машины от сети в каталоге предварительная",
+ "type": [
+ "boolean",
+ "null"
+ ]
+ },
+ "fit": {
+ "enum": [
+ "yes",
+ "adapter",
+ "unknown",
+ "no"
+ ],
+ "type": "string"
+ },
+ "minutes_10_80": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "minutes_basis": {
+ "enum": [
+ "published",
+ "calculated",
+ "estimated",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "plug": {
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "price": {
+ "properties": {
+ "amount": {
+ "type": "number"
+ },
+ "currency": {
+ "type": "string"
+ }
+ },
+ "type": [
+ "object",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "fit",
+ "minutes_10_80",
+ "minutes_basis",
+ "price"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "id": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "layer": {
+ "type": "string"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "max_kw": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "name": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "network": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "owner_mark": {
+ "description": "Последняя отметка владельца «работает / не работает» с датой и счёт за 30 дней; null - отметок нет, статус неизвестен",
+ "properties": {
+ "at": {
+ "type": "string"
+ },
+ "broken_30d": {
+ "type": "integer"
+ },
+ "works": {
+ "type": "boolean"
+ },
+ "works_30d": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "works",
+ "at"
+ ],
+ "type": [
+ "object",
+ "null"
+ ]
+ },
+ "plugs": {
+ "items": {
+ "properties": {
+ "current": {
+ "enum": [
+ "ac",
+ "dc",
+ null
+ ],
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "kw": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "type": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "type",
+ "kw",
+ "current"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "ports": {
+ "type": [
+ "integer",
+ "null"
+ ]
+ },
+ "pricing": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "source": {
+ "properties": {
+ "as_of": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "license": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "name": {
+ "type": "string"
+ },
+ "url": {
+ "type": [
+ "string",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "name",
+ "url",
+ "as_of"
+ ],
+ "type": "object"
+ },
+ "url": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "id",
+ "name",
+ "address",
+ "lat",
+ "lon",
+ "plugs",
+ "for_car",
+ "owner_mark",
+ "source",
+ "url"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
addedOutput schema / properties / stations_total
Added value: +{
+ "type": "integer"
+}
changedOutput schema / required
Previous value: -[
- "places",
- "not_covered",
- "route_covered",
- "known_places",
- "terms"
-]New value: +[
+ "mode",
+ "map_url",
+ "stations_total",
+ "stations",
+ "osm_stations",
+ "osm_terms",
+ "radius_km",
+ "not_covered",
+ "terms"
+]