addedInput schema / additionalProperties
Added value: +false
addedInput schema / properties / corridor_km / default
Added value: +5
changedInput schema / properties / corridor_km / description
Previous value: -"Corridor width in kilometres (default 5)"New value: +"How far from the route a station may be, in km, 0.5 to 50. Default 5."
addedInput schema / properties / corridor_km / maximum
Added value: +50
addedInput schema / properties / corridor_km / minimum
Added value: +0.5
changedInput schema / properties / fuel / description
Previous value: -"Fuel type code (e.g. B7, E5, E10, E85, LPG, CNG, LNG, EV)"New value: +"Fuel code. Common ones: B7 = diesel, E5 = petrol 95, E10 = petrol 95 E10, E5_98 = petrol 98, LPG = autogas, EV = charging. The pumperly://fuel-types resource lists all 16 with labels and price units."
addedInput schema / properties / fuel / enum
Added value: +[
+ "B7",
+ "B7_PREMIUM",
+ "B10",
+ "B_AGRICULTURAL",
+ "HVO",
+ "E5",
+ "E5_PREMIUM",
+ "E10",
+ "E5_98",
+ "E98_E10",
+ "LPG",
+ "CNG",
+ "LNG",
+ "H2",
+ "EV",
+ "ADBLUE"
+]
changedInput schema / properties / geometry / description
Previous value: -"GeoJSON LineString as a JSON string, e.g. {\"type\":\"LineString\",\"coordinates\":[[lon,lat],...]}"New value: +"GeoJSON LineString of the route: {\"type\":\"LineString\",\"coordinates\":[[lon,lat],...]}, longitude first, 2 to 2000 points. calculate_route returns one with include_geometry=true."
addedInput schema / properties / geometry / properties
Added value: +{
+ "coordinates": {
+ "items": {
+ "items": {
+ "type": "number"
+ },
+ "maxItems": 2,
+ "minItems": 2,
+ "type": "array"
+ },
+ "maxItems": 2000,
+ "minItems": 2,
+ "type": "array"
+ },
+ "type": {
+ "enum": [
+ "LineString"
+ ],
+ "type": "string"
+ }
+}
changedInput schema / properties / geometry / type
Previous value: -"string"New value: +"object"
addedInput schema / properties / limit
Added value: +{
+ "default": 10,
+ "description": "How many stations to return, 1 to 50. Default 10.",
+ "maximum": 50,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / sort_by
Added value: +{
+ "default": "price",
+ "description": "price (cheapest first, default) or route (in driving order from the start).",
+ "enum": [
+ "price",
+ "route"
+ ],
+ "type": "string"
+}
changedOutput schema / (root)
Previous value: -nullNew value: +{
+ "additionalProperties": false,
+ "properties": {
+ "center": {
+ "additionalProperties": false,
+ "properties": {
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "type": "string"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "state": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "lat",
+ "lon"
+ ],
+ "type": [
+ "null",
+ "object"
+ ]
+ },
+ "found": {
+ "type": "integer"
+ },
+ "fuel": {
+ "type": "string"
+ },
+ "prices": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "count": {
+ "type": "integer"
+ },
+ "currency": {
+ "type": "string"
+ },
+ "max": {
+ "type": "number"
+ },
+ "median": {
+ "type": "number"
+ },
+ "min": {
+ "type": "number"
+ }
+ },
+ "required": [
+ "currency",
+ "count",
+ "min",
+ "median",
+ "max"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "returned": {
+ "type": "integer"
+ },
+ "sort_by": {
+ "enum": [
+ "price",
+ "distance",
+ "route"
+ ],
+ "type": "string"
+ },
+ "stations": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "address": {
+ "type": "string"
+ },
+ "brand": {
+ "type": "string"
+ },
+ "city": {
+ "type": "string"
+ },
+ "country": {
+ "description": "ISO 3166-1 alpha-2 country code",
+ "type": "string"
+ },
+ "currency": {
+ "description": "ISO 4217 currency of price",
+ "type": "string"
+ },
+ "distance_km": {
+ "description": "Straight-line distance from the search point, km",
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "ev_fees": {
+ "additionalProperties": true,
+ "type": "object"
+ },
+ "lat": {
+ "type": "number"
+ },
+ "lon": {
+ "type": "number"
+ },
+ "name": {
+ "type": "string"
+ },
+ "power_kw": {
+ "description": "EV only: maximum charging power, kW",
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "price": {
+ "description": "Price per unit in currency",
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "reported_at": {
+ "description": "When the price was last reported (RFC 3339)",
+ "type": "string"
+ },
+ "route_km": {
+ "description": "Distance along the route from its start, km",
+ "type": [
+ "null",
+ "number"
+ ]
+ },
+ "unit": {
+ "description": "What the price is per: L, kg or kWh",
+ "type": "string"
+ }
+ },
+ "required": [
+ "name",
+ "lat",
+ "lon"
+ ],
+ "type": "object"
+ },
+ "type": [
+ "null",
+ "array"
+ ]
+ },
+ "unit": {
+ "description": "What prices are per: L, kg or kWh",
+ "type": "string"
+ }
+ },
+ "required": [
+ "fuel",
+ "unit",
+ "sort_by",
+ "found",
+ "returned",
+ "prices",
+ "stations"
+ ],
+ "type": "object"
+}