BigCommerce · Schema

Weight Value

Value object for a weight measurement.

E-CommerceRetailCatalogOrdersCheckoutPaymentsSaaS

Properties

Name Type Description
units string
value number
View JSON Schema on GitHub

JSON Schema

bigcommerce-weightvalue-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/WeightValue",
  "title": "Weight Value",
  "description": "Value object for a weight measurement.",
  "type": "object",
  "properties": {
    "units": {
      "type": "string",
      "enum": [
        "oz",
        "g"
      ]
    },
    "value": {
      "type": "number",
      "minimum": 0
    }
  },
  "required": [
    "units",
    "value"
  ],
  "x-internal": false
}