changedOutput schema / anyOf
Previous value: -[
- {
- "additionalProperties": false,
- "properties": {
- "altitudeM": {
- "type": [
- "number",
- "null"
- ]
- },
- "attribution": {
- "type": "string"
- },
- "hours": {
- "items": {
- "additionalProperties": false,
- "properties": {
- "cloudPct": {
- "type": [
- "number",
- "null"
- ]
- },
- "humidityPct": {
- "type": [
- "number",
- "null"
- ]
- },
- "precipitationHours": {
- "anyOf": [
- {
- "anyOf": [
- {
- "const": 1,
- "type": "number"
- },
- {
- "const": 6,
- "type": "number"
- }
- ]
- },
- {
- "type": "null"
- }
- ]
- },
- "precipitationMm": {
- "type": [
- "number",
- "null"
- ]
- },
- "pressureHpa": {
- "type": [
- "number",
- "null"
- ]
- },
- "symbol": {
- "type": [
- "string",
- "null"
- ]
- },
- "temperatureC": {
- "type": [
- "number",
- "null"
- ]
- },
- "time": {
- "type": "string"
- },
- "windFromDeg": {
- "type": [
- "number",
- "null"
- ]
- },
- "windSpeedMs": {
- "type": [
- "number",
- "null"
- ]
- }
- },
- "required": [
- "time",
- "temperatureC",
- "precipitationMm",
- "precipitationHours",
- "windSpeedMs",
- "windFromDeg",
- "humidityPct",
- "cloudPct",
- "pressureHpa",
- "symbol"
- ],
- "type": "object"
- },
- "type": "array"
- },
- "latitude": {
- "type": "number"
- },
- "longitude": {
- "type": "number"
- },
- "updatedAt": {
- "type": "string"
- }
- },
- "required": [
- "latitude",
- "longitude",
- "altitudeM",
- "updatedAt",
- "hours",
- "attribution"
- ],
- "type": "object"
- },
- {
- "description": "x402 PaymentRequired (returned with isError when payment is needed)",
- "properties": {
- "accepts": {
- "items": {
- "type": "object"
- },
- "type": "array"
- },
- "error": {
- "type": "string"
- },
- "extensions": {
- "type": "object"
- },
- "resource": {
- "type": "object"
- },
- "x402Version": {
- "type": "integer"
- }
- },
- "required": [
- "x402Version",
- "accepts"
- ],
- "type": "object"
- }
-]New value: +[
+ {
+ "additionalProperties": false,
+ "properties": {
+ "altitudeM": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "attribution": {
+ "type": "string"
+ },
+ "hours": {
+ "items": {
+ "additionalProperties": false,
+ "properties": {
+ "cloudPct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "humidityPct": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "precipitationHours": {
+ "anyOf": [
+ {
+ "anyOf": [
+ {
+ "const": 1,
+ "type": "number"
+ },
+ {
+ "const": 6,
+ "type": "number"
+ }
+ ]
+ },
+ {
+ "type": "null"
+ }
+ ]
+ },
+ "precipitationMm": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "pressureHpa": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "symbol": {
+ "type": [
+ "string",
+ "null"
+ ]
+ },
+ "temperatureC": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "time": {
+ "type": "string"
+ },
+ "windFromDeg": {
+ "type": [
+ "number",
+ "null"
+ ]
+ },
+ "windSpeedMs": {
+ "type": [
+ "number",
+ "null"
+ ]
+ }
+ },
+ "required": [
+ "time",
+ "temperatureC",
+ "precipitationMm",
+ "precipitationHours",
+ "windSpeedMs",
+ "windFromDeg",
+ "humidityPct",
+ "cloudPct",
+ "pressureHpa",
+ "symbol"
+ ],
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "latitude": {
+ "type": "number"
+ },
+ "longitude": {
+ "type": "number"
+ },
+ "next": {
+ "additionalProperties": false,
+ "description": "Suggested next paid call in the same family (call it in a loop when the task continues)",
+ "properties": {
+ "method": {
+ "enum": [
+ "GET",
+ "POST"
+ ],
+ "type": "string"
+ },
+ "sample": {
+ "description": "Free fixed sample of the whole family",
+ "type": "string"
+ },
+ "service": {
+ "description": "Service id of the suggested next paid call",
+ "type": "string"
+ },
+ "tool": {
+ "description": "MCP tool name of the same call",
+ "type": "string"
+ },
+ "url": {
+ "description": "Paid route of the next call",
+ "type": "string"
+ },
+ "useWhen": {
+ "description": "When the next call is the right one",
+ "type": "string"
+ }
+ },
+ "required": [
+ "service",
+ "tool",
+ "method",
+ "url",
+ "useWhen",
+ "sample"
+ ],
+ "type": "object"
+ },
+ "updatedAt": {
+ "type": "string"
+ }
+ },
+ "required": [
+ "latitude",
+ "longitude",
+ "altitudeM",
+ "updatedAt",
+ "hours",
+ "attribution"
+ ],
+ "type": "object"
+ },
+ {
+ "description": "x402 PaymentRequired (returned with isError when payment is needed)",
+ "properties": {
+ "accepts": {
+ "items": {
+ "type": "object"
+ },
+ "type": "array"
+ },
+ "error": {
+ "type": "string"
+ },
+ "extensions": {
+ "type": "object"
+ },
+ "resource": {
+ "type": "object"
+ },
+ "x402Version": {
+ "type": "integer"
+ }
+ },
+ "required": [
+ "x402Version",
+ "accepts"
+ ],
+ "type": "object"
+ }
+]