{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-trackingnumbers-association-body-schema.json",
  "title": "trackingnumbers_association_body",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-tracking-number-subscription-api-openapi.yml#/components/schemas/trackingnumbers_association_body",
  "oneOf": [
    {
      "$ref": "#/$defs/RequestBody"
    },
    {
      "$ref": "#/$defs/MinimumSamplePayload"
    }
  ],
  "$defs": {
    "BatchNumber": {
      "required": [
        "subscriptionId",
        "trackingNumber"
      ],
      "type": "object",
      "properties": {
        "subscriptionId": {
          "type": "string",
          "description": "This is the same subscription ID number, under the Webhook project details"
        },
        "trackingNumber": {
          "type": "string",
          "description": "The tracking number is a unique number assigned to each package of the shipment to be tracked."
        },
        "carrierCode": {
          "type": "string",
          "description": "This is the unique identifier for FedEx as the shipping carrier"
        },
        "trackingNumberUniqueId": {
          "type": "string",
          "description": "A unique identifier assigned to users’shipment, allowing user to track its progress and location throughout the delivery process"
        }
      }
    },
    "MinimumSamplePayload": {},
    "RequestBody": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/BatchNumber"
      }
    }
  }
}