addedInput schema / additionalProperties
Added value: +false
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 / lat / description
Previous value: -"Latitude of the search centre"New value: +"Latitude of the search point in decimal degrees, e.g. 40.4168. Give with lon, or use near instead."
addedInput schema / properties / lat / maximum
Added value: +90
addedInput schema / properties / lat / minimum
Added value: +-90
addedInput schema / properties / limit / default
Added value: +5
changedInput schema / properties / limit / description
Previous value: -"Maximum number of results (default 5)"New value: +"How many stations to return, 1 to 50. Default 5."
addedInput schema / properties / limit / maximum
Added value: +50
addedInput schema / properties / limit / minimum
Added value: +1
changedInput schema / properties / limit / type
Previous value: -"number"New value: +"integer"
changedInput schema / properties / lon / description
Previous value: -"Longitude of the search centre"New value: +"Longitude of the search point in decimal degrees, e.g. -3.7038. Give with lat, or use near instead."
addedInput schema / properties / lon / maximum
Added value: +180
addedInput schema / properties / lon / minimum
Added value: +-180
addedInput schema / properties / near
Added value: +{
+ "description": "Place name or address to search around, e.g. \"Atocha, Madrid\". Used when lat and lon are not given.",
+ "maxLength": 200,
+ "minLength": 1,
+ "type": "string"
+}
addedInput schema / properties / radius_km / default
Added value: +10
changedInput schema / properties / radius_km / description
Previous value: -"Search radius in kilometres (default 10)"New value: +"Search radius in km, 0.5 to 100. Default 10."
addedInput schema / properties / radius_km / maximum
Added value: +100
addedInput schema / properties / radius_km / minimum
Added value: +0.5
addedInput schema / properties / sort_by
Added value: +{
+ "default": "distance",
+ "description": "distance (nearest first, default) or price (cheapest first).",
+ "enum": [
+ "distance",
+ "price"
+ ],
+ "type": "string"
+}
changedInput schema / required
Previous value: -[
- "lat",
- "lon",
- "fuel"
-]New value: +[
+ "fuel"
+]
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"
+}