UPS · Schema

PackageInfo

LogisticsShippingFortune 500Supply Chain

Properties

Name Type Description
PackagingType object
Dimensions object
PackageWeight object
View JSON Schema on GitHub

JSON Schema

ups-packageinfo-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/PackageInfo",
  "title": "PackageInfo",
  "type": "object",
  "properties": {
    "PackagingType": {
      "type": "object",
      "properties": {
        "Code": {
          "type": "string",
          "description": "02 = customer supplied package"
        }
      }
    },
    "Dimensions": {
      "type": "object",
      "properties": {
        "UnitOfMeasurement": {
          "type": "object",
          "properties": {
            "Code": {
              "type": "string",
              "enum": [
                "IN",
                "CM"
              ]
            }
          }
        },
        "Length": {
          "type": "string"
        },
        "Width": {
          "type": "string"
        },
        "Height": {
          "type": "string"
        }
      }
    },
    "PackageWeight": {
      "type": "object",
      "properties": {
        "UnitOfMeasurement": {
          "type": "object",
          "properties": {
            "Code": {
              "type": "string",
              "enum": [
                "LBS",
                "KGS"
              ]
            }
          }
        },
        "Weight": {
          "type": "string"
        }
      }
    }
  }
}