{"$schema":"http://json-schema.org/draft-07/schema#","$id":"https://api.orderful.com/v3/simplified-schemas/PURCHASE_ORDER","title":"Simplified Purchase Order","description":"A simplified version of the purchase order","type":"object","properties":{"purpose":{"type":"string","enum":["original","cancellation","change","replace","confirmation"],"description":"Intended purpose of the purchase order transaction (e.g., original, change, cancellation)","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.transactionSetPurposeCode","875:purchaseOrderIdentification.*.orderStatusCode"],"orderful_edifact_paths":["ORDERS:beginningOfMessage.messageFunctionCode"],"orderful_enum_meta":{"original":{"description":"New purchase order","orderful_x12_codes":["00","N"],"orderful_edifact_codes":["9"]},"cancellation":{"description":"Cancellation of existing order","orderful_x12_codes":["01"],"orderful_edifact_codes":["1"]},"change":{"description":"Change to existing order","orderful_x12_codes":["02","03","04"],"orderful_edifact_codes":["4"]},"replace":{"description":"Replace existing order","orderful_x12_codes":["05"],"orderful_edifact_codes":["5"]},"confirmation":{"description":"Confirmation of existing order","orderful_x12_codes":["06"],"orderful_edifact_codes":["29"]}}},"purchaseOrderType":{"type":"string","enum":["blanketEstimated","blanketFirm","confirmation","consignment","containerFloor","floorSample","dropship","preCommitment","release","rushOrder","shippedOrder","standalone"],"description":"Type of purchase order issued (e.g., standalone, dropship, release)","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.purchaseOrderTypeCode","875:purchaseOrderIdentification.*.purchaseOrderTypeCode"],"orderful_edifact_paths":["ORDERS:beginningOfMessage.documentMessageName_composite.documentNameCode"],"orderful_edifact_metadata_paths":["ORDERS:beginningOfMessage.documentMessageName_composite.codeListIdCode","ORDERS:beginningOfMessage.documentMessageName_composite.codeListResponsibleAgencyCode","ORDERS:beginningOfMessage.documentMessageName_composite.documentName","ORDERS:beginningOfMessage.responseTypeCode"],"orderful_enum_meta":{"blanketEstimated":{"description":"Blanket order with estimated quantities","orderful_x12_codes":["BE"]},"blanketFirm":{"description":"Blanket order with firm quantities","orderful_x12_codes":["BK"],"orderful_edifact_codes":["221"]},"confirmation":{"description":"Confirmation order","orderful_x12_codes":["CF"]},"consignment":{"description":"Consigned order where the seller retains ownership of goods until sold or consumed by the buyer; invoicing is typically triggered by sell-through rather than shipment","orderful_x12_codes":["CN"]},"containerFloor":{"description":"Container floor order","orderful_x12_codes":["CF"],"orderful_x12_notes":["Partner-specific reading of CF — the standard X12 meaning of CF is Confirmation. Only map to containerFloor when a partner guideline explicitly redefines CF this way."]},"floorSample":{"description":"Floor sample or sample order","orderful_x12_codes":["FL","SP"]},"dropship":{"description":"Drop ship order","orderful_x12_codes":["DS"]},"preCommitment":{"description":"Forward-looking commitment from a retailer indicating anticipated future order volume, typically tied to a promotional event or seasonal push; the actual fulfillment order arrives as a separate PO","orderful_x12_codes":["RC"]},"release":{"description":"Release against blanket order","orderful_x12_codes":["RL"],"orderful_edifact_codes":["226"]},"rushOrder":{"description":"Rush or expedited order","orderful_x12_codes":["RO"],"orderful_edifact_codes":["224"]},"shippedOrder":{"description":"After-the-fact documentation of an order that has already been shipped","orderful_x12_codes":["SO"]},"standalone":{"description":"Standalone purchase order; also the default for generic new orders (new, reorder, catalog, wholesale, marketplace, promotion, new product introduction, new store opening, special order, mixed-type)","orderful_x12_codes":["SA","NE","RE","KN","CO","WH","MA","PR","NP","NS","OS","MI"],"orderful_edifact_codes":["220","105","120"]}}},"purchaseOrderNumber":{"type":"string","description":"Unique purchase order number assigned by the buyer","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.purchaseOrderNumber","875:purchaseOrderIdentification.*.purchaseOrderNumber"],"orderful_edifact_paths":["ORDERS:beginningOfMessage.documentMessageId_composite.documentId"]},"purchaseOrderDate":{"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)))$"}],"description":"Date the purchase order was issued. In EDIFACT, sourced from DTM qualifier \"137\" (Document/message date) when present, falling back to qualifier \"4\" (Order date/time). If both qualifiers appear in the input, prefer qualifier 137 for the value AND emit a $collectError noting the ambiguity. If neither qualifier is present, leave this field null — it is optional and a missing document date is not an error.","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.date","875:purchaseOrderIdentification.*.date"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=137,4"],"orderful_edifact_codes":["137","4"]},"contractNumber":{"description":"Contract number associated with the purchase order","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.contractNumber"],"type":"string"},"releaseNumber":{"description":"Release number for blanket or contract orders","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.releaseNumber"],"type":"string"},"acknowledgmentType":{"type":"string","enum":["withDetail","withExceptionDetail","productReplenishment","notRequired"],"description":"Type of acknowledgment requested from the supplier","orderful_x12_path":["850:beginningSegmentForPurchaseOrder.*.acknowledgmentTypeCode"],"orderful_enum_meta":{"withDetail":{"description":"Acknowledgment with full detail","orderful_x12_codes":["AC"]},"withExceptionDetail":{"description":"Acknowledgment with exception detail only","orderful_x12_codes":["AE"]},"productReplenishment":{"description":"Product replenishment acknowledgment","orderful_x12_codes":["AP"]},"notRequired":{"description":"No acknowledgment required","orderful_x12_codes":["NA"]}}},"conditionsAndRestrictions":{"description":"Order-level conditions and restrictions such as backorder policy","orderful_x12_path":["850:restrictionsConditions.* | restrictionsConditionsQualifier!=OR,SR","850:salesRequirements"],"type":"array","items":{"type":"object","properties":{"conditionType":{"type":"string","enum":["backorderAllowed","substitutionsAllowed","doNotSubstitute","doNotBackorder","shipComplete","shipPartialCancelBalance","shipASAP","standard","quickResponse","speed"],"description":"Type of order condition or restriction","orderful_enum_meta":{"backorderAllowed":{"description":"Backorder allowed if out of stock","orderful_x12_codes":["Y","BK","O"]},"substitutionsAllowed":{"description":"Product substitutions allowed","orderful_x12_codes":["IS"]},"doNotSubstitute":{"description":"Do not substitute products","orderful_x12_codes":["NS"]},"doNotBackorder":{"description":"Do not backorder; cancel unfilled","orderful_x12_codes":["N"]},"shipComplete":{"description":"Ship complete order only","orderful_x12_codes":["SC"]},"shipPartialCancelBalance":{"description":"Ship partial, cancel remaining balance","orderful_x12_codes":["SP"]},"shipASAP":{"description":"Ship as soon as available","orderful_x12_codes":["P2"]},"standard":{"description":"Standard order handling","orderful_x12_codes":["D"]},"quickResponse":{"description":"Quick response handling","orderful_x12_codes":["Q"]},"speed":{"description":"Speed processing","orderful_x12_codes":["S"]}}},"action":{"description":"Action to take on the order","type":"string","enum":["confirm","holdUntilReleased"]},"services":{"description":"Service level requirement","type":"string","enum":["oneDayService","twoDayService"]},"maxOrderValue":{"description":"Maximum order value limit","type":"string"}},"additionalProperties":false}},"parties":{"description":"Parties involved in the purchase order transaction. Includes contact information where available","orderful_x12_path":["850:N1_loop","850:administrativeCommunicationsContact","875:N1_loop","875:contact"],"orderful_edifact_paths":["ORDERS:nameAndAddress_group"],"orderful_x12_notes":["X12 allows FOB nested under N1_loop (party-attached terms). Those guidelines (`N1_loop.*.FOBRelatedInstructions.*`) are handled by the `carrierDetails.freeOnBoard` section — do NOT emit any output for them here and do NOT `$collectError` on them."],"type":"object","properties":{"buyer":{"description":"Buying party who is purchasing the product or service. Header PER (850) or G61 (875) with contactFunctionCode=BD or IC merges into buyer.contacts (the buyer is the 850/875 sender, so a generic 'Information Contact' defaults to the buyer). If the partner's guideline notes route IC elsewhere, follow the notes — they override this default.","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=BY","850:administrativeCommunicationsContact.* | contactFunctionCode=BD,IC","875:N1_loop.* | entityIdentifierCode=BY","875:contact.* | contactFunctionCode=BD,IC"],"orderful_x12_codes":["BY","BD","IC"],"orderful_edifact_paths":["ORDERS:nameAndAddress_group.*.nameAndAddress | partyFunctionCodeQualifier=BY"],"orderful_edifact_codes":["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},"shipTo":{"description":"Ship-to location where goods should be delivered. Accepts both ST (Ship-to) and DP (Delivery party) on EDIFACT NAD — they overlap semantically.","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=ST","875:N1_loop.* | entityIdentifierCode=ST"],"orderful_x12_codes":["ST","DP"],"orderful_edifact_paths":["ORDERS:nameAndAddress_group.*.nameAndAddress | partyFunctionCodeQualifier=ST,DP"],"orderful_edifact_codes":["ST","DP"],"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},"billTo":{"description":"Bill-to location for invoicing","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=BT","875:N1_loop.* | entityIdentifierCode=BT"],"orderful_x12_codes":["BT"],"orderful_edifact_paths":["ORDERS:nameAndAddress_group.*.nameAndAddress | partyFunctionCodeQualifier=IV"],"orderful_edifact_codes":["IV"],"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},"shipFrom":{"description":"Ship-from location where goods originate","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=SF","875: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},"accountsPayable":{"description":"Accounts payable party for invoice processing","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=PO","875:N1_loop.* | entityIdentifierCode=PO"],"orderful_x12_codes":["PO"],"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},"soldTo":{"description":"Sold-to party, the entity to whom goods are sold","orderful_x12_path":["850:N1_loop.* | entityIdentifierCode=SO","875:N1_loop.* | entityIdentifierCode=SO"],"orderful_x12_codes":["SO"],"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":["850:N1_loop.* | entityIdentifierCode=SU,VN,SE","875:N1_loop.* | entityIdentifierCode=SU,VN,SE"],"orderful_x12_codes":["SU","VN","SE","MF"],"orderful_edifact_paths":["ORDERS:nameAndAddress_group.*.nameAndAddress | partyFunctionCodeQualifier=SU,SE,MF"],"orderful_edifact_codes":["SU","SE","MF"],"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},"buyersCurrency":{"description":"Currency used by the buyer for the transaction","orderful_x12_path":["850:currency.* | entityIdentifierCode=BY"],"orderful_x12_codes":["BY"],"orderful_edifact_paths":["ORDERS:currencies_group.*.currencies.currencyDetails_composite | currencyUsageCodeQualifier=2"],"orderful_edifact_codes":["2"],"orderful_edifact_metadata_paths":["ORDERS:currencies_group.*.currencies.currencyDetails_composite.currencyUsageCodeQualifier","ORDERS:currencies_group.*.currencies.currencyDetails_composite.currencyTypeCodeQualifier"],"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code (e.g., USD, EUR)"},"exchangeRate":{"description":"Exchange rate for currency conversion","type":"string"}},"required":["currencyCode"],"additionalProperties":false},"sellersCurrency":{"description":"Currency used by the seller for the transaction","orderful_x12_path":["850:currency.* | entityIdentifierCode=SE"],"orderful_x12_codes":["SE"],"type":"object","properties":{"currencyCode":{"type":"string","description":"ISO currency code (e.g., USD, EUR)"},"exchangeRate":{"description":"Exchange rate for currency conversion","type":"string"}},"required":["currencyCode"],"additionalProperties":false},"notes":{"description":"Notes and instructions for the order","orderful_x12_path":["850:N9_loop.*.text","850:N9_loop.*.messageText","850:restrictionsConditions.* | restrictionsConditionsQualifier=OR,SR","875:noteSpecialInstruction","850:N9_loop.*.extendedReferenceInformation | referenceIdentificationQualifier=L1,TOC","875:extendedReferenceInformation | referenceIdentificationQualifier=L1,TOC"],"orderful_edifact_paths":["ORDERS:freeText | textSubjectCodeQualifier=AAI,ABJ,PMT"],"orderful_edifact_metadata_paths":["ORDERS:freeText.*.freeTextFunctionCode","ORDERS:freeText.*.languageNameCode"],"type":"object","properties":{"general":{"description":"Generic notes or standard legal agreements. Default for N9+L1 unless the guideline note or a different qualifier points elsewhere — pick the best-fitting field.","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=L1","875:extendedReferenceInformation.* | referenceIdentificationQualifier=L1"],"orderful_x12_codes":["L1"],"orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI"],"orderful_edifact_codes":["AAI"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"orderInstructions":{"description":"Special instructions for processing the order. Default for CTB02 when CTB01=OR. MSG/MTX free-form text (segments named messageText/text in the input JSON) may also route here when the guideline note indicates order instructions — pick the best-fitting field.","orderful_x12_path":["850:restrictionsConditions.* | restrictionsConditionsQualifier=OR"],"orderful_x12_codes":["OR"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"shippingInstructions":{"description":"Special instructions for shipping the order. Default for CTB02 when CTB01=SR. MSG/MTX free-form text (segments named messageText/text in the input JSON) may also route here when the guideline note indicates shipping instructions — pick the best-fitting field.","orderful_x12_path":["850:restrictionsConditions.* | restrictionsConditionsQualifier=SR"],"orderful_x12_codes":["SR"],"orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=ABJ","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=ABJ"],"orderful_edifact_codes":["ABJ"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"paymentInstructions":{"description":"Payment-related notes or instructions (e.g., VAT split-payment marker text)","orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=PMT","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=PMT"],"orderful_edifact_codes":["PMT"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"giftMessage":{"description":"Message for the recipient, typically used in gift or dropship orders","type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"packingSlipMessage":{"description":"Message to be printed on the packing slip","type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"paperwork":{"description":"Paperwork and documentation requirements","orderful_x12_path":["850:paperwork"],"type":"array","items":{"type":"object","properties":{"reportType":{"type":"string","enum":["purchasingSpecification","storageInquiry","technicalInformation","billOfLading","orderAttachment","materialDataSheet","materialCertification"],"description":"Type of report or document required","orderful_x12_path":["850:paperwork.*.reportTypeCode"],"orderful_enum_meta":{"purchasingSpecification":{"description":"Purchasing specification document","orderful_x12_codes":["PJ"]},"storageInquiry":{"description":"Storage inquiry document","orderful_x12_codes":["PK"]},"technicalInformation":{"description":"Technical information document","orderful_x12_codes":["R5"]},"billOfLading":{"description":"Bill of lading","orderful_x12_codes":["BL"]},"orderAttachment":{"description":"Order attachment","orderful_x12_codes":["AT"]},"materialDataSheet":{"description":"Material data sheet","orderful_x12_codes":["MD"]},"materialCertification":{"description":"Material certification","orderful_x12_codes":["CP"]}}},"reportTransmissionType":{"description":"Method by which the report should be transmitted","orderful_x12_path":["850:paperwork.*.reportTransmissionCode"],"type":"string","enum":["withShipmentPackage"]},"copiesNeeded":{"description":"Number of copies of the document required","orderful_x12_path":["850:paperwork.*.reportCopiesNeeded"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isoLanguageCode":{"description":"ISO language code for the document","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=LE"],"orderful_x12_codes":["LE"],"type":"string"},"url":{"description":"URL where the document can be accessed","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=UR"],"orderful_x12_codes":["UR"],"type":"string"},"action":{"description":"Action to be taken with the paperwork","orderful_x12_path":["850:paperwork.*.actionsIndicated"],"type":"string","enum":["generate"]},"description":{"description":"Description or additional details about the paperwork","orderful_x12_path":["850:paperwork.*.description"],"type":"string"}},"additionalProperties":false}},"packaging":{"description":"Packaging and marking requirements for the order","orderful_x12_path":["850:marksAndNumbersInformation"],"type":"array","items":{"type":"object","properties":{"characteristicType":{"type":"string","enum":["containerShape","hazardousMaterial","packageSpecifications","packing","palletType","productMarking","shippingPackageLabeling","typeOfPackage","wrappingMaterial"],"description":"Type of packaging characteristic","orderful_enum_meta":{"containerShape":{"description":"Container shape characteristic","orderful_x12_codes":["CS"]},"hazardousMaterial":{"description":"Hazardous material marking","orderful_x12_codes":["HM"]},"packageSpecifications":{"description":"Package specifications","orderful_x12_codes":["36"]},"packing":{"description":"Packing characteristic","orderful_x12_codes":["PK"]},"palletType":{"description":"Pallet type specification","orderful_x12_codes":["68"]},"productMarking":{"description":"Product marking","orderful_x12_codes":["34"]},"shippingPackageLabeling":{"description":"Shipping package labeling","orderful_x12_codes":["10"]},"typeOfPackage":{"description":"Type of package","orderful_x12_codes":["35"]},"wrappingMaterial":{"description":"Wrapping material","orderful_x12_codes":["WM"]}}},"agencyType":{"type":"string","enum":["uniformCodeCouncil"],"description":"Agency defining the packaging standard","orderful_enum_meta":{"uniformCodeCouncil":{"description":"Uniform Code Council (UCC) standard","orderful_x12_codes":["FC"]}}},"descriptionType":{"description":"Type of description","type":"string"},"description":{"description":"Packaging description","type":"string"},"unitLoadOption":{"type":"string","enum":["palletized","floorStack","mixed","slipSheet","module","clampable","bopSheet","airbagSlipSheetCombo","cargoQuilt","shrinkWrap","loadLock"],"description":"Unit load configuration option - how the shipment is physically arranged","orderful_enum_meta":{"palletized":{"description":"Shipment arranged on pallets","orderful_x12_codes":["01"]},"floorStack":{"description":"Freight floor-stacked in vehicle","orderful_x12_codes":["02"]},"mixed":{"description":"Mixed palletized and floor-stacked","orderful_x12_codes":["03"]},"slipSheet":{"description":"Loaded on slip sheets","orderful_x12_codes":["04"]},"module":{"description":"Module or rack-based loading","orderful_x12_codes":["05"]},"clampable":{"description":"Units can be clamped by forklift","orderful_x12_codes":["06"]},"bopSheet":{"description":"Loaded on bop sheets","orderful_x12_codes":["07"]},"airbagSlipSheetCombo":{"description":"Airbag and slip sheet combination","orderful_x12_codes":["08"]},"cargoQuilt":{"description":"Wrapped in cargo quilts","orderful_x12_codes":["09"]},"shrinkWrap":{"description":"Units shrink-wrapped","orderful_x12_codes":["10"]},"loadLock":{"description":"Secured with load locks","orderful_x12_codes":["11"]}}}},"additionalProperties":false}},"termsOfSale":{"description":"Payment terms and conditions for the order","orderful_x12_path":["850:termsOfSaleDeferredTermsOfSale","875:termsOfSale"],"orderful_edifact_paths":["ORDERS:paymentTerms_group.*.paymentTerms"],"type":"object","properties":{"type":{"type":"string","enum":["basic","basicDiscountOffered","discountNotApplicable","endOfMonth","endOfMonth10","extended","instant","fixedDate","proximo","mutuallyDefined"],"description":"Type of payment terms","orderful_enum_meta":{"basic":{"description":"Basic payment terms","orderful_x12_codes":["01"]},"basicDiscountOffered":{"description":"Basic terms with discount offered","orderful_x12_codes":["08"]},"discountNotApplicable":{"description":"Discount not applicable","orderful_x12_codes":["05"]},"endOfMonth":{"description":"End of month payment","orderful_x12_codes":["02"]},"endOfMonth10":{"description":"End of month, 10 days","orderful_x12_codes":["12"]},"extended":{"description":"Extended payment terms","orderful_x12_codes":["07"]},"instant":{"description":"Immediate or instant payment","orderful_x12_codes":["10","23"]},"fixedDate":{"description":"Fixed payment date","orderful_x12_codes":["03"]},"proximo":{"description":"Proximo (next month) payment","orderful_x12_codes":["09"]},"mutuallyDefined":{"description":"Terms mutually defined by parties","orderful_x12_codes":["ZZ","14"]}}},"basisDate":{"type":"string","enum":["invoiceDate","receiptOfGoods","deliveryDate","shipDate","mutuallyDefined","gageApprovalDate","specifiedDate","acceptanceDate","invoiceTransmissionDate","effectiveDate"],"description":"Date basis for calculating payment terms","orderful_enum_meta":{"invoiceDate":{"description":"Invoice date","orderful_x12_codes":["3"]},"receiptOfGoods":{"description":"Receipt of goods date","orderful_x12_codes":["15"]},"deliveryDate":{"description":"Delivery date","orderful_x12_codes":["2"]},"shipDate":{"description":"Ship date","orderful_x12_codes":["1"]},"mutuallyDefined":{"description":"Mutually defined date basis","orderful_x12_codes":["ZZ"]},"gageApprovalDate":{"description":"Approval of gage date","orderful_x12_codes":["13"]},"specifiedDate":{"description":"Specified date","orderful_x12_codes":["4"]},"acceptanceDate":{"description":"Completion and acceptance date","orderful_x12_codes":["11"]},"invoiceTransmissionDate":{"description":"Invoice transmission date","orderful_x12_codes":["8"]},"effectiveDate":{"description":"Effective date","orderful_x12_codes":["7"]}}},"discountPercent":{"description":"Discount percentage if paid early","type":"string"},"discountDaysDue":{"description":"Number of days to qualify for discount","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"discountDueDate":{"description":"Date by which payment must be made for discount","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)))$"}]},"dayOfMonth":{"description":"Day of month for payment","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"netDaysDue":{"description":"Number of days until payment is due","type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"netDueDate":{"description":"Date when payment is due","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)))$"}]},"discountAmount":{"description":"Fixed discount amount","type":"string"},"description":{"description":"Description of payment terms","type":"string"},"paymentMethodType":{"type":"string","enum":["check","letterOfCredit","wireTransfer","corporateTradePayment","specialAccount","directPayOthers"],"description":"Method of payment","orderful_enum_meta":{"check":{"description":"Payment by check","orderful_x12_codes":["C"]},"letterOfCredit":{"description":"Payment by letter of credit","orderful_x12_codes":["L"]},"wireTransfer":{"description":"Payment by wire transfer","orderful_x12_codes":["T"]},"corporateTradePayment":{"description":"Corporate trade payment (CTP)","orderful_x12_codes":["O"]},"specialAccount":{"description":"Payment via special account","orderful_x12_codes":["AF"]},"directPayOthers":{"description":"Direct pay or other method","orderful_x12_codes":["U"]}}}},"additionalProperties":false},"references":{"description":"Reference numbers associated with the order. Each subfield routes ONE specific reference qualifier — match by the field description (which states the qualifier semantics), not by the path-filter alone. When a partner sends a qualifier whose semantics do not match any subfield description, emit a SCHEMA GAP rather than auto-routing it.","orderful_x12_path":["850:referenceInformation","850:N9_loop.*.extendedReferenceInformation | referenceIdentificationQualifier!=L1,TOC","875:extendedReferenceInformation | referenceIdentificationQualifier!=L1,TOC"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference"],"type":"object","properties":{"accountNumber":{"description":"Account number or credit reference for the order","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=11,12,CR","875:extendedReferenceInformation.* | referenceIdentificationQualifier=11,12,CR"],"orderful_x12_codes":["11","12","CR"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=ADE,CR"],"orderful_edifact_codes":["ADE","CR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"arrivalCode":{"description":"Code indicating arrival information or instructions","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=AR","875:extendedReferenceInformation.* | referenceIdentificationQualifier=AR"],"orderful_x12_codes":["AR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"associatedPurchaseOrderNumber":{"description":"Related or parent purchase order number","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=AN","875:extendedReferenceInformation.* | referenceIdentificationQualifier=AN"],"orderful_x12_codes":["AN"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"reservationNumber":{"description":"Reservation number","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=CNO,CS","875:extendedReferenceInformation.* | referenceIdentificationQualifier=CNO,CS"],"orderful_x12_codes":["CNO","CS"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"customerOrderNumber":{"description":"Customer-assigned order number for tracking","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=CO","875:extendedReferenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=CO"],"orderful_edifact_codes":["CO"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"deliveryReference":{"description":"Reference number for delivery coordination","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=KK","875:extendedReferenceInformation.* | referenceIdentificationQualifier=KK"],"orderful_x12_codes":["KK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"divisionId":{"description":"Identifier for the business division placing the order","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=19","875:extendedReferenceInformation.* | referenceIdentificationQualifier=19"],"orderful_x12_codes":["19"],"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 within the buying organization","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=DP","875:extendedReferenceInformation.* | 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},"freightPayerReference":{"description":"Freight payer reference number","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=F9","875:extendedReferenceInformation.* | referenceIdentificationQualifier=F9"],"orderful_x12_codes":["F9"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"internalCustomerNumber":{"description":"Internal customer identifier used by the buyer","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=IT","875:extendedReferenceInformation.* | referenceIdentificationQualifier=IT"],"orderful_x12_codes":["IT"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=IT"],"orderful_edifact_codes":["IT"],"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":"Vendor or supplier identifier assigned by the buyer","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=IA,VR","875:extendedReferenceInformation.* | referenceIdentificationQualifier=IA,VR"],"orderful_x12_codes":["IA","VR"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=IA,VR"],"orderful_edifact_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},"merchandiseTypeCode":{"description":"Code classifying the type of merchandise","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=MR","875:extendedReferenceInformation.* | referenceIdentificationQualifier=MR"],"orderful_x12_codes":["MR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"pricingQuote":{"description":"Pricing quote reference number","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=PR","875:extendedReferenceInformation.* | referenceIdentificationQualifier=PR"],"orderful_x12_codes":["PR"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=PR"],"orderful_edifact_codes":["PR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"promotionNumber":{"description":"Promotional campaign or deal identifier","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=PD","875:extendedReferenceInformation.* | referenceIdentificationQualifier=PD"],"orderful_x12_codes":["PD"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=PD"],"orderful_edifact_codes":["PD"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"storeNumber":{"description":"Retail store location identifier","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=ST","875:extendedReferenceInformation.* | referenceIdentificationQualifier=ST"],"orderful_x12_codes":["ST"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"thirdPartyReferenceNumber":{"description":"Reference number from a third-party system","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=GK","875:extendedReferenceInformation.* | referenceIdentificationQualifier=GK"],"orderful_x12_codes":["GK"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"warehouseStorageLocation":{"description":"Warehouse or storage location identifier","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=WS,WH","875:extendedReferenceInformation.* | referenceIdentificationQualifier=WS,WH"],"orderful_x12_codes":["WS","WH"],"orderful_edifact_paths":["ORDERS:reference_group.*.reference | referenceCodeQualifier=WS"],"orderful_edifact_codes":["WS"],"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 for the order such as purchase order date, ship date, and requested delivery date","orderful_x12_path":["850:dateTimeReference","875:dateTime"],"orderful_edifact_paths":["ORDERS:dateTimePeriod | dateOrTimeOrPeriodFunctionCodeQualifier!=137,4"],"type":"object","properties":{"cancelAfterDate":{"description":"Date after which the order should be cancelled if not fulfilled","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=001","875:dateTime.* | dateQualifier=001"],"orderful_x12_codes":["001"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=61,46"],"orderful_edifact_codes":["61","46"],"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)))$"}]},"customerOrderDate":{"description":"Date when the customer originally placed the order","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=006,806","875:dateTime.* | dateQualifier=006,806"],"orderful_x12_codes":["006","806"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=4"],"orderful_edifact_codes":["4"],"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)))$"}]},"earliestDeliveryDate":{"description":"Earliest acceptable date for delivery","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=064","875:dateTime.* | dateQualifier=064"],"orderful_x12_codes":["064"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=64"],"orderful_edifact_codes":["64"],"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)))$"}]},"earliestShipDate":{"description":"Earliest acceptable date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=037","875:dateTime.* | dateQualifier=037"],"orderful_x12_codes":["037"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=37"],"orderful_edifact_codes":["37"],"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)))$"}]},"latestShipDate":{"description":"Latest acceptable date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=038","875:dateTime.* | dateQualifier=038"],"orderful_x12_codes":["038"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=38"],"orderful_edifact_codes":["38"],"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)))$"}]},"latestDeliveryDate":{"description":"Latest acceptable date for delivery. Covers both 063 (\"Do Not Deliver After\") and 106 (\"Required By\") — both express a hard delivery deadline.","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=063,106","875:dateTime.* | dateQualifier=063,106"],"orderful_x12_codes":["063","106"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=63,128"],"orderful_edifact_codes":["63","128"],"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)))$"}]},"pickupDate":{"description":"Scheduled date for pickup","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=118","875:dateTime.* | dateQualifier=118"],"orderful_x12_codes":["118"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=200"],"orderful_edifact_codes":["200"],"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)))$"}]},"promotionStartDate":{"description":"Start date of the promotional period","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=015","875:dateTime.* | dateQualifier=015"],"orderful_x12_codes":["015"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=15"],"orderful_edifact_codes":["15"],"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)))$"}]},"purchaseOrderDate":{"description":"Date of the original purchase order, used on release orders","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=004","875:dateTime.* | dateQualifier=004"],"orderful_x12_codes":["004"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=4"],"orderful_edifact_codes":["4"],"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)))$"}]},"requestedDeliveryDate":{"description":"Requested date for delivery","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=002,017","875:dateTime.* | dateQualifier=002,017"],"orderful_x12_codes":["002","017","02"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=2"],"orderful_edifact_codes":["2"],"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)))$"}]},"requestedShipDate":{"description":"Requested date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=010","875:dateTime.* | dateQualifier=010"],"orderful_x12_codes":["010","10"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=10"],"orderful_edifact_codes":["10"],"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)))$"}]},"requestedDeliveryWeekOfDate":{"description":"Week during which delivery is requested","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=077,078","875:dateTime.* | dateQualifier=077,078"],"orderful_x12_codes":["077","078"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=39"],"orderful_edifact_codes":["39"],"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},"carrierDetails":{"description":"Carrier and shipping details for the order","orderful_x12_path":["850:carrierDetailsQuantityAndWeight","850:carrierDetailsRoutingSequenceTransitTime","850:FOBRelatedInstructions","850:N1_loop.*.FOBRelatedInstructions","850:carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth","850:carrierDetailsSpecialHandlingOrHazardousMaterials","875:transportationInstructions","875:totalPurchaseOrder"],"orderful_edifact_paths":["ORDERS:transportInformation_group.*.transportInformation","ORDERS:termsOfDeliveryOrTransport_group.*.termsOfDeliveryOrTransport"],"type":"object","properties":{"quantityAndWeight":{"description":"Quantity and weight details for the shipment","orderful_x12_path":["850:carrierDetailsQuantityAndWeight","875:totalPurchaseOrder"],"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"},"ladingQuantity":{"description":"Number of units (pallets, cartons, etc.) in the shipment","orderful_x12_path":["850:carrierDetailsQuantityAndWeight.*.ladingQuantity","875:totalPurchaseOrder.*.quantity"],"type":"string"}},"additionalProperties":false}},"routing":{"description":"Carrier routing and transportation method details","orderful_x12_path":["850:carrierDetailsRoutingSequenceTransitTime","875:transportationInstructions"],"orderful_edifact_paths":["ORDERS:transportInformation_group.*.transportInformation"],"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}},"freeOnBoard":{"description":"FOB (Free on Board) terms and conditions","orderful_x12_path":["850:FOBRelatedInstructions","850:N1_loop.*.FOBRelatedInstructions"],"orderful_edifact_paths":["ORDERS:termsOfDeliveryOrTransport_group.*.termsOfDeliveryOrTransport"],"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":["850:carrierDetailsSpecialHandlingOrHazardousMaterialsOrBoth","850:carrierDetailsSpecialHandlingOrHazardousMaterials"],"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},"allowances":{"description":"Allowances or discounts applied to the order","orderful_x12_path":["850:SAC_loop.* | allowanceOrChargeIndicatorCode=A"],"orderful_x12_codes":["A"],"orderful_edifact_paths":["ORDERS:allowanceOrCharge_group.*.allowanceOrCharge | allowanceOrChargeCodeQualifier=A"],"orderful_edifact_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 order","orderful_x12_path":["850:SAC_loop.* | allowanceOrChargeIndicatorCode=C"],"orderful_x12_codes":["C"],"orderful_edifact_paths":["ORDERS:allowanceOrCharge_group.*.allowanceOrCharge | allowanceOrChargeCodeQualifier=C"],"orderful_edifact_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}},"monetaryAmounts":{"description":"Monetary amounts for the order","orderful_x12_path":["850:CTT_loop.*.monetaryAmountInformation","875:totalPurchaseOrder"],"orderful_edifact_paths":["ORDERS:summary_group.monetaryAmount | monetaryAmountTypeCodeQualifier!=369"],"type":"object","properties":{"net":{"description":"Net monetary amount for the order (pre-tax / line-item total). X12 CTT/AMT qualifier N; EDIFACT MOA qualifier 9 (order amount) or 79 (total line items amount).","orderful_x12_path":["850:CTT_loop.*.monetaryAmountInformation.* | amountQualifierCode=N"],"orderful_x12_codes":["N"],"orderful_edifact_paths":["ORDERS:summary_group.monetaryAmount.*.monetaryAmount_composite.monetaryAmount | monetaryAmountTypeCodeQualifier=9,79"],"orderful_edifact_codes":["9","79"],"type":"string"},"gross":{"description":"Gross monetary amount for the order (total including tax/charges). X12 CTT/AMT qualifier 1 (invoice) or GV (goods value); EDIFACT MOA qualifier 86 (message total monetary amount) or 128 (total amount due). For 875 (no AMT qualifier) this captures the single G76.amount total order amount.","orderful_x12_path":["850:CTT_loop.*.monetaryAmountInformation.* | amountQualifierCode=1,GV","875:totalPurchaseOrder.*.amount"],"orderful_x12_codes":["1","GV"],"orderful_edifact_paths":["ORDERS:summary_group.monetaryAmount.*.monetaryAmount_composite.monetaryAmount | monetaryAmountTypeCodeQualifier=86,128"],"orderful_edifact_codes":["86","128"],"type":"string"}},"additionalProperties":false},"taxes":{"description":"Tax information for the order","orderful_x12_path":["850:taxInformation","850:taxReference"],"orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails","ORDERS:summary_group.monetaryAmount | monetaryAmountTypeCodeQualifier=369"],"orderful_edifact_metadata_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyOrTaxOrFeeFunctionCodeQualifier","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.dutyOrTaxOrFeeTypeName","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.calculationSequenceCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.codeListIdCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.codeListResponsibleAgencyCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.codeListIdCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.codeListResponsibleAgencyCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListIdCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListResponsibleAgencyCode","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListIdCode_1","ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListResponsibleAgencyCode_1"],"type":"object","properties":{"countyTax":{"description":"County-level tax information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=CP"],"orderful_x12_codes":["CP"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"generalTaxInformation":{"description":"General tax information when no specific tax type applies","orderful_x12_path":["850:taxInformation.* | taxTypeCode=OH,TX"],"orderful_x12_codes":["OH","TX"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"goodsAndServicesTax":{"description":"Goods and services tax (GST) or value-added tax (VAT) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=GS,VA"],"orderful_x12_codes":["GS","VA"],"orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails | dutyOrTaxOrFeeTypeNameCode=GST,VAT","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails | dutyOrTaxOrFeeTypeNameCode=GST,VAT"],"orderful_edifact_codes":["GST","VAT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"harmonizedSalesTax":{"description":"Harmonized sales tax (HST) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=BE"],"orderful_x12_codes":["BE"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"preThresholdTax":{"description":"Tax applied before a threshold amount","orderful_x12_path":["850:taxInformation.* | taxTypeCode=T1"],"orderful_x12_codes":["T1"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"postThresholdTax":{"description":"Tax applied after a threshold amount","orderful_x12_path":["850:taxInformation.* | taxTypeCode=T2"],"orderful_x12_codes":["T2"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTax":{"description":"State or provincial sales tax (PST/QST) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=SP,ST"],"orderful_x12_codes":["SP","ST"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTaxOnGoods":{"description":"State or provincial tax on goods","orderful_x12_path":["850:taxInformation.* | taxTypeCode=PG"],"orderful_x12_codes":["PG"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTaxOnServices":{"description":"State or provincial tax on services","orderful_x12_path":["850:taxInformation.* | taxTypeCode=PS"],"orderful_x12_codes":["PS"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"localTax":{"description":"Local tax information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=SL,LS,LT"],"orderful_x12_codes":["SL","LS","LT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false},"lineItems":{"type":"array","items":{"type":"object","properties":{"purchaseOrderLineId":{"description":"Unique identifier for the line item within the purchase order. Usually a simple counter, this number should be kept consistent when referencing a specific line item on return documents.","orderful_x12_path":["850:PO1_loop.*.baselineItemData.*.assignedIdentification"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.lineItem.lineItemId"],"type":"string"},"quantity":{"description":"Quantity ordered for this line item","orderful_x12_path":["850:PO1_loop.*.baselineItemData.*.quantity","850:PO1_loop.*.baselineItemData.*.unitOrBasisForMeasurementCode","875:G68_loop.*.lineItemDetail.*.quantity","875:G68_loop.*.lineItemDetail.*.unitOrBasisForMeasurementCode"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.quantity.*.quantityDetails_composite | quantityTypeCodeQualifier=21"],"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 price or cost for the item","orderful_x12_path":["850:PO1_loop.*.baselineItemData.*.unitPrice","875:G68_loop.*.lineItemDetail.*.itemListCost"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.priceDetails_group.*.priceDetails.priceInformation_composite | priceTypeCodeQualifier=AAA,AAB,CAL,INV"],"orderful_edifact_codes":["AAA","AAB","CAL","INV"],"type":"string"},"unitPriceBasis":{"description":"Basis on which the unit price is calculated","orderful_x12_path":["850:PO1_loop.*.baselineItemData.*.basisOfUnitPriceCode"],"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"]}}},"additionalPricing":{"description":"Additional pricing information such as list price or promotional pricing","orderful_x12_path":["850:PO1_loop.*.CTP_loop.*.pricingInformation"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.priceDetails_group.*.priceDetails.priceInformation_composite | priceTypeCodeQualifier=INF"],"orderful_edifact_codes":["INF"],"type":"array","items":{"type":"object","properties":{"priceType":{"type":"string","enum":["discountAllowed","highValuePrice","listCost","retail","promotional","purchase"],"description":"Type of price","orderful_enum_meta":{"discountAllowed":{"description":"Discount allowed from list price","orderful_x12_codes":["DSC"]},"highValuePrice":{"description":"High value price","orderful_x12_codes":["GB"]},"listCost":{"description":"List cost price","orderful_x12_codes":["LPR","SLP"]},"retail":{"description":"Retail price","orderful_x12_codes":["RTL","RES"]},"promotional":{"description":"Promotional price","orderful_x12_codes":["PRP"]},"purchase":{"description":"Purchase price","orderful_x12_codes":["PUR"]}}},"unitPrice":{"description":"Unit price value","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"]}}},"quantityPerUnitPrice":{"description":"Quantity per unit price","type":"string"}},"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":["850:PO1_loop.*.baselineItemData.*.productServiceIDQualifier","850:PO1_loop.*.baselineItemData.*.productServiceID","875:G68_loop.*.lineItemDetail.*.productServiceIDQualifier","875:G68_loop.*.lineItemDetail.*.productServiceID"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.lineItem.itemNumberId_composite.itemId","ORDERS:lineItem_group.*.lineItem.itemNumberId_composite.itemTypeIdCode","ORDERS:lineItem_group.*.additionalProductId.*.itemNumberId_composite.itemId","ORDERS:lineItem_group.*.additionalProductId.*.itemNumberId_composite.itemTypeIdCode"],"orderful_edifact_metadata_paths":["ORDERS:lineItem_group.*.additionalProductId.*.productIdCodeQualifier"]},"productAttributes":{"description":"Product attributes such as color, size, and description","orderful_x12_path":["850:PO1_loop.*.PID_loop.*.productItemDescription","875:G68_loop.*.lineItemDetail1"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.itemDescription.*.itemDescription_composite","ORDERS:lineItem_group.*.itemDescription.*.itemCharacteristic_composite"],"orderful_edifact_metadata_paths":["ORDERS:lineItem_group.*.itemDescription.*.descriptionFormatCode"],"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},"outerPack":{"description":"Physical details for the outer packaging (case/carton level)","orderful_x12_path":["850:PO1_loop.*.itemPhysicalDetails","875:G68_loop.*.lineItemDetail2"],"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":["850:PO1_loop.*.itemPhysicalDetails.*.innerPack","875:G68_loop.*.lineItemDetail2.*.innerPack"],"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},"packaging":{"description":"Packaging and marking requirements","type":"array","items":{"type":"object","properties":{"characteristicType":{"type":"string","enum":["containerShape","hazardousMaterial","packageSpecifications","packing","palletType","productMarking","shippingPackageLabeling","typeOfPackage","wrappingMaterial"],"description":"Type of packaging characteristic","orderful_enum_meta":{"containerShape":{"description":"Container shape characteristic","orderful_x12_codes":["CS"]},"hazardousMaterial":{"description":"Hazardous material marking","orderful_x12_codes":["HM"]},"packageSpecifications":{"description":"Package specifications","orderful_x12_codes":["36"]},"packing":{"description":"Packing characteristic","orderful_x12_codes":["PK"]},"palletType":{"description":"Pallet type specification","orderful_x12_codes":["68"]},"productMarking":{"description":"Product marking","orderful_x12_codes":["34"]},"shippingPackageLabeling":{"description":"Shipping package labeling","orderful_x12_codes":["10"]},"typeOfPackage":{"description":"Type of package","orderful_x12_codes":["35"]},"wrappingMaterial":{"description":"Wrapping material","orderful_x12_codes":["WM"]}}},"agencyType":{"type":"string","enum":["uniformCodeCouncil"],"description":"Agency defining the packaging standard","orderful_enum_meta":{"uniformCodeCouncil":{"description":"Uniform Code Council (UCC) standard","orderful_x12_codes":["FC"]}}},"descriptionType":{"description":"Type of description","type":"string"},"description":{"description":"Packaging description","type":"string"},"unitLoadOption":{"type":"string","enum":["palletized","floorStack","mixed","slipSheet","module","clampable","bopSheet","airbagSlipSheetCombo","cargoQuilt","shrinkWrap","loadLock"],"description":"Unit load configuration option - how the shipment is physically arranged","orderful_enum_meta":{"palletized":{"description":"Shipment arranged on pallets","orderful_x12_codes":["01"]},"floorStack":{"description":"Freight floor-stacked in vehicle","orderful_x12_codes":["02"]},"mixed":{"description":"Mixed palletized and floor-stacked","orderful_x12_codes":["03"]},"slipSheet":{"description":"Loaded on slip sheets","orderful_x12_codes":["04"]},"module":{"description":"Module or rack-based loading","orderful_x12_codes":["05"]},"clampable":{"description":"Units can be clamped by forklift","orderful_x12_codes":["06"]},"bopSheet":{"description":"Loaded on bop sheets","orderful_x12_codes":["07"]},"airbagSlipSheetCombo":{"description":"Airbag and slip sheet combination","orderful_x12_codes":["08"]},"cargoQuilt":{"description":"Wrapped in cargo quilts","orderful_x12_codes":["09"]},"shrinkWrap":{"description":"Units shrink-wrapped","orderful_x12_codes":["10"]},"loadLock":{"description":"Secured with load locks","orderful_x12_codes":["11"]}}}},"additionalProperties":false}},"dates":{"description":"Date requirements specific to this line item","orderful_x12_path":["850:PO1_loop.*.dateTimeReference"],"type":"object","properties":{"cancelAfterDate":{"description":"Date after which the order should be cancelled if not fulfilled","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=001","875:dateTime.* | dateQualifier=001"],"orderful_x12_codes":["001"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=61,46"],"orderful_edifact_codes":["61","46"],"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)))$"}]},"customerOrderDate":{"description":"Date when the customer originally placed the order","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=006,806","875:dateTime.* | dateQualifier=006,806"],"orderful_x12_codes":["006","806"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=4"],"orderful_edifact_codes":["4"],"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)))$"}]},"earliestDeliveryDate":{"description":"Earliest acceptable date for delivery","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=064","875:dateTime.* | dateQualifier=064"],"orderful_x12_codes":["064"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=64"],"orderful_edifact_codes":["64"],"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)))$"}]},"earliestShipDate":{"description":"Earliest acceptable date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=037","875:dateTime.* | dateQualifier=037"],"orderful_x12_codes":["037"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=37"],"orderful_edifact_codes":["37"],"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)))$"}]},"latestShipDate":{"description":"Latest acceptable date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=038","875:dateTime.* | dateQualifier=038"],"orderful_x12_codes":["038"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=38"],"orderful_edifact_codes":["38"],"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)))$"}]},"latestDeliveryDate":{"description":"Latest acceptable date for delivery. Covers both 063 (\"Do Not Deliver After\") and 106 (\"Required By\") — both express a hard delivery deadline.","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=063,106","875:dateTime.* | dateQualifier=063,106"],"orderful_x12_codes":["063","106"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=63,128"],"orderful_edifact_codes":["63","128"],"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)))$"}]},"pickupDate":{"description":"Scheduled date for pickup","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=118","875:dateTime.* | dateQualifier=118"],"orderful_x12_codes":["118"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=200"],"orderful_edifact_codes":["200"],"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)))$"}]},"promotionStartDate":{"description":"Start date of the promotional period","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=015","875:dateTime.* | dateQualifier=015"],"orderful_x12_codes":["015"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=15"],"orderful_edifact_codes":["15"],"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)))$"}]},"purchaseOrderDate":{"description":"Date of the original purchase order, used on release orders","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=004","875:dateTime.* | dateQualifier=004"],"orderful_x12_codes":["004"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=4"],"orderful_edifact_codes":["4"],"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)))$"}]},"requestedDeliveryDate":{"description":"Requested date for delivery","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=002,017","875:dateTime.* | dateQualifier=002,017"],"orderful_x12_codes":["002","017","02"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=2"],"orderful_edifact_codes":["2"],"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)))$"}]},"requestedShipDate":{"description":"Requested date for shipment","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=010","875:dateTime.* | dateQualifier=010"],"orderful_x12_codes":["010","10"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=10"],"orderful_edifact_codes":["10"],"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)))$"}]},"requestedDeliveryWeekOfDate":{"description":"Week during which delivery is requested","orderful_x12_path":["850:dateTimeReference.* | dateTimeQualifier=077,078","875:dateTime.* | dateQualifier=077,078"],"orderful_x12_codes":["077","078"],"orderful_edifact_paths":["ORDERS:dateTimePeriod.*.dateTimePeriod_composite | dateOrTimeOrPeriodFunctionCodeQualifier=39"],"orderful_edifact_codes":["39"],"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},"references":{"description":"Reference numbers specific to this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation","875:G68_loop.*.extendedReferenceInformation"],"type":"object","properties":{"contractNumber":{"description":"Contract number for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=CT","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=CT"],"orderful_x12_codes":["CT"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"customerOrderLineNumber":{"description":"Customer order line number for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=GX","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=GX"],"orderful_x12_codes":["GX"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"customerOrderNumber":{"description":"Customer order number for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=CO","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=CO"],"orderful_x12_codes":["CO"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"reservationNumber":{"description":"Reservation number for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=CNO,CS","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=CNO,CS"],"orderful_x12_codes":["CNO","CS"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"divisionId":{"description":"Business division identifier for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=19","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=19"],"orderful_x12_codes":["19"],"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 line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=DP","875:G68_loop.*.extendedReferenceInformation.* | 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},"merchandiseTypeCode":{"description":"Merchandise classification code for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=MR","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=MR"],"orderful_x12_codes":["MR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"pricingQuote":{"description":"Pricing quote reference for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=PR","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=PR"],"orderful_x12_codes":["PR"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"promotionNumber":{"description":"Promotional campaign identifier for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=PD","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=PD"],"orderful_x12_codes":["PD"],"type":"object","properties":{"value":{"description":"The reference identifier value","type":"string"},"description":{"description":"Additional description or context for the reference","type":"string"}},"additionalProperties":false},"storeNumber":{"description":"Store location identifier for this line item","orderful_x12_path":["850:PO1_loop.*.referenceInformation.* | referenceIdentificationQualifier=ST","875:G68_loop.*.extendedReferenceInformation.* | referenceIdentificationQualifier=ST"],"orderful_x12_codes":["ST"],"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},"destinationQuantities":{"description":"Quantity distribution across multiple destinations","orderful_x12_path":["850:PO1_loop.*.destinationQuantity"],"type":"object","properties":{"locationType":{"type":"string","enum":["sendersId","receiversId","duns","dunsPlus4","standardAddressSAN","warehouse","globalLocationId"],"description":"Type of location identifier","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"]},"dunsPlus4":{"description":"DUNS+4 identifier","orderful_x12_codes":["9"]},"standardAddressSAN":{"description":"Standard Address Number (SAN)","orderful_x12_codes":["15"]},"warehouse":{"description":"Warehouse identifier","orderful_x12_codes":["54"]},"globalLocationId":{"description":"Global Location Number (GLN)","orderful_x12_codes":["UL"],"orderful_edifact_codes":["9"]}}},"unitOfMeasure":{"description":"Unit of measure for quantities","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"]}}},"quantityByLocation":{"type":"array","items":{"type":"object","properties":{"destinationId":{"type":"string","description":"Destination location identifier"},"quantity":{"type":"string","description":"Quantity for this destination"}},"required":["destinationId","quantity"],"additionalProperties":false},"description":"Quantity breakdown by destination"}},"required":["quantityByLocation"],"additionalProperties":false},"allowances":{"description":"Allowances or discounts applied to this line item","orderful_x12_path":["850:PO1_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=A"],"orderful_x12_codes":["A"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.allowanceOrCharge_group.*.allowanceOrCharge | allowanceOrChargeCodeQualifier=A"],"orderful_edifact_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 this line item","orderful_x12_path":["850:PO1_loop.*.SAC_loop.* | allowanceOrChargeIndicatorCode=C"],"orderful_x12_codes":["C"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.allowanceOrCharge_group.*.allowanceOrCharge | allowanceOrChargeCodeQualifier=C"],"orderful_edifact_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}},"monetaryAmounts":{"description":"Monetary amounts for the line item","orderful_x12_path":["850:PO1_loop.*.AMT_loop.*.monetaryAmountInformation"],"type":"object","properties":{"gross":{"description":"Gross monetary amount for the line item","orderful_x12_path":["850:PO1_loop.*.AMT_loop.*.monetaryAmountInformation.* | amountQualifierCode=1,GB","850:PO1_loop.*.CTP_loop.*.pricingInformation.*.monetaryAmount"],"orderful_x12_codes":["1","GB"],"orderful_x12_notes":["CTP08 carries the extended item total (quantity × unit price)"],"type":"string"},"net":{"description":"Net monetary amount for the line item","orderful_x12_path":["850:PO1_loop.*.AMT_loop.*.monetaryAmountInformation.* | amountQualifierCode=N"],"orderful_x12_codes":["N"],"type":"string"}},"additionalProperties":false},"sublineItems":{"description":"Subline items for component or kit details","orderful_x12_path":["850:PO1_loop.*.SLN_loop","875:G68_loop.*.SLN_loop"],"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}},"notes":{"description":"Notes and instructions for this line item","orderful_x12_path":["850:PO1_loop.*.text","850:PO1_loop.*.messageText"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.freeText"],"orderful_edifact_metadata_paths":["ORDERS:lineItem_group.*.freeText.*.freeTextFunctionCode","ORDERS:lineItem_group.*.freeText.*.languageNameCode"],"type":"object","properties":{"general":{"description":"Generic notes or standard legal agreements. Default for N9+L1 unless the guideline note or a different qualifier points elsewhere — pick the best-fitting field.","orderful_x12_path":["850:referenceInformation.* | referenceIdentificationQualifier=L1","875:extendedReferenceInformation.* | referenceIdentificationQualifier=L1"],"orderful_x12_codes":["L1"],"orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=AAI"],"orderful_edifact_codes":["AAI"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"orderInstructions":{"description":"Special instructions for processing the order. Default for CTB02 when CTB01=OR. MSG/MTX free-form text (segments named messageText/text in the input JSON) may also route here when the guideline note indicates order instructions — pick the best-fitting field.","orderful_x12_path":["850:restrictionsConditions.* | restrictionsConditionsQualifier=OR"],"orderful_x12_codes":["OR"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"shippingInstructions":{"description":"Special instructions for shipping the order. Default for CTB02 when CTB01=SR. MSG/MTX free-form text (segments named messageText/text in the input JSON) may also route here when the guideline note indicates shipping instructions — pick the best-fitting field.","orderful_x12_path":["850:restrictionsConditions.* | restrictionsConditionsQualifier=SR"],"orderful_x12_codes":["SR"],"orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=ABJ","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=ABJ"],"orderful_edifact_codes":["ABJ"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"paymentInstructions":{"description":"Payment-related notes or instructions (e.g., VAT split-payment marker text)","orderful_edifact_paths":["ORDERS:freeText.*.textLiteral_composite | textSubjectCodeQualifier=PMT","ORDERS:lineItem_group.*.freeText.*.textLiteral_composite | textSubjectCodeQualifier=PMT"],"orderful_edifact_codes":["PMT"],"type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"giftMessage":{"description":"Message for the recipient, typically used in gift or dropship orders","type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false},"packingSlipMessage":{"description":"Message to be printed on the packing slip","type":"object","properties":{"description":{"description":"Brief description or title of the note","type":"string"},"text":{"description":"Array of text lines for the note content","type":"array","items":{"type":"string"}}},"additionalProperties":false}},"additionalProperties":false},"paperwork":{"description":"Paperwork requirements for this line item","type":"array","items":{"type":"object","properties":{"reportType":{"type":"string","enum":["purchasingSpecification","storageInquiry","technicalInformation","billOfLading","orderAttachment","materialDataSheet","materialCertification"],"description":"Type of report or document required","orderful_x12_path":["850:paperwork.*.reportTypeCode"],"orderful_enum_meta":{"purchasingSpecification":{"description":"Purchasing specification document","orderful_x12_codes":["PJ"]},"storageInquiry":{"description":"Storage inquiry document","orderful_x12_codes":["PK"]},"technicalInformation":{"description":"Technical information document","orderful_x12_codes":["R5"]},"billOfLading":{"description":"Bill of lading","orderful_x12_codes":["BL"]},"orderAttachment":{"description":"Order attachment","orderful_x12_codes":["AT"]},"materialDataSheet":{"description":"Material data sheet","orderful_x12_codes":["MD"]},"materialCertification":{"description":"Material certification","orderful_x12_codes":["CP"]}}},"reportTransmissionType":{"description":"Method by which the report should be transmitted","orderful_x12_path":["850:paperwork.*.reportTransmissionCode"],"type":"string","enum":["withShipmentPackage"]},"copiesNeeded":{"description":"Number of copies of the document required","orderful_x12_path":["850:paperwork.*.reportCopiesNeeded"],"type":"integer","minimum":-9007199254740991,"maximum":9007199254740991},"isoLanguageCode":{"description":"ISO language code for the document","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=LE"],"orderful_x12_codes":["LE"],"type":"string"},"url":{"description":"URL where the document can be accessed","orderful_x12_path":["850:paperwork.*.identificationCode | identificationCodeQualifier=UR"],"orderful_x12_codes":["UR"],"type":"string"},"action":{"description":"Action to be taken with the paperwork","orderful_x12_path":["850:paperwork.*.actionsIndicated"],"type":"string","enum":["generate"]},"description":{"description":"Description or additional details about the paperwork","orderful_x12_path":["850:paperwork.*.description"],"type":"string"}},"additionalProperties":false}},"conditionsAndRestrictions":{"description":"Conditions and restrictions for this line item","type":"array","items":{"type":"object","properties":{"conditionType":{"type":"string","enum":["backorderAllowed","substitutionsAllowed","doNotSubstitute","doNotBackorder","shipComplete","shipPartialCancelBalance","shipASAP","standard","quickResponse","speed"],"description":"Type of order condition or restriction","orderful_enum_meta":{"backorderAllowed":{"description":"Backorder allowed if out of stock","orderful_x12_codes":["Y","BK","O"]},"substitutionsAllowed":{"description":"Product substitutions allowed","orderful_x12_codes":["IS"]},"doNotSubstitute":{"description":"Do not substitute products","orderful_x12_codes":["NS"]},"doNotBackorder":{"description":"Do not backorder; cancel unfilled","orderful_x12_codes":["N"]},"shipComplete":{"description":"Ship complete order only","orderful_x12_codes":["SC"]},"shipPartialCancelBalance":{"description":"Ship partial, cancel remaining balance","orderful_x12_codes":["SP"]},"shipASAP":{"description":"Ship as soon as available","orderful_x12_codes":["P2"]},"standard":{"description":"Standard order handling","orderful_x12_codes":["D"]},"quickResponse":{"description":"Quick response handling","orderful_x12_codes":["Q"]},"speed":{"description":"Speed processing","orderful_x12_codes":["S"]}}},"action":{"description":"Action to take on the order","type":"string","enum":["confirm","holdUntilReleased"]},"services":{"description":"Service level requirement","type":"string","enum":["oneDayService","twoDayService"]},"maxOrderValue":{"description":"Maximum order value limit","type":"string"}},"additionalProperties":false}},"carrierDetails":{"description":"Carrier and shipping details for this line item","orderful_x12_path":["850:PO1_loop.*.carrierDetailsRoutingSequenceTransitTime","850:PO1_loop.*.FOBRelatedInstructions"],"type":"object","properties":{"routing":{"description":"Carrier routing information for this line item","orderful_x12_path":["850:PO1_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}},"freeOnBoard":{"description":"FOB (Free on Board) terms for this line item","orderful_x12_path":["850:PO1_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}}},"additionalProperties":false},"taxes":{"description":"Tax information for the line item","orderful_x12_path":["850:PO1_loop.*.taxInformation","850:PO1_loop.*.taxReference"],"orderful_edifact_paths":["ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails"],"orderful_edifact_metadata_paths":["ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyOrTaxOrFeeFunctionCodeQualifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.dutyOrTaxOrFeeTypeName","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.calculationSequenceCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.codeListIdCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeType_composite.codeListResponsibleAgencyCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.codeListIdCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.codeListResponsibleAgencyCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListIdCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListResponsibleAgencyCode","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListIdCode_1","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeDetail_composite.codeListResponsibleAgencyCode_1"],"type":"object","properties":{"countyTax":{"description":"County-level tax information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=CP"],"orderful_x12_codes":["CP"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"generalTaxInformation":{"description":"General tax information when no specific tax type applies","orderful_x12_path":["850:taxInformation.* | taxTypeCode=OH,TX"],"orderful_x12_codes":["OH","TX"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"goodsAndServicesTax":{"description":"Goods and services tax (GST) or value-added tax (VAT) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=GS,VA"],"orderful_x12_codes":["GS","VA"],"orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails | dutyOrTaxOrFeeTypeNameCode=GST,VAT","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails | dutyOrTaxOrFeeTypeNameCode=GST,VAT"],"orderful_edifact_codes":["GST","VAT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"harmonizedSalesTax":{"description":"Harmonized sales tax (HST) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=BE"],"orderful_x12_codes":["BE"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"preThresholdTax":{"description":"Tax applied before a threshold amount","orderful_x12_path":["850:taxInformation.* | taxTypeCode=T1"],"orderful_x12_codes":["T1"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"postThresholdTax":{"description":"Tax applied after a threshold amount","orderful_x12_path":["850:taxInformation.* | taxTypeCode=T2"],"orderful_x12_codes":["T2"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTax":{"description":"State or provincial sales tax (PST/QST) information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=SP,ST"],"orderful_x12_codes":["SP","ST"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTaxOnGoods":{"description":"State or provincial tax on goods","orderful_x12_path":["850:taxInformation.* | taxTypeCode=PG"],"orderful_x12_codes":["PG"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"stateProvincialTaxOnServices":{"description":"State or provincial tax on services","orderful_x12_path":["850:taxInformation.* | taxTypeCode=PS"],"orderful_x12_codes":["PS"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false},"localTax":{"description":"Local tax information","orderful_x12_path":["850:taxInformation.* | taxTypeCode=SL,LS,LT"],"orderful_x12_codes":["SL","LS","LT"],"type":"object","properties":{"amount":{"description":"Tax amount","type":"string"},"percent":{"description":"Tax percentage rate","type":"string"},"taxIdNumber":{"description":"Tax identification number","type":"string"},"locationId":{"description":"Tax location identifier","type":"string"},"exemptionCode":{"type":"string","enum":["exempt","notExempt","notTaxable"],"description":"Tax exemption status","orderful_x12_notes":["TXI06"],"orderful_edifact_notes":["TAX12"],"orderful_enum_meta":{"exempt":{"description":"Yes (tax exempt)","orderful_x12_codes":["1"],"orderful_edifact_codes":["E"]},"notExempt":{"description":"No (not tax exempt)","orderful_x12_codes":["2"],"orderful_edifact_codes":["S"]},"notTaxable":{"description":"Not taxable","orderful_x12_codes":["C"],"orderful_edifact_codes":["Z","O","G"]}}},"jurisdictionType":{"description":"Type of tax jurisdiction","type":"string"},"jurisdictionCode":{"description":"Tax jurisdiction code","type":"string"},"assignedId":{"description":"Assigned tax identifier — partner-internal accounting reference for this tax line","orderful_edifact_paths":["ORDERS:dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier","ORDERS:lineItem_group.*.dutyTaxFeeDetails_group.*.dutyTaxFeeDetails.dutyTaxFeeAccountDetail_composite.dutyTaxFeeAccountIdentifier"],"type":"string"}},"additionalProperties":false}},"additionalProperties":false}},"required":["productIds"],"additionalProperties":false},"description":"Line items included in the purchase order","orderful_x12_path":["850:PO1_loop","875:G68_loop"],"orderful_edifact_paths":["ORDERS:lineItem_group"]}},"required":["purpose","purchaseOrderType","purchaseOrderNumber","purchaseOrderDate","lineItems"],"additionalProperties":false}