"Items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": {
"not": {}
},
"properties": {
"POLineNbr": {
"type": "integer",
"description": "Purchase Order line number",
"minimum": 1
},
"BuyerItemId": {
"type": "string",
"description": "Buyer item ID",
"maxLength": 25
},
"BuyerItemDesc": {
"type": "string",
"description": "Buyer item description",
"maxLength": 50
},
"Qty": {
"type": "number"
},
"QtyUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"UCValue": {
"type": "number",
"description": "Unit cost value"
},
"UCCurrencyCode": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/CurrencyCode"
},
"RetailValue": {
"type": "number",
"description": "Retail value"
},
"RetailCurrencyCode": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/CurrencyCode"
},
"ICQtyPerUOM": {
"type": "number",
"description": "Inner Carton quantity per Unit of Measure"
},
"ICUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"MCQtyPerUOM": {
"type": "number",
"description": "Master Carton quantity per Unit of Measure"
},
"MCUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"SupplierItemId": {
"type": "string",
"description": "Supplier item ID",
"maxLength": 25
},
"BarCodeId": {
"type": "string",
"description": "Digital barcode representation",
"maxLength": 14
},
"BarCodeType": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/BarCodeType"
},
"DateBeginShip": {
"type": "string",
"description": "Item beginning shiping date",
"format": "date-time"
},
"DateEndShip": {
"type": "string",
"description": "Item end shipping date",
"format": "date-time"
},
"DateCancel": {
"type": "string",
"description": "Item cancel date",
"format": "date-time"
},
"TranspCode": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/TranspCode"
},
"ShipTo": {
"oneOf": [
{
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Party"
},
{
"type": "object",
"properties": {
"Name": {
"type": "string",
"maxLength": 35
},
"Address": {
"#ref": "https://standards.namm.org/schema/common.json#Address"
}
},
"required": [
"Address",
"Name"
]
}
]
}
},
"required": [
"POLineNbr",
"BuyerItemId",
"Qty",
"QtyUOM",
"UCValue",
"UCCurrencyCode",
"SupplierItemId",
"BarCodeId",
"BarCodeType"
]
}
}
https://standards.namm.org/schema/2020.1/purchase_order.json (176:28)