Unified.to · Schema

ShippingPackage

IntegrationsUnified API

Properties

Name Type Description
currency string
description string
height number
insured_amount number
length number
size_unit string
tracking_number string
value number
weight number
weight_unit string
width number
View JSON Schema on GitHub

JSON Schema

unified-to-shippingpackage-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/ShippingPackage",
  "title": "ShippingPackage",
  "properties": {
    "currency": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "height": {
      "type": "number"
    },
    "insured_amount": {
      "type": "number"
    },
    "length": {
      "type": "number"
    },
    "size_unit": {
      "enum": [
        "cm",
        "inch"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "tracking_number": {
      "type": "string"
    },
    "value": {
      "type": "number"
    },
    "weight": {
      "type": "number"
    },
    "weight_unit": {
      "enum": [
        "g",
        "kg",
        "oz",
        "lb"
      ],
      "type": "string",
      "x-speakeasy-unknown-values": "allow"
    },
    "width": {
      "type": "number"
    }
  },
  "type": "object"
}