addedInput schema / additionalProperties
Added value: +false
changedInput schema / properties / bbox / description
Previous value: -"Bounding box as \"minLon,minLat,maxLon,maxLat\""New value: +"Bounding box as \"minLon,minLat,maxLon,maxLat\" in decimal degrees, longitude first. Example for central Madrid: \"-3.75,40.38,-3.65,40.45\"."
addedInput schema / properties / bbox / pattern
Added value: +"^\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*,\\s*-?\\d+(\\.\\d+)?\\s*$"
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"
+]
addedInput schema / properties / limit
Added value: +{
+ "default": 20,
+ "description": "How many stations to return, 1 to 100. Default 20.",
+ "maximum": 100,
+ "minimum": 1,
+ "type": "integer"
+}
addedInput schema / properties / sort_by
Added value: +{
+ "default": "price",
+ "description": "price (cheapest first, default) or distance (from the centre of the box).",
+ "enum": [
+ "price",
+ "distance"
+ ],
+ "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"
+}