{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/zentriaflow-com/json-schema/zentriaflow-com-watch-add-request-schema.json",
  "title": "WatchAddRequest",
  "x-generated": "2026-11-16",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/zentriaflow-com-openapi.json#/components/schemas/WatchAddRequest",
  "type": "object",
  "properties": {
    "hs_code": {
      "type": "string",
      "minLength": 4,
      "maxLength": 20,
      "description": "Required: HS or HTS code, at least 4 digits, for example 6109.10.00. For a US import it must be a code the HTSUS has. Nothing here classifies a description."
    },
    "origin_country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "description": "ISO-2 code, for example VN."
    },
    "destination_country": {
      "type": "string",
      "minLength": 2,
      "maxLength": 2,
      "default": "US"
    },
    "product_value": {
      "type": "number",
      "minimum": 1,
      "maximum": 100000000,
      "description": "Value of the shipment in US dollars. Changes are reported on this value."
    },
    "weight_kg": {
      "type": "number",
      "exclusiveMinimum": 0,
      "maximum": 1000000,
      "default": 100
    },
    "transport_mode": {
      "type": "string",
      "maxLength": 20,
      "default": "sea",
      "description": "sea, air, express, rail, truck, road or multimodal. Anything else is priced as sea."
    },
    "incoterm": {
      "type": "string",
      "maxLength": 10,
      "default": "FOB"
    },
    "freight_override": {
      "type": [
        "number",
        "null"
      ],
      "exclusiveMinimum": 0,
      "maximum": 100000000,
      "description": "Your own freight cost in US dollars; omit for the engine's estimate."
    },
    "quantity": {
      "type": [
        "number",
        "null"
      ],
      "exclusiveMinimum": 0,
      "maximum": 1000000000,
      "description": "For US lines charged per piece, pair, kg or liter. Kept only when it prices the line exactly."
    },
    "quantity_unit": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 24
    },
    "label": {
      "type": [
        "string",
        "null"
      ],
      "maxLength": 80,
      "description": "Your name for the product."
    }
  },
  "required": [
    "hs_code",
    "origin_country",
    "product_value"
  ]
}