
| Property Name | Type | Description |
|---|---|---|
| Version | number | Version (common.json) |
| Id | string |
A String value
where
length <=
50
Description : Document ID
|
| Timestamp | string |
A String value
Description : Date/time stamp for this document
|
| ShipmentHeader | object | ShipmentHeader (asn.json) |
| ShipFrom | object | Party (common.json) |
| ShipmentRefs | object | ShipmentRefs (asn.json) |
| ShipmentQty | object | ShipmentQty (asn.json) |
| Volume | object | Volume (common.json) |
| Weight | object | Weight (common.json) |
| TranspCode | string | TranspCode (common.json) |
| TranspDesc | string | A String value where length <= 50 |
| SoldTo | object | Party (common.json) |
| ShipTo | object | Party (common.json) |
| Vehicle | object | Vehicle (asn.json) |
| Orders | array | Orders (asn.json) |
{
"$schema": "http://json-schema.org/draft-07/schema#",
"$id": "https://standards.namm.org/schema/2020.1/asn.json",
"type": "object",
"title": "NAMM ASN",
"description": "This is a json-schema version of NAMM ASN XSD",
"additionalProperties": false,
"properties": {
"Version": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Version"
},
"Id": {
"type": "string",
"description": "Document ID",
"maxLength": 50
},
"Timestamp": {
"type": "string",
"description": "Date/time stamp for this document",
"format": "date-time"
},
"ShipmentHeader": {
"type": "object",
"additionalProperties": {},
"properties": {
"ShipmentType": {
"type": "string",
"description": "Shipment type description",
"maxLength": 25
},
"ShipmentId": {
"type": "string",
"description": "Supplier ASN document number",
"maxLength": 25
},
"Shipped": {
"type": "string",
"description": "Shipment date",
"format": "date"
},
"EstDeliver": {
"type": "string",
"description": "Estimated Delivery Date",
"format": "date"
},
"Supplier": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Party"
}
}
},
"ShipFrom": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Party"
},
"ShipmentRefs": {
"type": "object",
"additionalProperties": {},
"properties": {
"MasterBOL": {
"type": "string",
"description": "Shipment master Bill Of Lading number",
"maxLength": 25
},
"PRONbr": {
"type": "string",
"description": "Shipment PRO number",
"maxLength": 25
},
"ConfNbr": {
"type": "string",
"description": "Shipment confirmation number",
"maxLength": 25
}
}
},
"ShipmentQty": {
"type": "object",
"additionalProperties": {},
"properties": {
"ContainerQty": {
"type": "integer",
"description": "Number of units per container"
},
"ShipmentItemQty": {
"type": "integer",
"description": "Number of units in shipment"
}
},
"required": [
"ContainerQty"
]
},
"Volume": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Volume"
},
"Weight": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Weight"
},
"TranspCode": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/TranspCode"
},
"TranspDesc": {
"type": "string",
"maxLength": 50
},
"SoldTo": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Party"
},
"ShipTo": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/Party"
},
"Vehicle": {
"type": "object",
"additionalProperties": {},
"properties": {
"VehicleId": {
"type": "string",
"description": "Shipper vehicle ID",
"maxLength": 25
},
"VehicleType": {
"type": "string",
"description": "Shipper vehicle type"
},
"SealId": {
"type": "string",
"description": "Shipper container seal ID",
"maxLength": 25
}
}
},
"Orders": {
"type": "array",
"description": "Buyer purchase order IDs",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"BuyerOrderId": {
"type": "string",
"description": "Buyer purchase order ID",
"maxLength": 25
},
"Containers": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": false,
"properties": {
"ContainerId": {
"type": "string",
"description": "Shipper container ID",
"maxLength": 25
},
"ShipperTrackingNumber": {
"type": "string",
"description": "Shipper tracking number",
"maxLength": 25
},
"Length": {
"type": "number"
},
"Width": {
"type": "number"
},
"Height": {
"type": "number"
},
"DimUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/DimUOM"
},
"Weight": {
"type": "number"
},
"WeightUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/WeightUOM"
},
"Item": {
"type": "array",
"minItems": 1,
"items": {
"type": "object",
"additionalProperties": {},
"properties": {
"ItemId": {
"type": "object",
"additionalProperties": {},
"properties": {
"BarCodeId": {
"type": "string",
"maxLength": 14
},
"BarCodeType": {
"type": "string",
"enum": [
"GTIN-12",
"GTIN-13",
"GTIN-14",
"PartNumber"
]
},
"BuyerItemId": {
"type": "string",
"maxLength": 25
},
"BuyerItemDesc": {
"type": "string",
"maxLength": 50
},
"SupplierItemId": {
"type": "string",
"maxLength": 25
},
"SupplierItemDesc": {
"type": "string",
"maxLength": 50
}
},
"required": [
"BarCodeId",
"BarCodeType",
"BuyerItemId",
"SupplierItemId"
]
},
"POLineNbr": {
"type": "integer"
},
"ItemQty": {
"type": "object",
"additionalProperties": {},
"properties": {
"Qty": {
"type": "number"
},
"ItemUOMCode": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"ItemUOMDesc": {
"type": "string",
"maxLength": 15
}
},
"required": [
"Qty"
]
},
"ItemAttrs": {
"type": "object",
"additionalProperties": {},
"properties": {
"SerialNbrs": {
"type": "array",
"items": {
"type": "string",
"description": "Item serial number"
}
},
"StdPack": {
"type": "object",
"additionalProperties": {},
"properties": {
"ICQtyPerUOM": {
"type": "number",
"description": "Inner Carton quantity per Unit of Measure"
},
"ICUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"StdPackType": {
"type": "string"
}
}
},
"StdContainer": {
"type": "object",
"additionalProperties": {},
"properties": {
"MCQtyPerUOM": {
"type": "number",
"description": "Master Carton quantity per Unit of Measure"
},
"MCUOM": {
"$ref": "https://standards.namm.org/schema/2020.1/common.json#/definitions/QtyUOM"
},
"StdContainerType": {
"type": "string"
}
}
}
}
}
},
"required": [
"ItemId",
"POLineNbr",
"ItemQty"
]
}
}
}
}
}
},
"required": [
"BuyerOrderId"
]
}
}
},
"required": []
}