{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/tppflow-com/json-schema/tppflow-com-wait-schema.json",
  "title": "Wait",
  "description": "CBP border wait times -- shape as advertised on the storefront.",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/tppflow-com-cbp-api-openapi.yml#/components/schemas/Wait",
  "properties": {
    "measured_at": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Measured At",
      "description": "Observation ts, ISO 8601 UTC"
    },
    "port_name": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Port Name"
    },
    "traffic_type": {
      "anyOf": [
        {
          "type": "string"
        },
        {
          "type": "null"
        }
      ],
      "title": "Traffic Type",
      "description": "commercial | passenger | pedestrian"
    },
    "wait_time_minutes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Wait Time Minutes"
    },
    "open_lanes": {
      "anyOf": [
        {
          "type": "integer"
        },
        {
          "type": "null"
        }
      ],
      "title": "Open Lanes"
    }
  },
  "type": "object"
}