{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/fedex/json-schema/fedex-document-response-output-vo-schema.json",
  "title": "DocumentResponseOutputVO",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/fedex-upload-documents-api-openapi.yml#/components/schemas/DocumentResponseOutputVO",
  "type": "object",
  "properties": {
    "output": {
      "$ref": "#/$defs/DocumentUploadServiceOutputVO"
    },
    "customerTransactionId": {
      "type": "string",
      "description": "This element has a unique identifier added in your request, helps you match the request to the reply. <br> Example:XXXX_XXX123XXXXX"
    }
  },
  "$defs": {
    "DocumentMetaOutput": {
      "type": "object",
      "properties": {
        "documentType": {
          "type": "string",
          "description": "Indicates the type of document uploaded. <br><br> Example:CO<br>Following are the values returned depending on the document type<ul><li>CERTIFICATE_OF_ORIGIN – CO</li><li>COMMERCIAL_INVOICE –  CI</li><li>ETD_LABEL –  AWB</li><li>USMCA_CERTIFICATE_OF_ORIGIN –  CO</li><li>USMCA_COMMERCIAL_INVOICE_CERTIFICATION_OF_ORIGIN –  CI</li><li>OTHER –  OTHER</li><li>PRO_FORMA_INVOICE –  PRO</li></ul>"
        },
        "docId": {
          "type": "string",
          "description": "This is the document id or the upload reference. Use this docId in your shipment, if you have uploaded the document prior to shipment request.<br>For MPS, this docId must be used for all the packages in the shipment.<br>Example: 090493e181586308<br><i>Note:</i><ul><li><i>For MPS post the shipment request, use the master shipment tracking number when uploading the documents. </i></li></ul>"
        },
        "folderId": {
          "type": "string",
          "description": "This is the reference server folder id, where the document is uploaded. ",
          "items": {
            "type": "string"
          }
        }
      },
      "description": "This is the response indicating upload reference details."
    },
    "DocumentUploadServiceOutputVO": {
      "type": "object",
      "properties": {
        "meta": {
          "$ref": "#/$defs/DocumentMetaOutput"
        }
      },
      "description": "This is the output received for a document upload request."
    }
  }
}