{
  "x402Version": 2,
  "id": 12862,
  "slug": "12862",
  "resource": "https://travelcheck-x402.fly.dev/v1/airport-risk",
  "description": "Assess operational and weather disruption risk for a supported U.S. commercial airport near a requested time.",
  "type": "http",
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "payTo": "0x2618D97B0975D8db91fD1F11fa407073f3B21A90",
      "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
      "amount": "10000",
      "maxTimeoutSeconds": 300
    }
  ],
  "outputSchema": {
    "bazaar": {
      "info": {
        "input": {
          "body": {
            "airport": "ORD",
            "direction": "both",
            "targetTime": "2026-07-31T18:00:00.000Z"
          },
          "bodyType": "json",
          "method": "POST",
          "type": "http"
        },
        "output": {
          "example": {
            "airport": {
              "faaId": "ORD",
              "iataId": "ORD",
              "icaoId": "KORD",
              "name": "Chicago O'Hare International Airport"
            },
            "assessedAt": "2026-07-31T16:00:00.000Z",
            "components": {
              "operations": 44,
              "weather": 23
            },
            "direction": "both",
            "recommendedAction": "add_buffer",
            "riskBand": "high",
            "riskScore": 67,
            "scoringVersion": "airport-v1",
            "signals": [
              {
                "code": "FAA_GROUND_DELAY",
                "impact": 44,
                "source": "faa",
                "summary": "Ground-delay program active at ORD with average delays near 37 minutes."
              }
            ],
            "sourceTimes": {
              "faaUpdatedAt": "2026-07-31T15:59:00.000Z",
              "metarObservedAt": "2026-07-31T15:45:00.000Z",
              "tafIssuedAt": "2026-07-31T15:00:00.000Z"
            },
            "targetTime": "2026-07-31T18:00:00.000Z"
          },
          "type": "json"
        }
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "input": {
            "additionalProperties": false,
            "properties": {
              "body": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "airport": {
                    "pattern": "^[A-Z0-9]{3,4}$",
                    "type": "string"
                  },
                  "direction": {
                    "default": "both",
                    "enum": [
                      "arrivals",
                      "departures",
                      "both"
                    ],
                    "type": "string"
                  },
                  "targetTime": {
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                    "type": "string"
                  }
                },
                "required": [
                  "airport",
                  "targetTime",
                  "direction"
                ],
                "type": "object"
              },
              "bodyType": {
                "enum": [
                  "json",
                  "form-data",
                  "text"
                ],
                "type": "string"
              },
              "method": {
                "enum": [
                  "POST"
                ],
                "type": "string"
              },
              "type": {
                "const": "http",
                "type": "string"
              }
            },
            "required": [
              "type",
              "method",
              "bodyType",
              "body"
            ],
            "type": "object"
          },
          "output": {
            "properties": {
              "example": {
                "$schema": "https://json-schema.org/draft/2020-12/schema",
                "additionalProperties": false,
                "properties": {
                  "airport": {
                    "additionalProperties": false,
                    "properties": {
                      "faaId": {
                        "anyOf": [
                          {
                            "maxLength": 8,
                            "minLength": 2,
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "iataId": {
                        "anyOf": [
                          {
                            "pattern": "^[A-Z0-9]{3}$",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "icaoId": {
                        "pattern": "^[A-Z0-9]{4}$",
                        "type": "string"
                      },
                      "name": {
                        "maxLength": 300,
                        "minLength": 1,
                        "type": "string"
                      }
                    },
                    "required": [
                      "icaoId",
                      "iataId",
                      "faaId",
                      "name"
                    ],
                    "type": "object"
                  },
                  "assessedAt": {
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                    "type": "string"
                  },
                  "components": {
                    "additionalProperties": false,
                    "properties": {
                      "operations": {
                        "maximum": 60,
                        "minimum": 0,
                        "type": "integer"
                      },
                      "weather": {
                        "maximum": 40,
                        "minimum": 0,
                        "type": "integer"
                      }
                    },
                    "required": [
                      "operations",
                      "weather"
                    ],
                    "type": "object"
                  },
                  "direction": {
                    "enum": [
                      "arrivals",
                      "departures",
                      "both"
                    ],
                    "type": "string"
                  },
                  "recommendedAction": {
                    "enum": [
                      "proceed",
                      "monitor",
                      "add_buffer",
                      "avoid_or_rebook"
                    ],
                    "type": "string"
                  },
                  "riskBand": {
                    "enum": [
                      "low",
                      "moderate",
                      "high",
                      "severe"
                    ],
                    "type": "string"
                  },
                  "riskScore": {
                    "maximum": 100,
                    "minimum": 0,
                    "type": "integer"
                  },
                  "scoringVersion": {
                    "const": "airport-v1",
                    "type": "string"
                  },
                  "signals": {
                    "items": {
                      "additionalProperties": false,
                      "properties": {
                        "code": {
                          "maxLength": 80,
                          "minLength": 1,
                          "type": "string"
                        },
                        "impact": {
                          "maximum": 100,
                          "minimum": 0,
                          "type": "integer"
                        },
                        "source": {
                          "enum": [
                            "faa",
                            "metar",
                            "taf",
                            "itinerary"
                          ],
                          "type": "string"
                        },
                        "summary": {
                          "maxLength": 500,
                          "minLength": 1,
                          "type": "string"
                        }
                      },
                      "required": [
                        "code",
                        "source",
                        "impact",
                        "summary"
                      ],
                      "type": "object"
                    },
                    "maxItems": 20,
                    "type": "array"
                  },
                  "sourceTimes": {
                    "additionalProperties": false,
                    "properties": {
                      "faaUpdatedAt": {
                        "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                        "type": "string"
                      },
                      "metarObservedAt": {
                        "anyOf": [
                          {
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      },
                      "tafIssuedAt": {
                        "anyOf": [
                          {
                            "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                            "type": "string"
                          },
                          {
                            "type": "null"
                          }
                        ]
                      }
                    },
                    "required": [
                      "faaUpdatedAt",
                      "metarObservedAt",
                      "tafIssuedAt"
                    ],
                    "type": "object"
                  },
                  "targetTime": {
                    "pattern": "^\\d{4}-\\d{2}-\\d{2}T\\d{2}:\\d{2}:\\d{2}(?:\\.\\d+)?(?:Z|[+-]\\d{2}:\\d{2})$",
                    "type": "string"
                  }
                },
                "required": [
                  "airport",
                  "assessedAt",
                  "targetTime",
                  "direction",
                  "riskScore",
                  "riskBand",
                  "recommendedAction",
                  "components",
                  "signals",
                  "sourceTimes",
                  "scoringVersion"
                ],
                "type": "object"
              },
              "type": {
                "type": "string"
              }
            },
            "required": [
              "type"
            ],
            "type": "object"
          }
        },
        "required": [
          "input"
        ],
        "type": "object"
      }
    },
    "payment-identifier": {
      "info": {
        "required": false
      },
      "schema": {
        "$schema": "https://json-schema.org/draft/2020-12/schema",
        "properties": {
          "id": {
            "maxLength": 128,
            "minLength": 16,
            "pattern": "^[a-zA-Z0-9_-]+$",
            "type": "string"
          },
          "required": {
            "type": "boolean"
          }
        },
        "required": [
          "required"
        ],
        "type": "object"
      }
    }
  },
  "tags": [
    "bazaar",
    "payment-identifier"
  ],
  "sourceHost": "travelcheck-x402.fly.dev",
  "lastUpdated": "2026-09-02T19:21:40.908Z",
  "quality": {
    "calls30d": 1,
    "uniquePayers30d": 1,
    "lastCalledAt": "2026-09-02T19:21:40.693Z"
  },
  "liveness": {},
  "verified": false,
  "featured": false,
  "provider": {
    "host": "travelcheck-x402.fly.dev",
    "manifest_name": "travelcheck-x402.fly.dev",
    "source": "cdp-mirror",
    "source_manifest_url": "https://api.cdp.coinbase.com/platform/v2/x402/discovery/resources",
    "submitted_at": "2026-09-18T22:00:31.484Z"
  }
}