changedInput schema / examples
Previous value: -[
- {
- "_apiKey": "your-metals-api-key"
- },
- {
- "_apiKey": "your-metals-api-key",
- "base": "EUR",
- "symbols": "XAU,XAG,XPT"
- }
-]New value: +[
+ {
+ "country": "US",
+ "limit": 10
+ },
+ {
+ "country": "IN",
+ "limit": 25
+ }
+]
removedOutput schema / properties / base
Removed value: -{
- "description": "Base currency code (e.g., USD, EUR)",
- "type": "string"
-}
addedOutput schema / properties / count
Added value: +{
+ "description": "Number of stations returned",
+ "type": "number"
+}
removedOutput schema / properties / date
Removed value: -{
- "description": "Date of the latest prices in YYYY-MM-DD format",
- "type": "string"
-}
removedOutput schema / properties / rates
Removed value: -{
- "additionalProperties": {
- "type": "number"
- },
- "description": "Metal spot prices per troy ounce, keyed by symbol (e.g., XAU, XAG)",
- "type": "object"
-}
addedOutput schema / properties / stations
Added value: +{
+ "description": "List of air quality stations with latest measurements",
+ "items": {
+ "properties": {
+ "city": {
+ "description": "City where station is located",
+ "type": "string"
+ },
+ "coordinates": {
+ "properties": {
+ "latitude": {
+ "description": "Latitude coordinate",
+ "type": "number"
+ },
+ "longitude": {
+ "description": "Longitude coordinate",
+ "type": "number"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude"
+ ],
+ "type": "object"
+ },
+ "country": {
+ "description": "Country where station is located",
+ "type": "string"
+ },
+ "location": {
+ "description": "Station location name",
+ "type": "string"
+ },
+ "measurements": {
+ "description": "Current pollutant measurements",
+ "items": {
+ "properties": {
+ "lastUpdated": {
+ "description": "ISO timestamp of last update",
+ "type": "string"
+ },
+ "parameter": {
+ "description": "Pollutant parameter name",
+ "type": "string"
+ },
+ "unit": {
+ "description": "Unit of measurement",
+ "type": "string"
+ },
+ "value": {
+ "description": "Measured value",
+ "type": "number"
+ }
+ },
+ "required": [
+ "parameter",
+ "value",
+ "unit",
+ "lastUpdated"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ }
+ },
+ "required": [
+ "location",
+ "city",
+ "country",
+ "coordinates",
+ "measurements"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+}
removedOutput schema / properties / timestamp
Removed value: -{
- "description": "Unix timestamp of when prices were captured",
- "type": "number"
-}
changedOutput schema / required
Previous value: -[
- "base",
- "date",
- "timestamp",
- "rates"
-]New value: +[
+ "count",
+ "stations"
+]