{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/terminal49/json-schema/terminal49-tracking-request-create-schema.json",
  "title": "TrackingRequestCreate",
  "x-generated": "2026-11-09",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/terminal49-tracking-requests-api-openapi.yml#/components/schemas/TrackingRequestCreate",
  "type": "object",
  "properties": {
    "data": {
      "type": "object",
      "properties": {
        "type": {
          "type": "string",
          "enum": [
            "tracking_request"
          ]
        },
        "attributes": {
          "type": "object",
          "required": [
            "request_number",
            "request_type",
            "scac"
          ],
          "properties": {
            "request_number": {
              "type": "string"
            },
            "request_type": {
              "type": "string",
              "enum": [
                "bill_of_lading",
                "booking_number",
                "container"
              ]
            },
            "scac": {
              "type": "string"
            },
            "ref_numbers": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          }
        }
      }
    }
  }
}