{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://api.orderful.com/v3/simplified-schemas/SHIP_NOTICE","title":"Simplified Advance Ship Notice","description":"A simplified version of the advance ship notice","type":"object","properties":{"purpose":{"type":"string","enum":["original","cancellation","change"],"description":"Purpose of the ship notice (e.g., original, change, cancellation)","orderful_x12_path":["856:beginningSegmentForShipNotice.*.transactionSetPurposeCode"],"orderful_enum_meta":{"original":{"description":"Original ship notice","orderful_x12_codes":["00"]},"cancellation":{"description":"Cancellation of ship notice","orderful_x12_codes":["01"]},"change":{"description":"Change to ship notice","orderful_x12_codes":["02","03","04"]}}},"shipmentId":{"type":"string","description":"Unique shipment identifier","orderful_x12_path":["856:beginningSegmentForShipNotice.*.shipmentIdentification"]},"carrierDetails":{"description":"Carrier and shipping details for the shipment","orderful_x12_path":["856:HL_loop.*.carrierDetailsQuantityAndWeight","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime","856:HL_loop.*.TD3_loop.*.carrierDetailsEquipment","856:HL_loop.*.FOBRelatedInstructions","856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth"],"type":"object","properties":{"quantityAndWeight":{"description":"Quantity and weight details for the shipment","orderful_x12_path":["856:HL_loop.*.carrierDetailsQuantityAndWeight"],"type":"array","items":{"type":"object","properties":{"packageForm":{"type":"string","enum":["bag","carton","case","coil","pallet"],"description":"Form of packaging","orderful_enum_meta":{"bag":{"description":"Bag packaging form","orderful_x12_codes":["BAG"]},"carton":{"description":"Carton packaging form","orderful_x12_codes":["CTN"]},"case":{"description":"Case packaging form","orderful_x12_codes":["CAS"]},"coil":{"description":"Coil packaging form","orderful_x12_codes":["COL"]},"pallet":{"description":"Pallet packaging form","orderful_x12_codes":["PLT"]}}},"packageMaterial":{"type":"string","enum":["aluminum","corrugated","plastic","plasticVacuumed","standard","steel","wood"],"description":"Material of packaging","orderful_enum_meta":{"aluminum":{"description":"Aluminum material","orderful_x12_codes":["01"]},"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"steel":{"description":"Steel material","orderful_x12_codes":["52"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","orderful_x12_path":["875:totalPurchaseOrder.*.unitOrBasisForMeasurementCode1"],"type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","orderful_x12_path":["875:totalPurchaseOrder.*.weight"],"type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volume":{"description":"Total volume of the shipment","type":"string"},"volumeUOM":{"type":"string","enum":["cubicFeet","cubicInches","cubicMeter","cubicYard","gallon","liter"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.carrierDetailsQuantityAndWeight.*.unitOrBasisForMeasurementCode1"],"orderful_enum_meta":{"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]}}},"dimensionUOM":{"type":"string","enum":["foot","meter"],"description":"Unit of measure for length","orderful_x12_path":["856:HL_loop.*.measurements.*.unitOrBasisForMeasurementCode | measurementQualifier=LN"],"orderful_enum_meta":{"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]}}},"length":{"description":"Total linear length of coils in the shipment","orderful_x12_path":["HL_loop.*.measurements.* | measurementQualifier=LN"],"orderful_x12_codes":["LN"],"type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","orderful_x12_path":["HL_loop.*.measurements.* | unitOrBasisForMeasurementCode=BB"],"orderful_x12_codes":["BB"],"type":"string"}},"additionalProperties":false}},"routing":{"description":"Carrier routing and transportation details","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime"],"type":"array","items":{"type":"object","properties":{"sequenceType":{"type":"string","enum":["origin","1stAfterOrigin","4thAfterOrigin","haulage"],"description":"Sequence in the routing chain","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routingSequenceCode"],"orderful_enum_meta":{"origin":{"description":"Origin carrier","orderful_x12_codes":["O"]},"1stAfterOrigin":{"description":"1st carrier after origin carrier","orderful_x12_codes":["1"]},"4thAfterOrigin":{"description":"4th carrier after origin carrier","orderful_x12_codes":["4"]},"haulage":{"description":"Haulage rights carrier and junction","orderful_x12_codes":["H"]}}},"standardCarrierAlphaCode":{"description":"SCAC code identifying the carrier","type":"string"},"customCarrierCode":{"description":"Custom carrier identifier","type":"string"},"transportationMethod":{"type":"string","enum":["air","airExpress","airFreightForward","backhaul","bestWay","commonCarrier","consolidation","customerPickup","expeditedTruck","lessThanTrailerLoad","mail","ocean","oceanContainerized","parcelPost","privateCarrier","rail","shipperAgent","supplierTruck","trailer","mutuallyDefined"],"description":"Method of transportation. EDIFACT: prefer C001.8179 (transportMeansDescriptionCode) — its means/vessel-level codes match this enum directly. Fall back to C220.8067 (transportModeNameCode) ONLY when 8179 is absent; 8067 carries broad-mode codes only (1=Maritime, 2=Rail, 3=Road, 4=Air, 5=Mail, 6=Multimodal, 7=Fixed installation, 8=Inland water) which map loosely: 1→ocean, 2→rail, 3→supplierTruck, 4→air. Granular enum values (airExpress, oceanContainerized, trailer, etc.) cannot be recovered from 8067 — emit a SCHEMA GAP if neither path carries the partner value.","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transportationMethodTypeCode"],"orderful_edifact_paths":["ORDERS:transportInformation_group.*.transportInformation.transportMeans_composite.transportMeansDescriptionCode"],"orderful_edifact_metadata_paths":["ORDERS:transportInformation_group.*.transportInformation.modeOfTransport_composite.transportModeNameCode"],"orderful_enum_meta":{"air":{"description":"Air freight","orderful_x12_codes":["A"],"orderful_edifact_codes":["6"]},"airExpress":{"description":"Air express service","orderful_x12_codes":["AE"]},"airFreightForward":{"description":"Air freight forwarder","orderful_x12_codes":["AF"]},"backhaul":{"description":"Backhaul shipment","orderful_x12_codes":["K"]},"bestWay":{"description":"Best way (carrier discretion)","orderful_x12_codes":["T"]},"commonCarrier":{"description":"Common carrier","orderful_x12_codes":["M","MP"]},"consolidation":{"description":"Consolidation service","orderful_x12_codes":["C"]},"customerPickup":{"description":"Customer pickup","orderful_x12_codes":["H","CE"]},"expeditedTruck":{"description":"Expedited truck","orderful_x12_codes":["E"]},"lessThanTrailerLoad":{"description":"Less than trailer load (LTL)","orderful_x12_codes":["LT"]},"mail":{"description":"Mail service","orderful_x12_codes":["7"]},"ocean":{"description":"Ocean freight","orderful_x12_codes":["S"],"orderful_edifact_codes":["11","13"]},"oceanContainerized":{"description":"Containerized ocean freight","orderful_x12_codes":["O"],"orderful_edifact_codes":["11"]},"parcelPost":{"description":"Parcel post","orderful_x12_codes":["D"]},"privateCarrier":{"description":"Private carrier","orderful_x12_codes":["U","P"]},"rail":{"description":"Rail freight","orderful_x12_codes":["R"],"orderful_edifact_codes":["25"]},"shipperAgent":{"description":"Shipper agent","orderful_x12_codes":["SC"]},"supplierTruck":{"description":"Supplier truck delivery","orderful_x12_codes":["SR"],"orderful_edifact_codes":["31"]},"trailer":{"description":"Trailer load (TL)","orderful_x12_codes":["TL"],"orderful_edifact_codes":["35"]},"mutuallyDefined":{"description":"Transportation method mutually defined","orderful_x12_codes":["ZZ"]}}},"locationType":{"type":"string","enum":["inStore","receiversLocation","allPoints","portOfArrival","portOfEmbarkation","origin","mutuallyDefined"],"description":"Type of routing location","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationQualifier"],"orderful_enum_meta":{"inStore":{"description":"In-store location","orderful_x12_codes":["IS"]},"receiversLocation":{"description":"Receiver's location","orderful_x12_codes":["94"]},"allPoints":{"description":"All points in routing","orderful_x12_codes":["AP"]},"portOfArrival":{"description":"Port of arrival","orderful_x12_codes":["PA"]},"portOfEmbarkation":{"description":"Port of embarkation","orderful_x12_codes":["KE"]},"origin":{"description":"Origin location","orderful_x12_codes":["OR"]},"mutuallyDefined":{"description":"Location mutually defined","orderful_x12_codes":["ZZ"]}}},"location":{"description":"Routing location identifier or name","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.locationIdentifier"],"type":"string"},"description":{"description":"Description of routing details","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.routing"],"type":"string"},"serviceLevel":{"type":"string","enum":["deliveryConfirmation","doorService","economy","eveningService","expedited","firstClass","ground","groundHundredWeight","international","metro","morning","nextDayAir","nextDayHundredWeight","nextDayEvening","nextDayMorning1030","nextDayMorning930","nextDaySaturday","overnight","poBoxZipCode","priorityMail","priorityMailInsured","proofOfDelivery","sameDay","saturdayService","secondDay","secondDayHundredWeight","secondDayAir","secondDaySaturday","standard","standardGround","threeDay"],"description":"Service level for shipping","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode1","856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.serviceLevelCode2"],"orderful_enum_meta":{"deliveryConfirmation":{"description":"Delivery confirmation required","orderful_x12_codes":["DC"]},"doorService":{"description":"Door-to-door service","orderful_x12_codes":["DS"]},"economy":{"description":"Economy service","orderful_x12_codes":["LT"]},"eveningService":{"description":"Evening delivery service","orderful_x12_codes":["PM"]},"expedited":{"description":"Expedited service","orderful_x12_codes":["CX","IE","IX"]},"firstClass":{"description":"First class mail service","orderful_x12_codes":["FC"]},"ground":{"description":"Ground shipping service","orderful_x12_codes":["CG"]},"groundHundredWeight":{"description":"Ground hundred-weight service","orderful_x12_codes":["SI"]},"international":{"description":"International service","orderful_x12_codes":["IS"]},"metro":{"description":"Metro area delivery service","orderful_x12_codes":["ME"]},"morning":{"description":"Morning delivery service","orderful_x12_codes":["AM"]},"nextDayAir":{"description":"Next day air service","orderful_x12_codes":["ND"]},"nextDayHundredWeight":{"description":"Next day hundred-weight service","orderful_x12_codes":["NH"]},"nextDayEvening":{"description":"Next day evening delivery","orderful_x12_codes":["PR"]},"nextDayMorning1030":{"description":"Next day morning by 10:30 AM","orderful_x12_codes":["PA"]},"nextDayMorning930":{"description":"Next day morning by 9:30 AM","orderful_x12_codes":["PC"]},"nextDaySaturday":{"description":"Next day Saturday delivery service","orderful_x12_codes":["NS"],"orderful_x12_notes":["NS is a Target-specific qualifier — not a standard X12 service level code"]},"overnight":{"description":"Overnight delivery service","orderful_x12_codes":["ON"]},"poBoxZipCode":{"description":"P.O. Box or ZIP code delivery","orderful_x12_codes":["PO"]},"priorityMail":{"description":"Priority mail service","orderful_x12_codes":["PB"]},"priorityMailInsured":{"description":"Priority mail insured service","orderful_x12_codes":["PI"]},"proofOfDelivery":{"description":"Proof of delivery required","orderful_x12_codes":["ET"]},"sameDay":{"description":"Same day delivery service","orderful_x12_codes":["SA"]},"saturdayService":{"description":"Saturday delivery service","orderful_x12_codes":["SD"]},"secondDay":{"description":"Second day delivery service","orderful_x12_codes":["SE"]},"secondDayHundredWeight":{"description":"Second day hundred-weight service","orderful_x12_codes":["SH"]},"secondDayAir":{"description":"Second day air service","orderful_x12_codes":["SC"]},"secondDaySaturday":{"description":"Second day Saturday delivery service","orderful_x12_codes":["SS"],"orderful_x12_notes":["SS is a Target-invented qualifier — not a standard X12 service level code"]},"standard":{"description":"Standard delivery service","orderful_x12_codes":["ST","G2"]},"standardGround":{"description":"Standard ground service","orderful_x12_codes":["SG"]},"threeDay":{"description":"Three day delivery service","orderful_x12_codes":["3D"]}}},"orderStatus":{"type":"string","enum":["shipCompleteOnDate","complete","partialShipment","shipPartialBackorderToShipOnDate","partialShipOnDate","shipped","backordered","mutuallyDefined","availableScheduledToShip","availableNoShipSchedule","multiPickup","availableToShipUnBilledQuantity","stopOff"],"description":"Order shipping status","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.shipmentOrderStatusCode"],"orderful_enum_meta":{"shipCompleteOnDate":{"description":"Ship complete on specified date","orderful_x12_codes":["CC"]},"complete":{"description":"Order complete","orderful_x12_codes":["CL"]},"partialShipment":{"description":"Partial shipment allowed","orderful_x12_codes":["PR"]},"shipPartialBackorderToShipOnDate":{"description":"Ship partial, backorder remainder to ship on date","orderful_x12_codes":["BP"]},"partialShipOnDate":{"description":"Ship partial on specified date","orderful_x12_codes":["CP"]},"shipped":{"description":"Order shipped","orderful_x12_codes":["SH"]},"backordered":{"description":"Order backordered","orderful_x12_codes":["BK"]},"mutuallyDefined":{"description":"Status mutually defined","orderful_x12_codes":["ZZ"]},"availableScheduledToShip":{"description":"Available and scheduled to ship","orderful_x12_codes":["AS"]},"availableNoShipSchedule":{"description":"Available but no ship schedule","orderful_x12_codes":["AN"]},"multiPickup":{"description":"Multiple pickup","orderful_x12_codes":["AA"]},"availableToShipUnBilledQuantity":{"description":"Available to ship unbilled quantity","orderful_x12_codes":["AU"]},"stopOff":{"description":"Stop-off shipment","orderful_x12_codes":["ST"]}}},"transitDirectionType":{"type":"string","enum":["buyerToSeller","sellerToBuyer","subcontractorToSeller","sellerToDropShipLocation","sellToForwarder","sellerToSubcontractor","mutuallyDefined"],"description":"Direction of transit","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitDirectionCode"],"orderful_enum_meta":{"buyerToSeller":{"description":"Transit from buyer to seller","orderful_x12_codes":["BS"]},"sellerToBuyer":{"description":"Transit from seller to buyer","orderful_x12_codes":["SB"]},"subcontractorToSeller":{"description":"Transit from subcontractor to seller","orderful_x12_codes":["SC"]},"sellerToDropShipLocation":{"description":"Transit from seller to drop ship location","orderful_x12_codes":["SD"]},"sellToForwarder":{"description":"Transit from seller to forwarder","orderful_x12_codes":["SF"]},"sellerToSubcontractor":{"description":"Transit from seller to subcontractor","orderful_x12_codes":["SS"]},"mutuallyDefined":{"description":"Transit direction mutually defined","orderful_x12_codes":["ZZ"]}}},"transitTimeType":{"type":"string","enum":["calendarDays","hours","workingDays"],"description":"Unit for transit time","orderful_x12_path":["856:HL_loop.*.carrierDetailsRoutingSequenceTransitTime.*.transitTimeDirectionQualifier"],"orderful_enum_meta":{"calendarDays":{"description":"Calendar days (includes weekends and holidays)","orderful_x12_codes":["CD"]},"hours":{"description":"Hours","orderful_x12_codes":["HO"]},"workingDays":{"description":"Working days (excludes weekends and holidays)","orderful_x12_codes":["WD"]}}},"transitTime":{"description":"Expected transit time value","type":"string"}},"additionalProperties":false}},"equipment":{"description":"Equipment details such as trailer information","orderful_x12_path":["856:HL_loop.*.TD3_loop.*.carrierDetailsEquipment"],"type":"object","properties":{"equipmentType":{"type":"string","enum":["container","reefer","trailer","oceanVessel"],"description":"Type of transportation equipment","orderful_x12_path":["856:HL_loop.*.carrierDetailsEquipment.*.equipmentDescriptionCode"],"orderful_enum_meta":{"container":{"description":"Intermodal container","orderful_x12_codes":["CN"]},"reefer":{"description":"Refrigerated trailer","orderful_x12_codes":["RT"]},"trailer":{"description":"Standard trailer","orderful_x12_codes":["TL"]},"oceanVessel":{"description":"Ocean vessel","orderful_x12_codes":["VE"]}}},"equipmentId":{"description":"Equipment identifier (e.g., trailer number)","type":"string"},"sealNumber":{"description":"Seal number for security verification","type":"string"}},"additionalProperties":false},"freeOnBoard":{"description":"FOB (Free on Board) terms and conditions","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions"],"type":"array","items":{"type":"object","properties":{"methodOfPayment":{"type":"string","enum":["airCollect","airPrepaid","paidByBuyer","collect","mutuallyAgreed","portOfCall","halfPrepaid","mixed","serviceFreightNoCharge","advancePrepaid","customerPickupBackhaul","prepaidChargeCustomer","prepaidBySeller","paidBySeller","pickup","thirdPartyPay"],"description":"Freight payment method","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode"],"orderful_enum_meta":{"airCollect":{"description":"Air collect payment","orderful_x12_codes":["AC"]},"airPrepaid":{"description":"Air prepaid payment","orderful_x12_codes":["AP"]},"paidByBuyer":{"description":"Freight paid by buyer","orderful_x12_codes":["BP"]},"collect":{"description":"Collect payment","orderful_x12_codes":["CC"]},"mutuallyAgreed":{"description":"Mutually agreed payment method","orderful_x12_codes":["DF"]},"portOfCall":{"description":"Port of call payment","orderful_x12_codes":["FO"]},"halfPrepaid":{"description":"Half prepaid payment","orderful_x12_codes":["HP"]},"mixed":{"description":"Mixed payment method","orderful_x12_codes":["MX"]},"serviceFreightNoCharge":{"description":"Service freight with no charge","orderful_x12_codes":["NC"]},"advancePrepaid":{"description":"Advance prepaid payment","orderful_x12_codes":["PA"]},"customerPickupBackhaul":{"description":"Customer pickup or backhaul","orderful_x12_codes":["PB"]},"prepaidChargeCustomer":{"description":"Prepaid and charged to customer","orderful_x12_codes":["PC"]},"prepaidBySeller":{"description":"Prepaid by seller","orderful_x12_codes":["PP"]},"paidBySeller":{"description":"Freight paid by seller","orderful_x12_codes":["PS"]},"pickup":{"description":"Pickup by consignee","orderful_x12_codes":["PU"]},"thirdPartyPay":{"description":"Third party pays freight","orderful_x12_codes":["TP"]}}},"locationType":{"type":"string","enum":["cityAndState","country","destination","origin","stateProvince","warehouse"],"description":"Type of FOB location","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.locationQualifier"],"orderful_enum_meta":{"cityAndState":{"description":"City and state location","orderful_x12_codes":["AC"]},"country":{"description":"Country location","orderful_x12_codes":["CA","CC"]},"destination":{"description":"Destination location","orderful_x12_codes":["DE"]},"origin":{"description":"Origin location","orderful_x12_codes":["OR"]},"stateProvince":{"description":"State or province location","orderful_x12_codes":["SP"]},"warehouse":{"description":"Warehouse location","orderful_x12_codes":["WH"]}}},"locationDescription":{"description":"Description of FOB location","type":"string"},"titlePassageType":{"type":"string","enum":["cityAndState","country","destination","origin","stateProvince","warehouse"],"description":"Type of title passage location","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.locationQualifier1"],"orderful_enum_meta":{"cityAndState":{"description":"City and state title passage","orderful_x12_codes":["AC"]},"country":{"description":"Country title passage","orderful_x12_codes":["CA","CC"]},"destination":{"description":"Destination title passage","orderful_x12_codes":["DE"]},"origin":{"description":"Origin title passage","orderful_x12_codes":["OR"]},"stateProvince":{"description":"State or province title passage","orderful_x12_codes":["SP"]},"warehouse":{"description":"Warehouse title passage","orderful_x12_codes":["WH"]}}},"titlePassageDescription":{"description":"Description of title passage location","type":"string"},"transportationTermsSource":{"type":"string","enum":["incoTerms","tradeTerms","mutuallyDefined"],"description":"Source of transportation terms","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.transportationTermsQualifierCode"],"orderful_enum_meta":{"incoTerms":{"description":"Incoterms","orderful_x12_codes":["01"]},"tradeTerms":{"description":"Trade terms code","orderful_x12_codes":["02"]},"mutuallyDefined":{"description":"Mutually defined","orderful_x12_codes":["ZZ"]}}},"transportationTerms":{"type":"string","enum":["costAndFreight","costInsuranceAndFreight","carriageAndInsurancePaidTo","carriagePaidTo","deliveredAtFrontier","deliverDutyPaid","deliverDutyUnpaid","deliveredDutyUnpaid","deliveredExQuay","deliveredExShip","domesticallySupplied","exQuay","exShip","exWorks","freeAlongsideShip","freeCarrier","freightCarriageInsurancePaidTo","freightCarriagePaidTo","freeOnBoard","freeOnRail","freeOnTruck","nonPrivilegedForeign","privilegedForeign","mutuallyDefined"],"description":"Incoterms or trade terms code","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.transportationTermsCode"],"orderful_enum_meta":{"costAndFreight":{"description":"Cost and freight (CFR)","orderful_x12_codes":["CFR"],"orderful_edifact_codes":["CFR"]},"costInsuranceAndFreight":{"description":"Cost, insurance and freight (CIF)","orderful_x12_codes":["CIF"],"orderful_edifact_codes":["CIF"]},"carriageAndInsurancePaidTo":{"description":"Carriage and insurance paid to (CIP)","orderful_x12_codes":["CIP"],"orderful_edifact_codes":["CIP"]},"carriagePaidTo":{"description":"Carriage paid to (CPT)","orderful_x12_codes":["CPT"],"orderful_edifact_codes":["CPT"]},"deliveredAtFrontier":{"description":"Delivered at frontier (DAF)","orderful_x12_codes":["DAF"],"orderful_edifact_codes":["DAF"]},"deliverDutyPaid":{"description":"Delivered duty paid (DDP)","orderful_x12_codes":["DDP"],"orderful_edifact_codes":["DDP"]},"deliverDutyUnpaid":{"description":"Delivered duty unpaid (DDU)","orderful_x12_codes":["DDU"],"orderful_edifact_codes":["DDU"]},"deliveredDutyUnpaid":{"description":"Delivered duty unpaid variant (DUP)","orderful_x12_codes":["DUP"],"orderful_edifact_codes":["DUP"]},"deliveredExQuay":{"description":"Delivered ex quay (DEQ)","orderful_x12_codes":["DEQ"],"orderful_edifact_codes":["DEQ"]},"deliveredExShip":{"description":"Delivered ex ship (DES)","orderful_x12_codes":["DES"],"orderful_edifact_codes":["DES"]},"domesticallySupplied":{"description":"Domestically supplied (DOM)","orderful_x12_codes":["DOM"],"orderful_edifact_codes":["DOM"]},"exQuay":{"description":"Ex quay (EXQ)","orderful_x12_codes":["EXQ"],"orderful_edifact_codes":["EXQ"]},"exShip":{"description":"Ex ship (EXS)","orderful_x12_codes":["EXS"],"orderful_edifact_codes":["EXS"]},"exWorks":{"description":"Ex works (EXW)","orderful_x12_codes":["EXW"],"orderful_edifact_codes":["EXW"]},"freeAlongsideShip":{"description":"Free alongside ship (FAS)","orderful_x12_codes":["FAS"],"orderful_edifact_codes":["FAS"]},"freeCarrier":{"description":"Free carrier (FCA)","orderful_x12_codes":["FCA"],"orderful_edifact_codes":["FCA"]},"freightCarriageInsurancePaidTo":{"description":"Freight, carriage and insurance paid to (FCI)","orderful_x12_codes":["FCI"],"orderful_edifact_codes":["FCI"]},"freightCarriagePaidTo":{"description":"Freight and carriage paid to (FCP)","orderful_x12_codes":["FCP"],"orderful_edifact_codes":["FCP"]},"freeOnBoard":{"description":"Free on board (FOB)","orderful_x12_codes":["FOB"],"orderful_edifact_codes":["FOB"]},"freeOnRail":{"description":"Free on rail (FOR)","orderful_x12_codes":["FOR"],"orderful_edifact_codes":["FOR"]},"freeOnTruck":{"description":"Free on truck (FOT)","orderful_x12_codes":["FOT"],"orderful_edifact_codes":["FOT"]},"nonPrivilegedForeign":{"description":"Non-privileged foreign status (NPF)","orderful_x12_codes":["NPF"]},"privilegedForeign":{"description":"Privileged foreign status (PPF)","orderful_x12_codes":["PPF"]},"mutuallyDefined":{"description":"Mutually defined terms","orderful_x12_codes":["ZZZ"],"orderful_edifact_codes":["ZZZ"]}}},"riskOfLoss":{"type":"string","enum":["toDestinationBuyer","toFreightEqPointSeller","toPoolPointSeller","toDestinationSeller","mutuallyDefined"],"description":"Risk of loss transfer point","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.riskOfLossCode"],"orderful_enum_meta":{"toDestinationBuyer":{"description":"Risk transfers to buyer at destination","orderful_x12_codes":["BY"]},"toFreightEqPointSeller":{"description":"Risk transfers to seller at freight equalization point","orderful_x12_codes":["FE"]},"toPoolPointSeller":{"description":"Risk transfers to seller at pool point","orderful_x12_codes":["PP"]},"toDestinationSeller":{"description":"Risk transfers to seller at destination","orderful_x12_codes":["SE"]},"mutuallyDefined":{"description":"Risk of loss mutually defined","orderful_x12_codes":["ZZ"]}}},"description":{"description":"Additional FOB description","type":"string"}},"additionalProperties":false}},"specialHandling":{"description":"Special handling requirements for the shipment","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth"],"type":"array","items":{"type":"object","properties":{"handlingType":{"type":"string","enum":["bulkyArticle","dangerous","deliveryService","domestic","doNotFreeze","doNotUseWaterForFire","environmentalControlLimits","explosiveGas","export","flammable","flammablePoisonGas","fragile","fullContainerConsolidatorLoad","fullContainerFactoryLoad","hazardousMaterial","humiditySensitive","ice","keepDry","marshalingNotRequired","noPlacardsRequired","notifyConsigneeBeforeDelivery","partialShip","perHourRatesApplied","perishable","poisonousGas","protectFromHeat","radioactiveMaterial","refrigerated","shipperLoadCount","signatureAndTimeRequired","stowBelowDeck","temperatureControl","trailerFactoryLoad","transitShip","unloadAsPlacarded","waiveInspection","volatileOrganicCompound"],"description":"Type of special handling required","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth.*.specialHandlingCode"],"orderful_enum_meta":{"bulkyArticle":{"description":"Bulky or oversized article","orderful_x12_codes":["BKA"]},"dangerous":{"description":"Dangerous goods","orderful_x12_codes":["DA"]},"deliveryService":{"description":"Special delivery service required","orderful_x12_codes":["DEL"]},"domestic":{"description":"Domestic handling","orderful_x12_codes":["DM"]},"doNotFreeze":{"description":"Do not freeze","orderful_x12_codes":["DNF"]},"doNotUseWaterForFire":{"description":"Do not use water for fire suppression","orderful_x12_codes":["NW"]},"environmentalControlLimits":{"description":"Requires environmental control within limits","orderful_x12_codes":["EL"]},"explosiveGas":{"description":"Contains explosive gas","orderful_x12_codes":["EX"]},"export":{"description":"Export shipment","orderful_x12_codes":["XP"]},"flammable":{"description":"Flammable material","orderful_x12_codes":["FL"]},"flammablePoisonGas":{"description":"Flammable and poisonous gas","orderful_x12_codes":["FP"]},"fragile":{"description":"Fragile contents","orderful_x12_codes":["FR"]},"fullContainerConsolidatorLoad":{"description":"Full container consolidator load","orderful_x12_codes":["CC"]},"fullContainerFactoryLoad":{"description":"Full container factory load","orderful_x12_codes":["CF"]},"hazardousMaterial":{"description":"Hazardous material","orderful_x12_codes":["HM"]},"humiditySensitive":{"description":"Humidity sensitive material","orderful_x12_codes":["AH"]},"ice":{"description":"Requires ice or refrigerant","orderful_x12_codes":["IC"]},"keepDry":{"description":"Keep dry during transport","orderful_x12_codes":["KMD"]},"marshalingNotRequired":{"description":"Marshaling not required","orderful_x12_codes":["CO"]},"noPlacardsRequired":{"description":"No hazmat placards required","orderful_x12_codes":["NPR"]},"notifyConsigneeBeforeDelivery":{"description":"Notify consignee before delivery","orderful_x12_codes":["NC"]},"partialShip":{"description":"Partial shipment acceptable","orderful_x12_codes":["OPT"]},"perHourRatesApplied":{"description":"Per-hour rates applied","orderful_x12_codes":["PHR"]},"perishable":{"description":"Perishable goods","orderful_x12_codes":["OPR"]},"poisonousGas":{"description":"Poisonous gas","orderful_x12_codes":["PG"]},"protectFromHeat":{"description":"Protect from heat","orderful_x12_codes":["PFH"]},"radioactiveMaterial":{"description":"Radioactive material","orderful_x12_codes":["RM"]},"refrigerated":{"description":"Refrigerated transport required","orderful_x12_codes":["MRF"]},"shipperLoadCount":{"description":"Shipper load and count","orderful_x12_codes":["IE"]},"signatureAndTimeRequired":{"description":"Signature and time of delivery required","orderful_x12_codes":["OTD"]},"stowBelowDeck":{"description":"Stow below deck","orderful_x12_codes":["OSB"]},"temperatureControl":{"description":"Temperature-controlled transport required","orderful_x12_codes":["OTC"]},"trailerFactoryLoad":{"description":"Trailer factory load","orderful_x12_codes":["TF"]},"transitShip":{"description":"Transit shipment","orderful_x12_codes":["TS"]},"unloadAsPlacarded":{"description":"Unload as placarded","orderful_x12_codes":["UN"]},"waiveInspection":{"description":"Waive inspection","orderful_x12_codes":["WI"]},"volatileOrganicCompound":{"description":"Contains volatile organic compound (VOC)","orderful_x12_codes":["VOC"]}}},"description":{"description":"Description of special handling","type":"string"},"materialId":{"description":"Hazardous material identifier","type":"string"},"materialClass":{"description":"Hazardous material class","type":"string"},"conditionResponse":{"description":"Condition response indicator","type":"boolean"}},"additionalProperties":false}}},"additionalProperties":false},"references":{"description":"Reference numbers associated with the shipment","orderful_x12_path":["856:HL_loop.*.referenceInformation.*"],"type":"object","properties":{"appointmentNumber":{"description":"Delivery appointment number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=AO"],"orderful_x12_codes":["AO"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfLadingNumber":{"description":"Bill of lading number for the shipment","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM,UCB"],"orderful_x12_codes":["BM","UCB"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"loadPlanningNumber":{"description":"Load planning or load ID number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=LO"],"orderful_x12_codes":["LO"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"pickupReferenceNumber":{"description":"Pickup reference number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=P8"],"orderful_x12_codes":["P8"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"proNumber":{"description":"Progressive or PRO number from the carrier","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CN"],"orderful_x12_codes":["CN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"trackingNumber":{"description":"Shipment tracking number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=2I"],"orderful_x12_codes":["2I"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"vendorNumber":{"description":"Identifier of the vendor/supplier entity (who the vendor is). NOT the vendor's reference for a specific order — that lives on orders[].vendorOrderNumber.","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=IA,VR"],"orderful_x12_codes":["IA","VR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"dates":{"description":"Important dates such as ship date and delivery date","orderful_x12_path":["856:dateTimeReference","856:HL_loop.*.dateTimeReference"],"orderful_x12_notes":["Trading partners express ship and delivery dates with several DTM01 qualifiers; we collapse them here under shipDate/deliveryDate. If a partner needs a specific qualifier surfaced (e.g. exit-plant vs shipped), split it into a dedicated field rather than adding more codes to these.","856 allows DTM at the top level (after BSN) and under HL_loop at S-level — both are claimed. The HL-level filter on this section (default `[S]`) keeps only S-level DTM here; item-level expiration/manufacture dates are claimed by `orders` via ItemSchema."],"type":"object","properties":{"shipDate":{"description":"Date the goods were shipped","orderful_x12_path":["856:dateTimeReference.* | dateTimeQualifier=011,010,272,068","856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=011,010,272,068"],"orderful_x12_codes":["011","010","272","068"],"orderful_x12_notes":["Maps to whichever DTM01 qualifier the partner uses for ship-side dates: 011 Shipped (most common), 010 Requested Ship, 272 Exit Plant, or 068 Current Schedule Ship. Partners may add more ship-side qualifiers; revisit this set when one shows up that isn't covered.","DTM appears at both top-level and under HL_loop at S-level in 856 — partners vary. Either position is valid; the HL filter scopes the HL-nested form to S-level only."],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"deliveryDate":{"description":"Estimated or scheduled delivery date","orderful_x12_path":["856:dateTimeReference.* | dateTimeQualifier=017,067,002","856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=017,067,002"],"orderful_x12_codes":["017","067","002"],"orderful_x12_notes":["Maps to whichever DTM01 qualifier the partner uses for delivery-side dates: 067 Current Schedule Delivery (most common), 017 Estimated Delivery, or 002 Delivery Requested."],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]}},"additionalProperties":false},"shippingPaymentTerms":{"type":"string","enum":["prepaidBySeller","collect"],"description":"Shipping payment terms (prepaid by seller or collect from buyer)","orderful_x12_path":["856:HL_loop.*.FOBRelatedInstructions.*.shipmentMethodOfPaymentCode"],"orderful_enum_meta":{"prepaidBySeller":{"description":"Shipping prepaid by seller","orderful_x12_codes":["PP"]},"collect":{"description":"Shipping charges collected from buyer","orderful_x12_codes":["CC"]}}},"parties":{"description":"Parties involved in the shipment. Includes contact information where available","orderful_x12_path":["856:HL_loop.*.N1_loop"],"orderful_x12_notes":["When a party is required by the guideline but absent from the simplified input, fall back to the referenced 850 (`$findPoParty`). Particularly common for shipTo, which buyers expect echoed verbatim from the original order."],"type":"object","properties":{"shipFrom":{"description":"Ship-from location where goods originate","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=SF"],"orderful_x12_codes":["SF"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"shipTo":{"description":"Ship-to location where goods are being delivered","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=ST"],"orderful_x12_codes":["ST"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false},"supplier":{"description":"Supplier or vendor fulfilling the order","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=SU,VN"],"orderful_x12_codes":["SU","VN"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"allowances":{"description":"Allowances or discounts applied to the shipment","orderful_x12_path":["856:HL_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=A"],"orderful_x12_codes":["A"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","defectiveAllowance","discount","freight","handling","newStore","other","promotionalAllowance","quantityDiscount","rebate","restocking","serviceAtPickupOrDelivery","shipping","shippingAndHandling","swell","unsaleableMerchandiseAllowance","volume","warehouse"],"description":"Type of allowance or charge","orderful_x12_path":["856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"description":"Basis for calculating percentage","type":"string","enum":["basePrice"]},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid"],"description":"How the charge is handled","orderful_x12_path":["856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"Paid by vendor / price-off invoice (SAC12 05 and 01 are both off-invoice semantics; G7202 02 = Off Invoice)","orderful_x12_codes":["05","01","02"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}},"charges":{"description":"Additional charges applied to the shipment","orderful_x12_path":["856:HL_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=C"],"orderful_x12_codes":["C"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["advertising","defectiveAllowance","discount","freight","handling","newStore","other","promotionalAllowance","quantityDiscount","rebate","restocking","serviceAtPickupOrDelivery","shipping","shippingAndHandling","swell","unsaleableMerchandiseAllowance","volume","warehouse"],"description":"Type of allowance or charge","orderful_x12_path":["856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.servicePromotionAllowanceOrChargeCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeCode"],"orderful_enum_meta":{"advertising":{"description":"Advertising allowance or charge","orderful_x12_codes":["A260"]},"defectiveAllowance":{"description":"Defective merchandise allowance","orderful_x12_codes":["C000"]},"discount":{"description":"General discount","orderful_x12_codes":["C310"]},"freight":{"description":"Freight charge","orderful_x12_codes":["D240","53"]},"handling":{"description":"Handling charge","orderful_x12_codes":["D500","61","503"]},"newStore":{"description":"New store allowance","orderful_x12_codes":["E740","E750"]},"other":{"description":"Other allowance or charge","orderful_x12_codes":["F050","499","999"]},"promotionalAllowance":{"description":"Promotional allowance","orderful_x12_codes":["F800","504","47"]},"quantityDiscount":{"description":"Quantity discount","orderful_x12_codes":["F910"]},"rebate":{"description":"Rebate","orderful_x12_codes":["F970"]},"restocking":{"description":"Restocking charge","orderful_x12_codes":["G470"]},"serviceAtPickupOrDelivery":{"description":"Service charge at pickup or delivery","orderful_x12_codes":["E380","54","518"]},"shipping":{"description":"Shipping charge","orderful_x12_codes":["G821"]},"shippingAndHandling":{"description":"Shipping and handling charge","orderful_x12_codes":["G830"]},"swell":{"description":"Swell allowance","orderful_x12_codes":["H560","95"]},"unsaleableMerchandiseAllowance":{"description":"Unsaleable merchandise allowance","orderful_x12_codes":["I410"]},"volume":{"description":"Volume allowance or discount","orderful_x12_codes":["I530"]},"warehouse":{"description":"Warehouse charge or allowance","orderful_x12_codes":["I570","511"]}}},"amount":{"description":"Fixed amount of allowance or charge","type":"string"},"percent":{"description":"Percentage of allowance or charge","type":"string"},"percentBasis":{"description":"Basis for calculating percentage","type":"string","enum":["basePrice"]},"methodOfHandling":{"type":"string","enum":["collect","paidByVendor","paidByCustomer","prepaid"],"description":"How the charge is handled","orderful_x12_path":["856:HL_loop.*.SAC_loop.*.servicePromotionAllowanceOrChargeInformation.*.allowanceOrChargeMethodOfHandlingCode","875:G68_loop.*.G72_loop.*.allowanceOrCharge.*.allowanceOrChargeMethodOfHandlingCode"],"orderful_enum_meta":{"collect":{"description":"Collect from recipient","orderful_x12_codes":["CC"]},"paidByVendor":{"description":"Paid by vendor / price-off invoice (SAC12 05 and 01 are both off-invoice semantics; G7202 02 = Off Invoice)","orderful_x12_codes":["05","01","02"]},"paidByCustomer":{"description":"Paid by customer","orderful_x12_codes":["06"]},"prepaid":{"description":"Prepaid by shipper","orderful_x12_codes":["PP"]}}},"description":{"description":"Description of the allowance or charge","type":"string"}},"required":["type"],"additionalProperties":false}},"assertions":{"description":"Assertions or special conditions for the shipment","orderful_x12_path":["856:HL_loop.*.yesNoQuestion"],"type":"object","properties":{"isConsigneeRequired":{"description":"Indicates whether consignee information is required","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | freeFormMessageText3=CONSIGNEEREQUIRED"],"orderful_x12_codes":["CONSIGNEEREQUIRED"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDirectPurchase":{"description":"Indicates that the item was purchased directly from the manufacturer","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=DPS"],"orderful_x12_codes":["DPS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isHighPriority":{"description":"Indicates the shipment is high priority","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | freeFormMessageText3=HIGHPRIORITY"],"orderful_x12_codes":["HIGHPRIORITY"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isInventoryOrder":{"description":"Indicates the shipment is for an inventory order","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | freeFormMessageText3=INVENTORYORDER"],"orderful_x12_codes":["INVENTORYORDER"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isSignatureRequired":{"description":"Indicates a signature is required upon delivery","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | freeFormMessageText3=SIGREQUIRED"],"orderful_x12_codes":["SIGREQUIRED"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDSCSACompliant":{"description":"Indicates compliance with Drug Supply Chain Security Act (DSCSA)","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=TS"],"orderful_x12_codes":["TS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false}},"additionalProperties":false},"orders":{"description":"Orders included in this shipment with their items","orderful_x12_path":["856:HL_loop"],"orderful_x12_hl_level":["O","T","P","I"],"orderful_x12_section_kind":"hl-orders","orderful_x12_notes":["HL-level → simplified-field mapping. The partner's HL_loop entries are tagged with `hierarchicalLevelCode`: `O`=Order, `T`=Tare (Pallet), `P`=Pack (Carton), `I`=Item. The matching simplified container per OrderXXXSchema variant: `O` → `orders[]` (OrderCommonSchema), `T` → `pallets[]` (PalletCommonSchema), `P` → `cartons[]` (CartonSchema), `I` → `items[]` (ItemSchema). Pick the OrderXXX variant that matches the partner's actual HL chain (e.g. S-O-P-I → OrderSOPISchema with `cartons[]`, NOT `pallets[]`; S-O-T-I → OrderSOTISchema with `pallets[]` directly containing `items[]`). The variant choice changes the emitted field names — emit `cartons[]` only when the partner sends HL level `P`, emit `pallets[]` only when the partner sends HL level `T`. Tracking numbers + SSCC can live at either P or T depending on the partner's HL_loop shape; the level letter is authoritative, not the segment type."],"orderful_x12_derives":[{"targetPath":"beginningSegmentForShipNotice.*.hierarchicalStructureCode","rule":"Pick a code from the guideline's allowed BSN05 set matching the input's `orders[]` variant per the OrderXXXSchema's `orderful_x12_hl_level` annotations. SOTPI/SOTI/SOPI variants → codes whose description includes 'Packaging' (e.g. 0001, 0002, 0003) — 'Packaging' is the X12 umbrella term for Tare, Pack, or Tare+Pack. SOI variant → S-O-I codes (typically 0004). Prefer the non-inverted form when multiple match (e.g. 0001 over 0002). Omit the field entirely when the guideline does not list BSN05 in its allowed elements — it is optional per X12 spec."},{"targetPath":"beginningSegmentForShipNotice.*.date","rule":"Use `$isoToEdiDate($currentDateTime)`. BSN03 is the timestamp at which the ship notice transaction set was generated, not a date from the input payload — emit it whenever the document is emitted."},{"targetPath":"beginningSegmentForShipNotice.*.time","rule":"Use `$isoToEdiTime($currentDateTime)`. BSN04 is the timestamp at which the ship notice transaction set was generated, not a time from the input payload — emit it whenever the document is emitted."},{"targetPath":"transactionTotals.*.numberOfLineItems","rule":"Total HL-segment count: 1 (shipment) + $count(orders) + $count(pallets across orders) + $count(cartons across pallets-or-orders) + $count(items at the deepest level). Walk whichever S/O/T/P/I variant the input uses. The segment is optional per X12 — drop entirely when the guideline does not list `transactionTotals` in its allowed elements."},{"targetPath":"HL_loop.*.hierarchicalLevel.*.hierarchicalIDNumber","rule":"Assigned by the `$assignHLIds($tree)` preamble helper as a sequential ID across the flattened hierarchy. Do not compute manually — pass the writer-built S/O/T/P/I tree into `$assignHLIds` and consume the merged `hierarchicalLevel` segments it emits per node."},{"targetPath":"HL_loop.*.hierarchicalLevel.*.hierarchicalParentIDNumber","rule":"Assigned by the `$assignHLIds($tree)` preamble helper as the immediate parent's `hierarchicalIDNumber` in the flattened tree. Do not compute manually — same emission as `hierarchicalIDNumber`."},{"targetPath":"HL_loop.*.hierarchicalLevel.*.hierarchicalLevelCode","rule":"Assigned by the `$assignHLIds($tree)` preamble helper from each tree node's `level` (one of `S`, `O`, `T`, `P`, `I`). Do not compute manually — same emission as `hierarchicalIDNumber`."}],"if":{"items":{"required":["pallets"]}},"then":{"if":{"items":{"properties":{"pallets":{"items":{"required":["cartons"]}}}}},"then":{"type":"array","items":{"type":"object","properties":{"purchaseOrderNumber":{"type":"string","description":"Purchase order number for this shipment","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.purchaseOrderNumber"]},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.releaseNumber"],"type":"string"},"purchaseOrderDate":{"description":"Date of the original purchase order","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.date"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"customerOrderNumber":{"description":"Customer-assigned order number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"type":"string"},"vendorOrderNumber":{"description":"The vendor's own reference number for this specific order (the order ID the vendor uses in their system). NOT an identifier of the vendor entity — that lives on references.vendorNumber.","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=VN","856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=VO"],"orderful_x12_codes":["VN","VO"],"type":"string"},"parties":{"description":"Parties associated with this order","orderful_x12_path":["856:HL_loop.*.N1_loop"],"type":"object","properties":{"markFor":{"description":"Mark-for party, the ultimate recipient of the goods","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=Z7,BY"],"orderful_x12_codes":["Z7","BY"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"pallets":{"type":"array","items":{"type":"object","properties":{"palletType":{"description":"Type of pallet used","orderful_x12_path":["856:HL_loop.*.markingPackagingLoading"],"type":"string","enum":["chep","iGps","peco","whiteWood","hardWood","aluminum","specifiedByDOT","metal","standard","steel","wood","slipsheet","softWood"],"orderful_enum_meta":{"chep":{"description":"CHEP pallet","orderful_x12_codes":["37"]},"iGps":{"description":"iGPS pallet","orderful_x12_codes":["41"]},"peco":{"description":"PECO pallet","orderful_x12_codes":["47"]},"whiteWood":{"description":"White wood pallet","orderful_x12_codes":["52"]},"hardWood":{"description":"Hardwood pallet","orderful_x12_codes":["0"]},"aluminum":{"description":"Aluminum pallet","orderful_x12_codes":["1"]},"specifiedByDOT":{"description":"Pallet type specified by Department of Transportation","orderful_x12_codes":["2"]},"metal":{"description":"Metal pallet","orderful_x12_codes":["3"]},"standard":{"description":"Standard pallet","orderful_x12_codes":["4"]},"steel":{"description":"Steel pallet","orderful_x12_codes":["5"]},"wood":{"description":"Wood pallet","orderful_x12_codes":["6"]},"slipsheet":{"description":"Slipsheet","orderful_x12_codes":["7"]},"softWood":{"description":"Softwood pallet","orderful_x12_codes":["8"]}}},"trackingNumber":{"description":"Carrier-assigned tracking number for the pallet","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=CP"],"orderful_x12_codes":["CP"],"type":"string"},"serialShippingId":{"description":"Serial Shipping Container Code (SSCC) for the pallet","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=GM"],"orderful_x12_codes":["GM"],"type":"string"},"upcShippingContainerCode":{"description":"14-digit U.P.C. Shipping Container Code (SCC-14/ITF-14) for the pallet. Pallet level barcode identifying the shipping unit distinctly from the consumer unit inside.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UC"],"orderful_x12_codes":["UC"],"type":"string"},"upcConsumerPackageCode":{"description":"U.P.C. Consumer Package Code for the pallet. Used when the case pack quantity is 1 and the consumer selling unit is also the shipping unit (e.g. Target single-unit shipments).","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UP"],"orderful_x12_codes":["UP"],"type":"string"},"layersPerPallet":{"description":"Number of layers stacked on the pallet","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics.*.palletTiers"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cartonsPerLayer":{"description":"Number of cartons per layer on the pallet","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics.*.palletBlocks"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"palletExchangeType":{"description":"Pallet exchange or return arrangement","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics"],"type":"string","enum":["noExchangeOrReturn","exchange","return","customerPurchase","thirdPartyExchange"],"orderful_enum_meta":{"noExchangeOrReturn":{"description":"No exchange or return of pallets","orderful_x12_codes":["1"]},"exchange":{"description":"Pallet exchange arrangement","orderful_x12_codes":["2"]},"return":{"description":"Pallet return arrangement","orderful_x12_codes":["3"]},"customerPurchase":{"description":"Customer purchases the pallet","orderful_x12_codes":["4"]},"thirdPartyExchange":{"description":"Third-party pallet exchange","orderful_x12_codes":["5"]}}},"palletPhysicalDetails":{"description":"Physical details of the pallet","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails","856:HL_loop.*.palletTypeAndLoadCharacteristics"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"cartons":{"type":"array","items":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Line item identifier from the original purchase order","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.assignedIdentification","856:HL_loop.*.itemDetailShipment.*.assignedIdentification"],"type":"string"},"references":{"description":"Reference numbers for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation"],"type":"object","properties":{"billOfLadingNumber":{"description":"Bill of lading number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["REF*BM at the item level is Bill of Lading Number by default (BM's standard X12 meaning). It shares the BM qualifier with billOfMaterial, which is a custom industrial-materials (steel) usage — only route REF*BM here to billOfMaterial for partners known to use it that way; otherwise it is the bill of lading."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfMaterial":{"description":"Bill of materials reference for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["Custom usage: a steel-industry partner sends REF*BM as a bill-of-materials reference rather than the standard Bill of Lading. Only map REF*BM here when the partner is known to use it this way; the default interpretation of REF*BM is billOfLadingNumber."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"heatCode":{"description":"Steel mill heat number for traceability","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=HT"],"orderful_x12_codes":["HT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"barCode":{"description":"Barcode identifier for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=SN"],"orderful_x12_codes":["SN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"departmentNumber":{"description":"Department number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=DP"],"orderful_x12_codes":["DP"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"invoiceNumber":{"description":"Invoice number associated with this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=IV,IK"],"orderful_x12_codes":["IV","IK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identification codes such as UPC, SKU, or vendor item number","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."],"orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceID"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["856:HL_loop.*.productItemDescription"],"type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the product","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"},"coilNumber":{"description":"Unique identifier for a coil, used in industrial materials (steel, aluminum)","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CV"],"orderful_x12_codes":["CV"],"type":"string"},"quantityShipped":{"description":"Quantity shipped for this item","orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.numberOfUnitsShipped","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"expirationDate":{"description":"Expiration date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=036"],"orderful_x12_codes":["036"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"manufactureDate":{"description":"Manufacture or production date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=405"],"orderful_x12_codes":["405"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"countryOfOrigin":{"description":"Country where the product was manufactured","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=CH"],"orderful_x12_codes":["CH"],"type":"string"},"outerPack":{"description":"Physical details for the outer packaging (case/carton level)","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"orderful_x12_notes":["Outer and inner pack can be combined into a single PO4 segment when both are present; dimensions on the combined segment come from the outer pack. PO401 (pack/quantity) may be present or empty depending on the trading partner."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"innerPack":{"description":"Physical details for the inner packaging","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.innerPack"],"orderful_x12_notes":["Inner pack populates PO414 (inner pack quantity) on the same PO4 when combined with outerPack — see outerPack for the combination rule."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["856:HL_loop.*.sublineItemDetail"],"type":"array","items":{"type":"object","properties":{"sublineId":{"description":"Subline item identifier","type":"string"},"quantity":{"description":"Quantity for the subline item","type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unitCostPrice":{"description":"Unit cost price for the subline item","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identifiers for the subline item","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."]},"productAttributes":{"description":"Product attributes for the subline item","type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the subline item","orderful_x12_path":["HL_loop.*.sublineItemDetail.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"}},"required":["productIds"],"additionalProperties":false}},"assertions":{"description":"Assertions or special conditions for this item","orderful_x12_path":["856:HL_loop.*.yesNoQuestion"],"type":"array","items":{"type":"object","properties":{"isDirectPurchase":{"description":"Indicates that the item was purchased directly from the manufacturer","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=DIR"],"orderful_x12_codes":["DIR"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDirectPurchaseStatementReceived":{"description":"Indicates that a direct purchase statement has been received","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=RDPS"],"orderful_x12_codes":["RDPS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false}},"additionalProperties":false}}},"required":["productIds"],"additionalProperties":false,"orderful_x12_hl_level":"I"},"description":"Items contained in this carton"},"trackingNumber":{"description":"Carrier-assigned tracking number for the carton","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=CP"],"orderful_x12_codes":["CP"],"type":"string"},"serialShippingId":{"description":"GS1 Serial Shipping Container Code (SSCC-18) with Application Identifier (AI 00) for the carton. 18-digit, globally unique, and serially assigned per logistics unit — not derived from the product UPC. For product-derived 14-digit SCC-14/ITF-14 case codes use upcShippingContainerCode instead.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=GM"],"orderful_x12_codes":["GM"],"type":"string"},"upcShippingContainerCode":{"description":"14-digit U.P.C. Shipping Container Code (SCC-14/ITF-14) for the carton. The most common carton-level barcode, identifying the shipping unit distinctly from the consumer unit inside.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UC"],"orderful_x12_codes":["UC"],"type":"string"},"upcConsumerPackageCode":{"description":"U.P.C. Consumer Package Code for the carton. Used when the case pack quantity is 1 and the consumer selling unit is also the shipping unit (e.g. Target single-unit shipments).","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UP"],"orderful_x12_codes":["UP"],"type":"string"},"cartonPhysicalDetails":{"description":"Physical details of the carton","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"specialHandling":{"description":"Special handling requirements for the carton","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth"],"type":"array","items":{"type":"object","properties":{"handlingType":{"type":"string","enum":["bulkyArticle","dangerous","deliveryService","domestic","doNotFreeze","doNotUseWaterForFire","environmentalControlLimits","explosiveGas","export","flammable","flammablePoisonGas","fragile","fullContainerConsolidatorLoad","fullContainerFactoryLoad","hazardousMaterial","humiditySensitive","ice","keepDry","marshalingNotRequired","noPlacardsRequired","notifyConsigneeBeforeDelivery","partialShip","perHourRatesApplied","perishable","poisonousGas","protectFromHeat","radioactiveMaterial","refrigerated","shipperLoadCount","signatureAndTimeRequired","stowBelowDeck","temperatureControl","trailerFactoryLoad","transitShip","unloadAsPlacarded","waiveInspection","volatileOrganicCompound"],"description":"Type of special handling required","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth.*.specialHandlingCode"],"orderful_enum_meta":{"bulkyArticle":{"description":"Bulky or oversized article","orderful_x12_codes":["BKA"]},"dangerous":{"description":"Dangerous goods","orderful_x12_codes":["DA"]},"deliveryService":{"description":"Special delivery service required","orderful_x12_codes":["DEL"]},"domestic":{"description":"Domestic handling","orderful_x12_codes":["DM"]},"doNotFreeze":{"description":"Do not freeze","orderful_x12_codes":["DNF"]},"doNotUseWaterForFire":{"description":"Do not use water for fire suppression","orderful_x12_codes":["NW"]},"environmentalControlLimits":{"description":"Requires environmental control within limits","orderful_x12_codes":["EL"]},"explosiveGas":{"description":"Contains explosive gas","orderful_x12_codes":["EX"]},"export":{"description":"Export shipment","orderful_x12_codes":["XP"]},"flammable":{"description":"Flammable material","orderful_x12_codes":["FL"]},"flammablePoisonGas":{"description":"Flammable and poisonous gas","orderful_x12_codes":["FP"]},"fragile":{"description":"Fragile contents","orderful_x12_codes":["FR"]},"fullContainerConsolidatorLoad":{"description":"Full container consolidator load","orderful_x12_codes":["CC"]},"fullContainerFactoryLoad":{"description":"Full container factory load","orderful_x12_codes":["CF"]},"hazardousMaterial":{"description":"Hazardous material","orderful_x12_codes":["HM"]},"humiditySensitive":{"description":"Humidity sensitive material","orderful_x12_codes":["AH"]},"ice":{"description":"Requires ice or refrigerant","orderful_x12_codes":["IC"]},"keepDry":{"description":"Keep dry during transport","orderful_x12_codes":["KMD"]},"marshalingNotRequired":{"description":"Marshaling not required","orderful_x12_codes":["CO"]},"noPlacardsRequired":{"description":"No hazmat placards required","orderful_x12_codes":["NPR"]},"notifyConsigneeBeforeDelivery":{"description":"Notify consignee before delivery","orderful_x12_codes":["NC"]},"partialShip":{"description":"Partial shipment acceptable","orderful_x12_codes":["OPT"]},"perHourRatesApplied":{"description":"Per-hour rates applied","orderful_x12_codes":["PHR"]},"perishable":{"description":"Perishable goods","orderful_x12_codes":["OPR"]},"poisonousGas":{"description":"Poisonous gas","orderful_x12_codes":["PG"]},"protectFromHeat":{"description":"Protect from heat","orderful_x12_codes":["PFH"]},"radioactiveMaterial":{"description":"Radioactive material","orderful_x12_codes":["RM"]},"refrigerated":{"description":"Refrigerated transport required","orderful_x12_codes":["MRF"]},"shipperLoadCount":{"description":"Shipper load and count","orderful_x12_codes":["IE"]},"signatureAndTimeRequired":{"description":"Signature and time of delivery required","orderful_x12_codes":["OTD"]},"stowBelowDeck":{"description":"Stow below deck","orderful_x12_codes":["OSB"]},"temperatureControl":{"description":"Temperature-controlled transport required","orderful_x12_codes":["OTC"]},"trailerFactoryLoad":{"description":"Trailer factory load","orderful_x12_codes":["TF"]},"transitShip":{"description":"Transit shipment","orderful_x12_codes":["TS"]},"unloadAsPlacarded":{"description":"Unload as placarded","orderful_x12_codes":["UN"]},"waiveInspection":{"description":"Waive inspection","orderful_x12_codes":["WI"]},"volatileOrganicCompound":{"description":"Contains volatile organic compound (VOC)","orderful_x12_codes":["VOC"]}}},"description":{"description":"Description of special handling","type":"string"},"materialId":{"description":"Hazardous material identifier","type":"string"},"materialClass":{"description":"Hazardous material class","type":"string"},"conditionResponse":{"description":"Condition response indicator","type":"boolean"}},"additionalProperties":false}}},"required":["items"],"additionalProperties":false,"orderful_x12_hl_level":"P"},"description":"Cartons contained on this pallet"}},"required":["cartons"],"additionalProperties":false,"orderful_x12_hl_level":"T"},"description":"Pallets containing cartons with items for this order"}},"required":["purchaseOrderNumber","pallets"],"additionalProperties":false,"description":"Order with pallets containing cartons with items (Shipment > Order > Tare > Pack > Item)","orderful_x12_hl_level":"O"}},"else":{"type":"array","items":{"type":"object","properties":{"purchaseOrderNumber":{"type":"string","description":"Purchase order number for this shipment","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.purchaseOrderNumber"]},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.releaseNumber"],"type":"string"},"purchaseOrderDate":{"description":"Date of the original purchase order","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.date"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"customerOrderNumber":{"description":"Customer-assigned order number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"type":"string"},"vendorOrderNumber":{"description":"The vendor's own reference number for this specific order (the order ID the vendor uses in their system). NOT an identifier of the vendor entity — that lives on references.vendorNumber.","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=VN","856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=VO"],"orderful_x12_codes":["VN","VO"],"type":"string"},"parties":{"description":"Parties associated with this order","orderful_x12_path":["856:HL_loop.*.N1_loop"],"type":"object","properties":{"markFor":{"description":"Mark-for party, the ultimate recipient of the goods","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=Z7,BY"],"orderful_x12_codes":["Z7","BY"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"pallets":{"type":"array","items":{"type":"object","properties":{"palletType":{"description":"Type of pallet used","orderful_x12_path":["856:HL_loop.*.markingPackagingLoading"],"type":"string","enum":["chep","iGps","peco","whiteWood","hardWood","aluminum","specifiedByDOT","metal","standard","steel","wood","slipsheet","softWood"],"orderful_enum_meta":{"chep":{"description":"CHEP pallet","orderful_x12_codes":["37"]},"iGps":{"description":"iGPS pallet","orderful_x12_codes":["41"]},"peco":{"description":"PECO pallet","orderful_x12_codes":["47"]},"whiteWood":{"description":"White wood pallet","orderful_x12_codes":["52"]},"hardWood":{"description":"Hardwood pallet","orderful_x12_codes":["0"]},"aluminum":{"description":"Aluminum pallet","orderful_x12_codes":["1"]},"specifiedByDOT":{"description":"Pallet type specified by Department of Transportation","orderful_x12_codes":["2"]},"metal":{"description":"Metal pallet","orderful_x12_codes":["3"]},"standard":{"description":"Standard pallet","orderful_x12_codes":["4"]},"steel":{"description":"Steel pallet","orderful_x12_codes":["5"]},"wood":{"description":"Wood pallet","orderful_x12_codes":["6"]},"slipsheet":{"description":"Slipsheet","orderful_x12_codes":["7"]},"softWood":{"description":"Softwood pallet","orderful_x12_codes":["8"]}}},"trackingNumber":{"description":"Carrier-assigned tracking number for the pallet","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=CP"],"orderful_x12_codes":["CP"],"type":"string"},"serialShippingId":{"description":"Serial Shipping Container Code (SSCC) for the pallet","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=GM"],"orderful_x12_codes":["GM"],"type":"string"},"upcShippingContainerCode":{"description":"14-digit U.P.C. Shipping Container Code (SCC-14/ITF-14) for the pallet. Pallet level barcode identifying the shipping unit distinctly from the consumer unit inside.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UC"],"orderful_x12_codes":["UC"],"type":"string"},"upcConsumerPackageCode":{"description":"U.P.C. Consumer Package Code for the pallet. Used when the case pack quantity is 1 and the consumer selling unit is also the shipping unit (e.g. Target single-unit shipments).","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UP"],"orderful_x12_codes":["UP"],"type":"string"},"layersPerPallet":{"description":"Number of layers stacked on the pallet","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics.*.palletTiers"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"cartonsPerLayer":{"description":"Number of cartons per layer on the pallet","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics.*.palletBlocks"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"palletExchangeType":{"description":"Pallet exchange or return arrangement","orderful_x12_path":["856:HL_loop.*.palletTypeAndLoadCharacteristics"],"type":"string","enum":["noExchangeOrReturn","exchange","return","customerPurchase","thirdPartyExchange"],"orderful_enum_meta":{"noExchangeOrReturn":{"description":"No exchange or return of pallets","orderful_x12_codes":["1"]},"exchange":{"description":"Pallet exchange arrangement","orderful_x12_codes":["2"]},"return":{"description":"Pallet return arrangement","orderful_x12_codes":["3"]},"customerPurchase":{"description":"Customer purchases the pallet","orderful_x12_codes":["4"]},"thirdPartyExchange":{"description":"Third-party pallet exchange","orderful_x12_codes":["5"]}}},"palletPhysicalDetails":{"description":"Physical details of the pallet","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails","856:HL_loop.*.palletTypeAndLoadCharacteristics"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Line item identifier from the original purchase order","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.assignedIdentification","856:HL_loop.*.itemDetailShipment.*.assignedIdentification"],"type":"string"},"references":{"description":"Reference numbers for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation"],"type":"object","properties":{"billOfLadingNumber":{"description":"Bill of lading number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["REF*BM at the item level is Bill of Lading Number by default (BM's standard X12 meaning). It shares the BM qualifier with billOfMaterial, which is a custom industrial-materials (steel) usage — only route REF*BM here to billOfMaterial for partners known to use it that way; otherwise it is the bill of lading."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfMaterial":{"description":"Bill of materials reference for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["Custom usage: a steel-industry partner sends REF*BM as a bill-of-materials reference rather than the standard Bill of Lading. Only map REF*BM here when the partner is known to use it this way; the default interpretation of REF*BM is billOfLadingNumber."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"heatCode":{"description":"Steel mill heat number for traceability","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=HT"],"orderful_x12_codes":["HT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"barCode":{"description":"Barcode identifier for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=SN"],"orderful_x12_codes":["SN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"departmentNumber":{"description":"Department number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=DP"],"orderful_x12_codes":["DP"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"invoiceNumber":{"description":"Invoice number associated with this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=IV,IK"],"orderful_x12_codes":["IV","IK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identification codes such as UPC, SKU, or vendor item number","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."],"orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceID"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["856:HL_loop.*.productItemDescription"],"type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the product","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"},"coilNumber":{"description":"Unique identifier for a coil, used in industrial materials (steel, aluminum)","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CV"],"orderful_x12_codes":["CV"],"type":"string"},"quantityShipped":{"description":"Quantity shipped for this item","orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.numberOfUnitsShipped","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"expirationDate":{"description":"Expiration date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=036"],"orderful_x12_codes":["036"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"manufactureDate":{"description":"Manufacture or production date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=405"],"orderful_x12_codes":["405"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"countryOfOrigin":{"description":"Country where the product was manufactured","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=CH"],"orderful_x12_codes":["CH"],"type":"string"},"outerPack":{"description":"Physical details for the outer packaging (case/carton level)","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"orderful_x12_notes":["Outer and inner pack can be combined into a single PO4 segment when both are present; dimensions on the combined segment come from the outer pack. PO401 (pack/quantity) may be present or empty depending on the trading partner."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"innerPack":{"description":"Physical details for the inner packaging","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.innerPack"],"orderful_x12_notes":["Inner pack populates PO414 (inner pack quantity) on the same PO4 when combined with outerPack — see outerPack for the combination rule."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["856:HL_loop.*.sublineItemDetail"],"type":"array","items":{"type":"object","properties":{"sublineId":{"description":"Subline item identifier","type":"string"},"quantity":{"description":"Quantity for the subline item","type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unitCostPrice":{"description":"Unit cost price for the subline item","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identifiers for the subline item","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."]},"productAttributes":{"description":"Product attributes for the subline item","type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the subline item","orderful_x12_path":["HL_loop.*.sublineItemDetail.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"}},"required":["productIds"],"additionalProperties":false}},"assertions":{"description":"Assertions or special conditions for this item","orderful_x12_path":["856:HL_loop.*.yesNoQuestion"],"type":"array","items":{"type":"object","properties":{"isDirectPurchase":{"description":"Indicates that the item was purchased directly from the manufacturer","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=DIR"],"orderful_x12_codes":["DIR"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDirectPurchaseStatementReceived":{"description":"Indicates that a direct purchase statement has been received","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=RDPS"],"orderful_x12_codes":["RDPS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false}},"additionalProperties":false}}},"required":["productIds"],"additionalProperties":false,"orderful_x12_hl_level":"I"},"description":"Items contained on this pallet"}},"required":["items"],"additionalProperties":false,"orderful_x12_hl_level":"T"},"description":"Pallets containing items directly for this order"}},"required":["purchaseOrderNumber","pallets"],"additionalProperties":false,"description":"Order with pallets containing items directly (Shipment > Order > Tare > Item)","orderful_x12_hl_level":"O"}}},"else":{"if":{"items":{"required":["cartons"]}},"then":{"type":"array","items":{"type":"object","properties":{"purchaseOrderNumber":{"type":"string","description":"Purchase order number for this shipment","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.purchaseOrderNumber"]},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.releaseNumber"],"type":"string"},"purchaseOrderDate":{"description":"Date of the original purchase order","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.date"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"customerOrderNumber":{"description":"Customer-assigned order number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"type":"string"},"vendorOrderNumber":{"description":"The vendor's own reference number for this specific order (the order ID the vendor uses in their system). NOT an identifier of the vendor entity — that lives on references.vendorNumber.","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=VN","856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=VO"],"orderful_x12_codes":["VN","VO"],"type":"string"},"parties":{"description":"Parties associated with this order","orderful_x12_path":["856:HL_loop.*.N1_loop"],"type":"object","properties":{"markFor":{"description":"Mark-for party, the ultimate recipient of the goods","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=Z7,BY"],"orderful_x12_codes":["Z7","BY"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"cartons":{"type":"array","items":{"type":"object","properties":{"items":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Line item identifier from the original purchase order","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.assignedIdentification","856:HL_loop.*.itemDetailShipment.*.assignedIdentification"],"type":"string"},"references":{"description":"Reference numbers for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation"],"type":"object","properties":{"billOfLadingNumber":{"description":"Bill of lading number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["REF*BM at the item level is Bill of Lading Number by default (BM's standard X12 meaning). It shares the BM qualifier with billOfMaterial, which is a custom industrial-materials (steel) usage — only route REF*BM here to billOfMaterial for partners known to use it that way; otherwise it is the bill of lading."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfMaterial":{"description":"Bill of materials reference for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["Custom usage: a steel-industry partner sends REF*BM as a bill-of-materials reference rather than the standard Bill of Lading. Only map REF*BM here when the partner is known to use it this way; the default interpretation of REF*BM is billOfLadingNumber."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"heatCode":{"description":"Steel mill heat number for traceability","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=HT"],"orderful_x12_codes":["HT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"barCode":{"description":"Barcode identifier for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=SN"],"orderful_x12_codes":["SN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"departmentNumber":{"description":"Department number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=DP"],"orderful_x12_codes":["DP"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"invoiceNumber":{"description":"Invoice number associated with this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=IV,IK"],"orderful_x12_codes":["IV","IK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identification codes such as UPC, SKU, or vendor item number","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."],"orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceID"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["856:HL_loop.*.productItemDescription"],"type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the product","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"},"coilNumber":{"description":"Unique identifier for a coil, used in industrial materials (steel, aluminum)","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CV"],"orderful_x12_codes":["CV"],"type":"string"},"quantityShipped":{"description":"Quantity shipped for this item","orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.numberOfUnitsShipped","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"expirationDate":{"description":"Expiration date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=036"],"orderful_x12_codes":["036"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"manufactureDate":{"description":"Manufacture or production date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=405"],"orderful_x12_codes":["405"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"countryOfOrigin":{"description":"Country where the product was manufactured","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=CH"],"orderful_x12_codes":["CH"],"type":"string"},"outerPack":{"description":"Physical details for the outer packaging (case/carton level)","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"orderful_x12_notes":["Outer and inner pack can be combined into a single PO4 segment when both are present; dimensions on the combined segment come from the outer pack. PO401 (pack/quantity) may be present or empty depending on the trading partner."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"innerPack":{"description":"Physical details for the inner packaging","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.innerPack"],"orderful_x12_notes":["Inner pack populates PO414 (inner pack quantity) on the same PO4 when combined with outerPack — see outerPack for the combination rule."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["856:HL_loop.*.sublineItemDetail"],"type":"array","items":{"type":"object","properties":{"sublineId":{"description":"Subline item identifier","type":"string"},"quantity":{"description":"Quantity for the subline item","type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unitCostPrice":{"description":"Unit cost price for the subline item","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identifiers for the subline item","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."]},"productAttributes":{"description":"Product attributes for the subline item","type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the subline item","orderful_x12_path":["HL_loop.*.sublineItemDetail.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"}},"required":["productIds"],"additionalProperties":false}},"assertions":{"description":"Assertions or special conditions for this item","orderful_x12_path":["856:HL_loop.*.yesNoQuestion"],"type":"array","items":{"type":"object","properties":{"isDirectPurchase":{"description":"Indicates that the item was purchased directly from the manufacturer","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=DIR"],"orderful_x12_codes":["DIR"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDirectPurchaseStatementReceived":{"description":"Indicates that a direct purchase statement has been received","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=RDPS"],"orderful_x12_codes":["RDPS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false}},"additionalProperties":false}}},"required":["productIds"],"additionalProperties":false,"orderful_x12_hl_level":"I"},"description":"Items contained in this carton"},"trackingNumber":{"description":"Carrier-assigned tracking number for the carton","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=CP"],"orderful_x12_codes":["CP"],"type":"string"},"serialShippingId":{"description":"GS1 Serial Shipping Container Code (SSCC-18) with Application Identifier (AI 00) for the carton. 18-digit, globally unique, and serially assigned per logistics unit — not derived from the product UPC. For product-derived 14-digit SCC-14/ITF-14 case codes use upcShippingContainerCode instead.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=GM"],"orderful_x12_codes":["GM"],"type":"string"},"upcShippingContainerCode":{"description":"14-digit U.P.C. Shipping Container Code (SCC-14/ITF-14) for the carton. The most common carton-level barcode, identifying the shipping unit distinctly from the consumer unit inside.","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UC"],"orderful_x12_codes":["UC"],"type":"string"},"upcConsumerPackageCode":{"description":"U.P.C. Consumer Package Code for the carton. Used when the case pack quantity is 1 and the consumer selling unit is also the shipping unit (e.g. Target single-unit shipments).","orderful_x12_path":["856:HL_loop.*.marksAndNumbersInformation.* | marksAndNumbersQualifier=UP"],"orderful_x12_codes":["UP"],"type":"string"},"cartonPhysicalDetails":{"description":"Physical details of the carton","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"specialHandling":{"description":"Special handling requirements for the carton","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth"],"type":"array","items":{"type":"object","properties":{"handlingType":{"type":"string","enum":["bulkyArticle","dangerous","deliveryService","domestic","doNotFreeze","doNotUseWaterForFire","environmentalControlLimits","explosiveGas","export","flammable","flammablePoisonGas","fragile","fullContainerConsolidatorLoad","fullContainerFactoryLoad","hazardousMaterial","humiditySensitive","ice","keepDry","marshalingNotRequired","noPlacardsRequired","notifyConsigneeBeforeDelivery","partialShip","perHourRatesApplied","perishable","poisonousGas","protectFromHeat","radioactiveMaterial","refrigerated","shipperLoadCount","signatureAndTimeRequired","stowBelowDeck","temperatureControl","trailerFactoryLoad","transitShip","unloadAsPlacarded","waiveInspection","volatileOrganicCompound"],"description":"Type of special handling required","orderful_x12_path":["856:HL_loop.*.carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth.*.specialHandlingCode"],"orderful_enum_meta":{"bulkyArticle":{"description":"Bulky or oversized article","orderful_x12_codes":["BKA"]},"dangerous":{"description":"Dangerous goods","orderful_x12_codes":["DA"]},"deliveryService":{"description":"Special delivery service required","orderful_x12_codes":["DEL"]},"domestic":{"description":"Domestic handling","orderful_x12_codes":["DM"]},"doNotFreeze":{"description":"Do not freeze","orderful_x12_codes":["DNF"]},"doNotUseWaterForFire":{"description":"Do not use water for fire suppression","orderful_x12_codes":["NW"]},"environmentalControlLimits":{"description":"Requires environmental control within limits","orderful_x12_codes":["EL"]},"explosiveGas":{"description":"Contains explosive gas","orderful_x12_codes":["EX"]},"export":{"description":"Export shipment","orderful_x12_codes":["XP"]},"flammable":{"description":"Flammable material","orderful_x12_codes":["FL"]},"flammablePoisonGas":{"description":"Flammable and poisonous gas","orderful_x12_codes":["FP"]},"fragile":{"description":"Fragile contents","orderful_x12_codes":["FR"]},"fullContainerConsolidatorLoad":{"description":"Full container consolidator load","orderful_x12_codes":["CC"]},"fullContainerFactoryLoad":{"description":"Full container factory load","orderful_x12_codes":["CF"]},"hazardousMaterial":{"description":"Hazardous material","orderful_x12_codes":["HM"]},"humiditySensitive":{"description":"Humidity sensitive material","orderful_x12_codes":["AH"]},"ice":{"description":"Requires ice or refrigerant","orderful_x12_codes":["IC"]},"keepDry":{"description":"Keep dry during transport","orderful_x12_codes":["KMD"]},"marshalingNotRequired":{"description":"Marshaling not required","orderful_x12_codes":["CO"]},"noPlacardsRequired":{"description":"No hazmat placards required","orderful_x12_codes":["NPR"]},"notifyConsigneeBeforeDelivery":{"description":"Notify consignee before delivery","orderful_x12_codes":["NC"]},"partialShip":{"description":"Partial shipment acceptable","orderful_x12_codes":["OPT"]},"perHourRatesApplied":{"description":"Per-hour rates applied","orderful_x12_codes":["PHR"]},"perishable":{"description":"Perishable goods","orderful_x12_codes":["OPR"]},"poisonousGas":{"description":"Poisonous gas","orderful_x12_codes":["PG"]},"protectFromHeat":{"description":"Protect from heat","orderful_x12_codes":["PFH"]},"radioactiveMaterial":{"description":"Radioactive material","orderful_x12_codes":["RM"]},"refrigerated":{"description":"Refrigerated transport required","orderful_x12_codes":["MRF"]},"shipperLoadCount":{"description":"Shipper load and count","orderful_x12_codes":["IE"]},"signatureAndTimeRequired":{"description":"Signature and time of delivery required","orderful_x12_codes":["OTD"]},"stowBelowDeck":{"description":"Stow below deck","orderful_x12_codes":["OSB"]},"temperatureControl":{"description":"Temperature-controlled transport required","orderful_x12_codes":["OTC"]},"trailerFactoryLoad":{"description":"Trailer factory load","orderful_x12_codes":["TF"]},"transitShip":{"description":"Transit shipment","orderful_x12_codes":["TS"]},"unloadAsPlacarded":{"description":"Unload as placarded","orderful_x12_codes":["UN"]},"waiveInspection":{"description":"Waive inspection","orderful_x12_codes":["WI"]},"volatileOrganicCompound":{"description":"Contains volatile organic compound (VOC)","orderful_x12_codes":["VOC"]}}},"description":{"description":"Description of special handling","type":"string"},"materialId":{"description":"Hazardous material identifier","type":"string"},"materialClass":{"description":"Hazardous material class","type":"string"},"conditionResponse":{"description":"Condition response indicator","type":"boolean"}},"additionalProperties":false}}},"required":["items"],"additionalProperties":false,"orderful_x12_hl_level":"P"},"description":"Cartons containing items for this order"}},"required":["purchaseOrderNumber","cartons"],"additionalProperties":false,"description":"Order with cartons containing items (Shipment > Order > Pack > Item)","orderful_x12_hl_level":"O"}},"else":{"type":"array","items":{"type":"object","properties":{"purchaseOrderNumber":{"type":"string","description":"Purchase order number for this shipment","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.purchaseOrderNumber"]},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.releaseNumber"],"type":"string"},"purchaseOrderDate":{"description":"Date of the original purchase order","orderful_x12_path":["856:HL_loop.*.purchaseOrderReference.*.date"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"customerOrderNumber":{"description":"Customer-assigned order number","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"type":"string"},"vendorOrderNumber":{"description":"The vendor's own reference number for this specific order (the order ID the vendor uses in their system). NOT an identifier of the vendor entity — that lives on references.vendorNumber.","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=VN","856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=VO"],"orderful_x12_codes":["VN","VO"],"type":"string"},"parties":{"description":"Parties associated with this order","orderful_x12_path":["856:HL_loop.*.N1_loop"],"type":"object","properties":{"markFor":{"description":"Mark-for party, the ultimate recipient of the goods","orderful_x12_path":["856:HL_loop.*.N1_loop.* | entityIdentifierCode=Z7,BY"],"orderful_x12_codes":["Z7","BY"],"type":"object","properties":{"name":{"description":"Party name or company name","type":"string"},"additionalName1":{"description":"Additional name line 1","type":"string"},"additionalName2":{"description":"Additional name line 2","type":"string"},"identificationCode":{"description":"Party identification code value","type":"string"},"identificationCodeType":{"type":"string","enum":["sendersId","receiversId","duns","plantCode","dunsPlus4","drugEnforcementAdmin","telephone","federalReserveRouting","standardAddressSAN","healthIndustryHIN","warehouse","schoolId","memberId","stateLicenseId","globalLocationId"],"description":"Type of identification code","orderful_x12_path":["856:HL_loop.*.N1_loop.*.partyIdentification.*.identificationCodeQualifier"],"orderful_enum_meta":{"sendersId":{"description":"Sender's identification code","orderful_x12_codes":["58","93","91","92"],"orderful_edifact_codes":["91"]},"receiversId":{"description":"Receiver's identification code","orderful_x12_codes":["59","94","91","92"],"orderful_edifact_codes":["92"]},"duns":{"description":"Dun & Bradstreet number","orderful_x12_codes":["1"],"orderful_edifact_codes":["16"]},"plantCode":{"description":"Plant code","orderful_x12_codes":["6"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"drugEnforcementAdmin":{"description":"DEA (Drug Enforcement Administration) number","orderful_x12_codes":["11"]},"telephone":{"description":"Telephone number as identifier","orderful_x12_codes":["12"]},"federalReserveRouting":{"description":"Federal Reserve routing number","orderful_x12_codes":["13"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"healthIndustryHIN":{"description":"Health Industry Number (HIN)","orderful_x12_codes":["21"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"schoolId":{"description":"School identifier","orderful_x12_codes":["DS"]},"memberId":{"description":"Member identifier","orderful_x12_codes":["MI"]},"stateLicenseId":{"description":"State license identifier","orderful_x12_codes":["SL"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"addressLine1":{"description":"Street address line 1","type":"string"},"addressLine2":{"description":"Street address line 2","type":"string"},"addressLine3":{"description":"Street address line 3","type":"string"},"addressLine4":{"description":"Street address line 4","type":"string"},"city":{"description":"City name","type":"string"},"stateOrProvinceCode":{"description":"State or province code","type":"string"},"postalCode":{"description":"Postal or ZIP code","type":"string"},"countryCode":{"description":"Country code (ISO)","type":"string"},"zoneType":{"description":"Address zone type","type":"string","enum":["residential","commercial"]},"contacts":{"description":"Contact persons for this party","type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["primary","customerRelations","orderInquiry","department","shipping","receiving","hazmat"],"description":"Type of contact. Default to 'primary' for party-level (N1_loop) PER segments and context-routed header-level PER segments — the parent party's role provides the context. Use other types only to distinguish multiple contacts within a single party (e.g. 'hazmat' for HM, 'shipping' for SD).","orderful_x12_path":["856:HL_loop.*.N1_loop.*.administrativeCommunicationsContact.*.contactFunctionCode"],"orderful_enum_meta":{"primary":{"description":"General contact or party-level contact","orderful_x12_codes":["AJ","BD","IC"]},"customerRelations":{"description":"Customer relations contact","orderful_x12_codes":["CR"]},"orderInquiry":{"description":"Order or billing contact","orderful_x12_codes":["BI","OC"]},"department":{"description":"Sales representative or department contact","orderful_x12_codes":["SR"]},"shipping":{"description":"Shipping department contact","orderful_x12_codes":["SD"]},"receiving":{"description":"Receiving department contact","orderful_x12_codes":["RE"]},"hazmat":{"description":"Hazardous material contact","orderful_x12_codes":["HM"]}}},"name":{"description":"Contact person name","type":"string"},"phoneNumber":{"description":"Contact phone number. Default source is the comm-number paired with a TE qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type (e.g. \"Fax #\", \"Email\"), follow the note and route accordingly.","type":"string"},"faxNumber":{"description":"Contact fax number. Default source is the comm-number paired with an FX qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on a comm-number element labels its value as fax even when the qualifier is TE/EM, follow the note and route the value here.","type":"string"},"email":{"description":"Contact email address. Default source is the comm-number paired with an EM qualifier (PER03/04, PER05/06, or PER07/08). If the partner guideline note on the comm-number element labels the value as a different comm type, follow the note and route accordingly.","type":"string"}},"required":["type"],"additionalProperties":false}}},"additionalProperties":false}},"additionalProperties":false},"items":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Line item identifier from the original purchase order","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.assignedIdentification","856:HL_loop.*.itemDetailShipment.*.assignedIdentification"],"type":"string"},"references":{"description":"Reference numbers for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation"],"type":"object","properties":{"billOfLadingNumber":{"description":"Bill of lading number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["REF*BM at the item level is Bill of Lading Number by default (BM's standard X12 meaning). It shares the BM qualifier with billOfMaterial, which is a custom industrial-materials (steel) usage — only route REF*BM here to billOfMaterial for partners known to use it that way; otherwise it is the bill of lading."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"billOfMaterial":{"description":"Bill of materials reference for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=BM"],"orderful_x12_codes":["BM"],"orderful_x12_notes":["Custom usage: a steel-industry partner sends REF*BM as a bill-of-materials reference rather than the standard Bill of Lading. Only map REF*BM here when the partner is known to use it this way; the default interpretation of REF*BM is billOfLadingNumber."],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"heatCode":{"description":"Steel mill heat number for traceability","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=HT"],"orderful_x12_codes":["HT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"barCode":{"description":"Barcode identifier for the item","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=SN"],"orderful_x12_codes":["SN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"departmentNumber":{"description":"Department number for this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=DP"],"orderful_x12_codes":["DP"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"invoiceNumber":{"description":"Invoice number associated with this item","orderful_x12_path":["HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=IV,IK"],"orderful_x12_codes":["IV","IK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false}},"additionalProperties":false},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identification codes such as UPC, SKU, or vendor item number","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."],"orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceID"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["856:HL_loop.*.productItemDescription"],"type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the product","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"},"coilNumber":{"description":"Unique identifier for a coil, used in industrial materials (steel, aluminum)","orderful_x12_path":["856:HL_loop.*.referenceInformation.* | referenceIdentificationQualifier=CV"],"orderful_x12_codes":["CV"],"type":"string"},"quantityShipped":{"description":"Quantity shipped for this item","orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.numberOfUnitsShipped","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode"],"type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"expirationDate":{"description":"Expiration date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=036"],"orderful_x12_codes":["036"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"manufactureDate":{"description":"Manufacture or production date of the product","orderful_x12_path":["856:HL_loop.*.dateTimeReference.* | dateTimeQualifier=405"],"orderful_x12_codes":["405"],"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z|([+-](?:[01]\\d|2[0-3]):[0-5]\\d)))$"}]},"countryOfOrigin":{"description":"Country where the product was manufactured","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceID | productServiceIDQualifier=CH"],"orderful_x12_codes":["CH"],"type":"string"},"outerPack":{"description":"Physical details for the outer packaging (case/carton level)","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails"],"orderful_x12_notes":["Outer and inner pack can be combined into a single PO4 segment when both are present; dimensions on the combined segment come from the outer pack. PO401 (pack/quantity) may be present or empty depending on the trading partner."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"innerPack":{"description":"Physical details for the inner packaging","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.innerPack"],"orderful_x12_notes":["Inner pack populates PO414 (inner pack quantity) on the same PO4 when combined with outerPack — see outerPack for the combination rule."],"type":"object","properties":{"numberOfUnits":{"description":"Number of units in the package","type":"string"},"size":{"description":"Size value of the package","type":"string"},"sizeUOM":{"type":"string","enum":["bag","box","carton","case","cassette","each","fluidOunce","gram","kilogram","liter","milliliter","ounce","packPAK","package","pair","pound","roll","tote","unit"],"description":"Unit of measure for size","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"bag":{"description":"Bag unit for size","orderful_x12_codes":["BG"]},"box":{"description":"Box unit for size","orderful_x12_codes":["BX"]},"carton":{"description":"Carton unit for size","orderful_x12_codes":["CT"]},"case":{"description":"Case unit for size","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette unit for size","orderful_x12_codes":["CS"]},"each":{"description":"Each unit for size","orderful_x12_codes":["EA"]},"fluidOunce":{"description":"Fluid ounce volume unit","orderful_x12_codes":["FO"]},"gram":{"description":"Gram weight unit","orderful_x12_codes":["GR"]},"kilogram":{"description":"Kilogram weight unit","orderful_x12_codes":["KG"]},"liter":{"description":"Liter volume unit","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume unit","orderful_x12_codes":["ML"]},"ounce":{"description":"Ounce weight unit","orderful_x12_codes":["OZ"]},"packPAK":{"description":"PAK pack unit","orderful_x12_codes":["PH"]},"package":{"description":"Package unit","orderful_x12_codes":["PK"]},"pair":{"description":"Pair unit","orderful_x12_codes":["PR"]},"pound":{"description":"Pound weight unit","orderful_x12_codes":["LB"]},"roll":{"description":"Roll unit","orderful_x12_codes":["RL"]},"tote":{"description":"Tote container unit","orderful_x12_codes":["TE"]},"unit":{"description":"Generic unit","orderful_x12_codes":["UN"]}}},"packageForm":{"type":"string","enum":["bag","bottle","box","can","carton","coil","container","pallet","shrinkWrap","unit"],"description":"Form of the package","orderful_enum_meta":{"bag":{"description":"Bag form","orderful_x12_codes":["BAG"]},"bottle":{"description":"Bottle form","orderful_x12_codes":["BOT"]},"box":{"description":"Box form","orderful_x12_codes":["BOX"]},"can":{"description":"Can form","orderful_x12_codes":["CAN"]},"carton":{"description":"Carton form","orderful_x12_codes":["CTN"]},"coil":{"description":"Coil form (industrial materials)","orderful_x12_codes":["COL"]},"container":{"description":"Container form","orderful_x12_codes":["CNT"]},"pallet":{"description":"Pallet form","orderful_x12_codes":["PLT"]},"shrinkWrap":{"description":"Shrink wrap form","orderful_x12_codes":["SRW"]},"unit":{"description":"Unit form","orderful_x12_codes":["UNT"]}}},"packageMaterial":{"type":"string","enum":["corrugated","plastic","plasticVacuumed","standard","wood"],"description":"Material of the package","orderful_enum_meta":{"corrugated":{"description":"Corrugated cardboard material","orderful_x12_codes":["25"]},"plastic":{"description":"Plastic material","orderful_x12_codes":["79"]},"plasticVacuumed":{"description":"Vacuum-sealed plastic material","orderful_x12_codes":["75"]},"standard":{"description":"Standard material","orderful_x12_codes":["90"]},"wood":{"description":"Wood material","orderful_x12_codes":["94"]}}},"weightUOM":{"description":"Unit of measure for weight","type":"string","enum":["pound","kilogram"]},"grossWeight":{"description":"Gross weight including packaging","type":"string"},"netWeight":{"description":"Net weight of contents only","type":"string"},"volumeUOM":{"type":"string","enum":["standardCubicFoot","centiliter","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","cubicMeter","cubicYard","deciliter","fluidOunce","gallon","halfGallon","kiloliter","kilogramsPerCubicMeter","liter","milliliter","netGallons","pint","halfPint","quart"],"description":"Unit of measure for volume","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode2"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"centiliter":{"description":"Centiliter volume measure","orderful_x12_codes":["C3"]},"cubicDecimeter":{"description":"Cubic decimeter volume measure","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter volume measure","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet volume measure","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches volume measure","orderful_x12_codes":["CI"]},"cubicMeter":{"description":"Cubic meter volume measure","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard volume measure","orderful_x12_codes":["CY"]},"deciliter":{"description":"Deciliter volume measure","orderful_x12_codes":["DL"]},"fluidOunce":{"description":"Fluid ounce volume measure","orderful_x12_codes":["FO"]},"gallon":{"description":"Gallon volume measure","orderful_x12_codes":["GA"]},"halfGallon":{"description":"Half gallon volume measure","orderful_x12_codes":["GH"]},"kiloliter":{"description":"Kiloliter volume measure","orderful_x12_codes":["K6"]},"kilogramsPerCubicMeter":{"description":"Kilograms per cubic meter density","orderful_x12_codes":["KC"]},"liter":{"description":"Liter volume measure","orderful_x12_codes":["LT"]},"milliliter":{"description":"Milliliter volume measure","orderful_x12_codes":["ML"]},"netGallons":{"description":"Net gallons volume measure","orderful_x12_codes":["NG"]},"pint":{"description":"Pint volume measure","orderful_x12_codes":["PT"]},"halfPint":{"description":"Half pint volume measure","orderful_x12_codes":["PV"]},"quart":{"description":"Quart volume measure","orderful_x12_codes":["QT"]}}},"volume":{"description":"Volume value","type":"string"},"length":{"description":"Length dimension","type":"string"},"width":{"description":"Width dimension","type":"string"},"height":{"description":"Height dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for dimensions","orderful_x12_path":["856:HL_loop.*.itemPhysicalDetails.*.unitOrBasisForMeasurementCode3"],"orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}},"packageId":{"description":"Package identifier","type":"string"},"basebox":{"description":"Billable quantity in baseboxes (tin plate industry unit: 112 sheets × 14\"×20\" = 31,360 sq in)","type":"string"},"baseboxBasisWeight":{"description":"Basis weight in pounds per base box — the standard steel mill weight specification unit","type":"string"}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["856:HL_loop.*.sublineItemDetail"],"type":"array","items":{"type":"object","properties":{"sublineId":{"description":"Subline item identifier","type":"string"},"quantity":{"description":"Quantity for the subline item","type":"object","properties":{"value":{"type":"string","description":"Numeric quantity value"},"unitOfMeasure":{"description":"Unit of measure for the quantity","type":"string","enum":["assembly","assortment","bag","bale","ball","bar","barrel","belt","bin","block","boardFeet","bolt","book","bottle","box","bulk","bundle","bushel","cake","can","card","carton","cartridge","case","cassette","celsius","cell","centigram","centiliter","centimeter","coil","combo","cone","container","count","cover","display","dozen","drum","each","flakeTon","foot","gallon","gram","gramsPerLiter","inch","kilogram","kit","knots","linearFoot","liter","meter","milliliter","monetaryValue","ocularInsertSystem","order","ounce","packPAK","package","pad","pail","pair","pairInches","palletLift","palletUnitLoad","person","piece","pint","pound","poundEquivalent","poundGross","quart","reel","roll","section","set","sheet","sixPack","squareFoot","syringe","thousand","threePack","tote","tube","unit","vial"],"orderful_x12_path":["856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode","856:HL_loop.*.itemDetailShipment.*.unitOrBasisForMeasurementCode1","856:HL_loop.*.sublineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_enum_meta":{"assembly":{"description":"Assembly — set of manufactured components combined into a functional unit","orderful_x12_codes":["AY"]},"assortment":{"description":"Assortment — mixed selection of multiple SKUs or item types in one unit","orderful_x12_codes":["AS"]},"bag":{"description":"Bag — flexible container; used for produce, grains, or loose items","orderful_x12_codes":["BG"]},"bale":{"description":"Bale — compressed bundle; used for textiles, paper, or agricultural products","orderful_x12_codes":["BA"]},"ball":{"description":"Ball — spherical wound unit; used for yarn, twine, or wire","orderful_x12_codes":["AA"]},"bar":{"description":"Bar — rigid elongated unit; used for metal stock, soap, or food products","orderful_x12_codes":["BI"]},"barrel":{"description":"Barrel — cylindrical container; standard 42-gallon oil barrel or general dry goods","orderful_x12_codes":["BR"]},"belt":{"description":"Belt — long continuous flat strip sold by unit; used for conveyor or drive belts","orderful_x12_codes":["BT"]},"bin":{"description":"Bin — open-top storage container for bulk loose items","orderful_x12_codes":["2W"]},"block":{"description":"Block — solid rectangular unit; used for cheese, ice, or masonry materials","orderful_x12_codes":["BL"]},"boardFeet":{"description":"Board feet — lumber volume unit; 1 ft × 1 ft × 1 in thick","orderful_x12_codes":["BF"]},"bolt":{"description":"Bolt — roll of fabric measured in linear yards","orderful_x12_codes":["BM"]},"book":{"description":"Book — bound or tabbed unit; used for matches, stamps, or checks","orderful_x12_codes":["BK"]},"bottle":{"description":"Bottle — rigid container with a narrow neck; used for liquids","orderful_x12_codes":["BO"]},"box":{"description":"Box — rigid rectangular container; standard retail or shipping unit","orderful_x12_codes":["BX"]},"bulk":{"description":"Bulk — unpackaged loose quantity; no individual container or wrapping","orderful_x12_codes":["BN"]},"bundle":{"description":"Bundle — group of items tied or strapped together; used for rebar, pipes, lumber","orderful_x12_codes":["BD"]},"bushel":{"description":"Bushel — dry volume; 64 US pints; used for grain and produce","orderful_x12_codes":["BU"]},"cake":{"description":"Cake — compressed solid block; used for yeast, soap, or wax","orderful_x12_codes":["KA"]},"can":{"description":"Can — metal sealed cylindrical container","orderful_x12_codes":["CN"]},"card":{"description":"Card — flat backing card; used for hanging retail blister packs","orderful_x12_codes":["CG"]},"carton":{"description":"Carton — paperboard box; typical inner or outer shipping container","orderful_x12_codes":["CT"]},"cartridge":{"description":"Cartridge — self-contained replaceable unit; used for ink, filters, or ammunition","orderful_x12_codes":["CQ"]},"case":{"description":"Case — outer shipping container holding multiple inner units; most common shipper UOM","orderful_x12_codes":["CA"]},"cassette":{"description":"Cassette — enclosed tape or cartridge format; used for media, ribbon, or film","orderful_x12_codes":["CS"]},"celsius":{"description":"Celsius — temperature unit; used when a quantity represents a temperature value","orderful_x12_codes":["CE"]},"cell":{"description":"Cell — individual battery cell or biological sample unit","orderful_x12_codes":["C6"]},"centigram":{"description":"Centigram — 0.01 gram; unit of mass for small precise quantities","orderful_x12_codes":["AF"]},"centiliter":{"description":"Centiliter — 0.01 liter; unit of liquid volume for small quantities","orderful_x12_codes":["C3"]},"centimeter":{"description":"Centimeter — 0.01 meter; unit of length","orderful_x12_codes":["CM"]},"coil":{"description":"Coil — wound continuous material; used for wire, steel strip, hose, or tubing","orderful_x12_codes":["CX"]},"combo":{"description":"Combo — bundled multi-component set sold as a single unit","orderful_x12_codes":["CZ"]},"cone":{"description":"Cone — conical spindle or spool; used for thread or yarn","orderful_x12_codes":["CJ"]},"container":{"description":"Container — generic shipping container; use when no more specific form applies","orderful_x12_codes":["CH"]},"count":{"description":"Count — generic numerical count of individual items; prefer each (EA) when count equals 1","orderful_x12_codes":["1N"]},"cover":{"description":"Cover — individual lid or covering unit","orderful_x12_codes":["CV"]},"display":{"description":"Display — shelf-ready PDQ or floor display holding multiple retail units","orderful_x12_codes":["DS"]},"dozen":{"description":"Dozen — 12 units; standard quantity for eggs, bottles, and similar items","orderful_x12_codes":["DZ"]},"drum":{"description":"Drum — large cylindrical container; typically 55 gallons; used for chemicals and liquids","orderful_x12_codes":["DR"]},"each":{"description":"Each — single individual unit; default UOM when no other code applies","orderful_x12_codes":["EA"]},"flakeTon":{"description":"Flake ton — ton measured in flake form; used for flaked or pelletized bulk material","orderful_x12_codes":["FL"]},"foot":{"description":"Foot — imperial length; 12 inches; used for lumber, pipe, and fabric","orderful_x12_codes":["FT"]},"gallon":{"description":"Gallon — US liquid volume; 128 fluid ounces; used for paint, chemicals, and beverages","orderful_x12_codes":["GA"]},"gram":{"description":"Gram — metric unit of mass; used for small weight quantities in food and pharma","orderful_x12_codes":["GR"]},"gramsPerLiter":{"description":"Grams per liter — solution concentration unit; used in chemical and food industries","orderful_x12_codes":["GL"]},"inch":{"description":"Inch — imperial length; 1/12 foot; used for dimensions and hardware","orderful_x12_codes":["IN"]},"kilogram":{"description":"Kilogram — 1,000 grams; standard metric weight UOM in international trade","orderful_x12_codes":["KG"]},"kit":{"description":"Kit — predefined set of parts packaged together for assembly or installation","orderful_x12_codes":["KT"]},"knots":{"description":"Knots — nautical speed (nm/hr); used in marine shipping contexts","orderful_x12_codes":["EH"]},"linearFoot":{"description":"Linear foot — length in feet regardless of width; used for trim, cable, and fabric","orderful_x12_codes":["LF"]},"liter":{"description":"Liter — metric liquid volume; ~1.057 US quarts; standard international liquid UOM","orderful_x12_codes":["LT"]},"meter":{"description":"Meter — base metric unit of length; ~39.37 inches","orderful_x12_codes":["MR"]},"milliliter":{"description":"Milliliter — 0.001 liter; used for small liquid quantities in pharma and beverages","orderful_x12_codes":["ML"]},"monetaryValue":{"description":"Monetary value — quantity expressed as a currency amount","orderful_x12_codes":["M4"]},"ocularInsertSystem":{"description":"Ocular insert system — pharmaceutical ophthalmic delivery unit placed in the eye","orderful_x12_codes":["AU"]},"order":{"description":"Order — entire purchase order treated as a single billable unit","orderful_x12_codes":["ET"]},"ounce":{"description":"Ounce — imperial weight; 1/16 pound; common in US food and retail","orderful_x12_codes":["OZ"]},"packPAK":{"description":"Pack (PAK) — sealed multi-unit retail pack; use instead of package (PK) when the pack form is specifically a PAK","orderful_x12_codes":["PH"]},"package":{"description":"Package — general-purpose shipping or retail package; use when the pack type is unspecified","orderful_x12_codes":["PK"]},"pad":{"description":"Pad — flat stacked unit; used for paper notepads or sticker sheets","orderful_x12_codes":["PD"]},"pail":{"description":"Pail — small open-top bucket, typically 1–5 gallons; used for paint and adhesives","orderful_x12_codes":["PA"]},"pair":{"description":"Pair — two matching items sold together (shoes, gloves, socks)","orderful_x12_codes":["PR"]},"pairInches":{"description":"Pair inches — pipe fitting measurement; a pair measured in inches","orderful_x12_codes":["PB"]},"palletLift":{"description":"Pallet lift (PF) — individual pallet; use when counting or billing by pallet. Distinct from palletUnitLoad (PL) which is the complete loaded pallet","orderful_x12_codes":["PF"]},"palletUnitLoad":{"description":"Pallet unit load (PL) — complete loaded pallet as shipped, including goods and pallet. Distinct from palletLift (PF) which counts the pallet itself","orderful_x12_codes":["PL"]},"person":{"description":"Person — individual person; used for labor, staffing, or capacity billing","orderful_x12_codes":["IE"]},"piece":{"description":"Piece — individual item not in a standard retail package; used for industrial and bulk parts","orderful_x12_codes":["PC"]},"pint":{"description":"Pint — liquid volume; 16 US fluid ounces","orderful_x12_codes":["PT"]},"pound":{"description":"Pound — imperial weight; most common weight UOM in US grocery and distribution","orderful_x12_codes":["LB","01","PN"]},"poundEquivalent":{"description":"Pound equivalent — standardized weight comparison unit; used in apparel and textile industries","orderful_x12_codes":["PE"]},"poundGross":{"description":"Pound gross — total weight including all packaging and the container itself","orderful_x12_codes":["PG"]},"quart":{"description":"Quart — US liquid volume unit; 0.946 liters; used for paint, motor oil, and liquids sold in quart containers","orderful_x12_codes":["QT"]},"reel":{"description":"Reel — cylindrical spool unit; used for wire, cable, film, or tape wound on a hub","orderful_x12_codes":["RE"]},"roll":{"description":"Roll — cylindrical wrapped unit; used for paper, fabric, or flexible material rolled without a rigid hub. Distinct from reel (RE) which has a hub","orderful_x12_codes":["RL"]},"section":{"description":"Section — subdivision of a larger structure sold as a distinct piece; used in furniture, shelving, or land measurement","orderful_x12_codes":["SE"]},"set":{"description":"Set — defined collection of matched or functionally related items sold together; use when items are inseparable as a set","orderful_x12_codes":["ST"]},"sheet":{"description":"Sheet — single flat panel unit; used for glass, metal, plywood, drywall, or paper sold in flat cut pieces","orderful_x12_codes":["SH"]},"sixPack":{"description":"Six-pack (6P) — fixed retail grouping of exactly 6 units; use for beverages or consumer goods sold as a pre-packaged six. Distinct from threePack (P3)","orderful_x12_codes":["P6"]},"squareFoot":{"description":"Square foot — area unit; 144 square inches; used for flooring, roofing, fabric, and surface-area pricing","orderful_x12_codes":["SF"]},"syringe":{"description":"Syringe — pre-filled or unit-dose injectable pharmaceutical unit","orderful_x12_codes":["SZ"]},"thousand":{"description":"Thousand (M) — quantity multiplier; used when pricing or ordering in increments of 1,000 (e.g., fasteners, bricks, sheets). Distinct from each (EA)","orderful_x12_codes":["TH"]},"threePack":{"description":"Three-pack (P3) — fixed retail grouping of exactly 3 units; use for consumer goods sold as a pre-packaged triple. Distinct from sixPack (6P)","orderful_x12_codes":["P3"]},"tote":{"description":"Tote — large reusable open-top container or bin; used in warehouse and bulk distribution settings","orderful_x12_codes":["TE"]},"tube":{"description":"Tube — cylindrical dispensing container; used for adhesives, ointments, toothpaste, or caulk sold in squeezable tubes","orderful_x12_codes":["TB"]},"unit":{"description":"Unit (UN) — generic count when no specific UOM code applies; use as a last resort when the item type does not match any other code","orderful_x12_codes":["UN"]},"vial":{"description":"Vial — small sealed glass or plastic container; used for injectable drugs, reagents, or laboratory specimens","orderful_x12_codes":["VI"]}}}},"required":["value"],"additionalProperties":false},"unitCostPrice":{"description":"Unit cost price for the subline item","type":"string"},"unitPriceBasis":{"description":"Basis for the unit price","type":"string","enum":["advise","beforeDiscount","discount","net","noCharge","perHundred","perThousand","perDozen","perEach","perFoot","perGram","perKilogram","perTen","perOunce","perPound","perTenThousand","perUOM","promotion","standard","suggestedRetail","wholesale","wholesalePerEach"],"orderful_enum_meta":{"advise":{"description":"Price to be advised","orderful_x12_codes":["AP"]},"beforeDiscount":{"description":"Price before discount","orderful_x12_codes":["BD"]},"discount":{"description":"Discount price","orderful_x12_codes":["DS"]},"net":{"description":"Net price","orderful_x12_codes":["NT"]},"noCharge":{"description":"No charge","orderful_x12_codes":["NC"]},"perHundred":{"description":"Price per hundred units","orderful_x12_codes":["HP"]},"perThousand":{"description":"Price per thousand units","orderful_x12_codes":["HT"]},"perDozen":{"description":"Price per dozen (12 units)","orderful_x12_codes":["WD"]},"perEach":{"description":"Price per each unit","orderful_x12_codes":["LE","TE","PE","QE"]},"perFoot":{"description":"Price per foot","orderful_x12_codes":["PF"]},"perGram":{"description":"Price per gram","orderful_x12_codes":["PG"]},"perKilogram":{"description":"Price per kilogram","orderful_x12_codes":["PK"]},"perTen":{"description":"Price per ten units","orderful_x12_codes":["PN"]},"perOunce":{"description":"Price per ounce","orderful_x12_codes":["PO"]},"perPound":{"description":"Price per pound","orderful_x12_codes":["PP"]},"perTenThousand":{"description":"Price per ten thousand units","orderful_x12_codes":["TT"]},"perUOM":{"description":"Price per specified unit of measure","orderful_x12_codes":["UM","ST","AB"]},"promotion":{"description":"Promotional price","orderful_x12_codes":["PR"]},"standard":{"description":"Standard list price","orderful_x12_codes":["ST","QT","CT","CA","FX","DI","CP","AB"]},"suggestedRetail":{"description":"Suggested retail price (MSRP)","orderful_x12_codes":["SR"]},"wholesale":{"description":"Wholesale price","orderful_x12_codes":["WH","SW"]},"wholesalePerEach":{"description":"Wholesale price per each unit","orderful_x12_codes":["WE"]}}},"productIds":{"type":"object","properties":{"buyerItemNumber":{"description":"Buyer-assigned item number","orderful_x12_codes":["BP","IN","CB","SK","PI","IT","PN","ST"],"orderful_edifact_codes":["BP","IN","SK","IT"],"type":"string"},"vendorItemNumber":{"description":"Vendor-assigned item number (EDIFACT LIN/PIA supplier's item number)","orderful_x12_codes":["VA","VC","VN","VP","MG","MF","SA"],"orderful_edifact_codes":["SA","VN","VP","MF"],"type":"string"},"gtin12":{"description":"GTIN-12 (UPC-A) barcode","orderful_x12_codes":["UP"],"orderful_edifact_codes":["UP"],"type":"string"},"gtin13":{"description":"GTIN-13 (EAN) barcode","orderful_x12_codes":["EN"],"orderful_edifact_codes":["EN","SRV"],"type":"string"},"gtin14":{"description":"GTIN-14 (ITF-14) case code barcode","orderful_x12_codes":["UK"],"type":"string"},"caseCode":{"description":"Case code identifier","orderful_x12_codes":["UI","UN","UA","UB"],"type":"string"},"drugCode":{"description":"National Drug Code (NDC)","orderful_x12_codes":["N1","N2","N3","N4","ND"],"type":"string"},"standardBookNumber":{"description":"ISBN or standard book number","orderful_x12_codes":["IB"],"orderful_edifact_codes":["IB"],"type":"string"},"buyerItemIds":{"description":"Additional buyer product identifiers","orderful_x12_codes":["CB","SK","ST","IT"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}},"vendorItemIds":{"description":"Additional vendor product identifiers","orderful_x12_codes":["VC","MG","VA","MF"],"orderful_edifact_codes":["MF"],"type":"array","items":{"type":"object","properties":{"type":{"type":"string","enum":["catalog","manufacturerPart","sku","style"],"description":"Type of product identifier","orderful_x12_path":["856:HL_loop.*.itemIdentification.*.productServiceIDQualifier","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier1","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier2","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier3","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier4","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier5","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier6","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier7","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier8","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier9","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier10","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier11","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier12","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier13","856:HL_loop.*.itemIdentification.*.productServiceIDQualifier14"],"orderful_enum_meta":{"catalog":{"description":"Catalog number (buyer catalog reference)","orderful_x12_codes":["CB","VC"]},"manufacturerPart":{"description":"Manufacturer part number","orderful_x12_codes":["MG","MF"]},"sku":{"description":"Stock keeping unit identifier","orderful_x12_codes":["SK"]},"style":{"description":"Style number or code","orderful_x12_codes":["ST","IT","VA"]}}},"value":{"type":"string","description":"Product identifier value"}},"required":["type","value"],"additionalProperties":false}}},"additionalProperties":false,"description":"Product identifiers for the subline item","orderful_x12_notes":["Mapping rule when a guideline requires a code that this schema can supply from multiple fields:\n  1. Fill mandatory guideline positions before optional/conditional ones.\n  2. Prefer the more specific source. `*ItemIds` typed-array entries cover a tighter code set than `*ItemNumber` string fields; use the array entry when both could satisfy the same code.\n  3. Each simplified property maps to exactly one X12 qualifier across every line item in a transformation. Do not switch a property's qualifier line-by-line based on which sibling fields are populated. The position where the qualifier appears within a repeating element group can vary per line item depending on which other identifiers are present."]},"productAttributes":{"description":"Product attributes for the subline item","type":"object","properties":{"description":{"description":"General product description. Sourced from X12 PID05 when PID02=\"08\" (Product Description, general) or when PID02 is absent. In EDIFACT, sourced from EVERY IMD composite for this line item where itemDescriptionCode=\"SP\" (Product) — there may be MULTIPLE matching IMD repetitions per line item, and ALL of them must be included. Within each matching IMD, concatenate itemDescription + itemDescription_1 (the continuation field) with a single space; then $join those per-IMD strings across ALL matching IMDs with a single space separator. Do NOT pick only the first matching IMD — partners commonly split a long description across multiple IMD segments because each itemDescription element is capped at 35 characters. The qualifier code \"SP\" (or X12 \"08\") is positional — it identifies which IMDs carry the product description, and must NOT be reported as a schema gap.","orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite | itemDescriptionCode=SP"],"orderful_edifact_codes":["SP"],"type":"string"},"shortDescription":{"description":"{\"description\":\"Short product description\"}","type":"string"},"brand":{"description":"Brand or label name for the product","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","850:PO1_loop.*.baselineItemData.*.productServiceID | productServiceIDQualifier=BL","850:PO1_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN","860:POC_loop.*.referenceInformation.* | referenceIdentificationQualifier=2N","860:POC_loop.*.lineItemChange.*.productServiceID | productServiceIDQualifier=BL","860:POC_loop.*.N1_loop.*.partyIdentification.*.name | entityIdentifierCode=BRN"],"orderful_x12_codes":["2N","BL","BRN"],"orderful_x12_notes":["REF02 when REF01=2N; PO107/09.. when PO106/08..=BL; N102 when N101=BRN"],"type":"string"},"colorCode":{"description":"Color code identifier","orderful_x12_codes":["BO","CM","VE"],"type":"string"},"colorDescription":{"description":"Color description text","orderful_x12_codes":["73","75"],"type":"string"},"sizeCode":{"description":"Size code identifier","orderful_x12_codes":["IZ","SM","SZ"],"type":"string"},"sizeDescription":{"description":"Size description text","orderful_x12_codes":["74","91"],"type":"string"},"materialCode":{"description":"Material code identifier","orderful_x12_codes":["KJ"],"type":"string"},"materialDescription":{"description":"Material description text","orderful_x12_codes":["78","92","AH"],"type":"string"},"materialAttributes":{"type":"object","properties":{"type":{"description":"Material type or classification","type":"string"},"grade":{"description":"Material grade or quality tier (e.g., prime, excessPrime, waste)","type":"string"},"annealMethod":{"description":"Annealing method applied to the material","type":"string"},"temper":{"description":"Heat treatment or mechanical processing state of the material","type":"string"},"finish":{"description":"Surface finish or texture applied to the material","type":"string"},"outerCoating":{"description":"Outer surface coating or plating","type":"string"},"innerCoating":{"description":"Inner surface coating or plating","type":"string"},"surfaceProtection":{"description":"Surface protection method or specification","type":"string"},"treatment":{"description":"Chemical or mechanical treatment applied to the material","type":"string"},"weld":{"description":"Welding specification or classification for the material","type":"string"}},"additionalProperties":false},"processCode":{"description":"Process code identifier","orderful_x12_codes":["PR"],"type":"string"},"processDescription":{"description":"Process description text","orderful_x12_codes":["12","PP","PR"],"type":"string"},"height":{"description":"Product height dimension","type":"string"},"length":{"description":"Product length dimension","type":"string"},"width":{"description":"Product width dimension","type":"string"},"dimensionUOM":{"type":"string","enum":["standardCubicFoot","boardFeet","hundredBoardFeet","cubicDecimeter","cubicCentimeter","cubicFeet","cubicInches","centimeter","cubicMeter","cubicYard","decimeter","foot","hundredFeet","hundredFeetLinear","hundredSquareFeet","hundredYards","inch","linearFoot","linearMeter","linearYard","millimeter","meter","squareFoot","squareInches","squareMeter","squareYard","thousandSquareInches","thousandFeetLinear","thousandFeetBoard","tenSquareFeet","thousandSquareFeet","yard"],"description":"Unit of measure for product dimensions","orderful_enum_meta":{"standardCubicFoot":{"description":"Standard cubic foot","orderful_x12_codes":["5I"]},"boardFeet":{"description":"Board feet measure","orderful_x12_codes":["BF"]},"hundredBoardFeet":{"description":"Hundred board feet measure","orderful_x12_codes":["BP"]},"cubicDecimeter":{"description":"Cubic decimeter","orderful_x12_codes":["C8"]},"cubicCentimeter":{"description":"Cubic centimeter","orderful_x12_codes":["CC"]},"cubicFeet":{"description":"Cubic feet","orderful_x12_codes":["CF"]},"cubicInches":{"description":"Cubic inches","orderful_x12_codes":["CI"]},"centimeter":{"description":"Centimeter length measure","orderful_x12_codes":["CM"]},"cubicMeter":{"description":"Cubic meter","orderful_x12_codes":["CR"]},"cubicYard":{"description":"Cubic yard","orderful_x12_codes":["CY"]},"decimeter":{"description":"Decimeter length measure","orderful_x12_codes":["DM"]},"foot":{"description":"Foot length measure","orderful_x12_codes":["FT"]},"hundredFeet":{"description":"Hundred feet measure","orderful_x12_codes":["HF"]},"hundredFeetLinear":{"description":"Hundred linear feet measure","orderful_x12_codes":["HL"]},"hundredSquareFeet":{"description":"Hundred square feet measure","orderful_x12_codes":["HS"]},"hundredYards":{"description":"Hundred yards measure","orderful_x12_codes":["HY"]},"inch":{"description":"Inch length measure","orderful_x12_codes":["IN"]},"linearFoot":{"description":"Linear foot measure","orderful_x12_codes":["LF"]},"linearMeter":{"description":"Linear meter measure","orderful_x12_codes":["LM"]},"linearYard":{"description":"Linear yard measure","orderful_x12_codes":["LY"]},"millimeter":{"description":"Millimeter length measure","orderful_x12_codes":["MM"]},"meter":{"description":"Meter length measure","orderful_x12_codes":["MR"]},"squareFoot":{"description":"Square foot area measure","orderful_x12_codes":["SF"]},"squareInches":{"description":"Square inches area measure","orderful_x12_codes":["SI"]},"squareMeter":{"description":"Square meter area measure","orderful_x12_codes":["SM"]},"squareYard":{"description":"Square yard area measure","orderful_x12_codes":["SY"]},"thousandSquareInches":{"description":"Thousand square inches area measure","orderful_x12_codes":["TI"]},"thousandFeetLinear":{"description":"Thousand linear feet measure","orderful_x12_codes":["TL"]},"thousandFeetBoard":{"description":"Thousand board feet measure","orderful_x12_codes":["TM"]},"tenSquareFeet":{"description":"Ten square feet area measure","orderful_x12_codes":["TR"]},"thousandSquareFeet":{"description":"Thousand square feet area measure","orderful_x12_codes":["TS"]},"yard":{"description":"Yard length measure","orderful_x12_codes":["YD"]}}}},"additionalProperties":false},"lotNumber":{"description":"Lot or batch number for the subline item","orderful_x12_path":["HL_loop.*.sublineItemDetail.*.productServiceID | productServiceIDQualifier=LT"],"orderful_x12_codes":["LT"],"type":"string"}},"required":["productIds"],"additionalProperties":false}},"assertions":{"description":"Assertions or special conditions for this item","orderful_x12_path":["856:HL_loop.*.yesNoQuestion"],"type":"array","items":{"type":"object","properties":{"isDirectPurchase":{"description":"Indicates that the item was purchased directly from the manufacturer","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=DIR"],"orderful_x12_codes":["DIR"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false},"isDirectPurchaseStatementReceived":{"description":"Indicates that a direct purchase statement has been received","orderful_x12_path":["856:HL_loop.*.yesNoQuestion.* | industryCode=RDPS"],"orderful_x12_codes":["RDPS"],"type":"object","properties":{"value":{"type":"boolean"}},"required":["value"],"additionalProperties":false}},"additionalProperties":false}}},"required":["productIds"],"additionalProperties":false,"orderful_x12_hl_level":"I"},"description":"Items for this order"}},"required":["purchaseOrderNumber","items"],"additionalProperties":false,"description":"Order with items directly (Shipment > Order > Item)","orderful_x12_hl_level":"O"}}}}},"required":["shipmentId","orders"],"additionalProperties":false}