{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-pudc-response-vo-create-pickup-schema.json",
  "title": "PudcResponseVO_CreatePickup",
  "description": "This is a wrapper class for outputVO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-pickup-api-openapi.yml#/components/schemas/PudcResponseVO_CreatePickup",
  "type": "object",
  "properties": {
    "transactionId": {
      "type": "string",
      "description": "The transaction ID is a special set of numbers that defines each transaction.<br>Example: 624deea6-b709-470c-8c39-4b5511281492"
    },
    "customerTransactionId": {
      "type": "string",
      "description": "This element allows you to assign a unique identifier to your transaction. This element is also returned in the reply and helps you match the request to the reply. <br> Example: AnyCo_order123456789"
    },
    "output": {
      "$ref": "#/$defs/BaseProcessOutputVO_CreatePickup"
    }
  },
  "$defs": {
    "Alert": {
      "type": "object",
      "properties": {
        "code": {
          "type": "string",
          "description": "Specifies the API alert code."
        },
        "alertType": {
          "type": "string",
          "description": "Specifies the API alert type.",
          "enum": [
            "NOTE",
            "WARNING"
          ]
        },
        "message": {
          "type": "string",
          "description": "Specifies the API alert message."
        }
      },
      "description": "Specifies the API alerts."
    },
    "BaseProcessOutputVO_CreatePickup": {
      "$ref": "#/$defs/CreatePickupOutputVO"
    },
    "CreatePickupOutputVO": {
      "type": "object",
      "properties": {
        "pickupConfirmationCode": {
          "type": "string",
          "description": "The confirmation number provided to the customer when a pickup is requested <br> Example : 3001"
        },
        "location": {
          "type": "string",
          "description": "The location from where the package will be picked up. <br><br><i>Note: The location will only be returned for Express Pickup.<i><br><br>Example: COSA"
        },
        "alerts": {
          "type": "array",
          "description": "These are optional alerts received when a Create pickup is requested. This includes an alert code, type, and message.",
          "items": {
            "$ref": "#/$defs/Alert"
          }
        }
      },
      "description": "The response elements received when you create a pickup."
    }
  }
}