{"openapi":"3.0.1","info":{"title":"EdiNation API","version":"2"},"paths":{},"components":{"schemas":{"ST":{"required":["TransactionSetControlNumber_02","TransactionSetIdentifierCode_01"],"type":"object","properties":{"TransactionSetIdentifierCode_01":{"maxLength":3,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"143"},"TransactionSetControlNumber_02":{"maxLength":9,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"329"},"ImplementationConventionPreference_03":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"1705"}},"x-openedi-segment-id":"ST"},"X12_ID_478":{"enum":["C","D"],"type":"string","format":"X12_ID_478"},"X12_ID_146":{"enum":["BP","CA","CC","CD","CF","DE","DF","FO","HP","MX","NC","NR","PA","PB","PC","PD","PL","PO","PP","PS","PU","RC","RF","RS","TP","WC"],"type":"string","format":"X12_ID_146"},"X12_ID_625":{"enum":["1","2","3","4"],"type":"string","format":"X12_ID_625"},"G82":{"required":["CreditDebitFlagCode_01","DUNSNumber_03","DUNSNumber_05","PhysicalDeliveryorReturnDate_07","ReceiversLocationNumber_04","SuppliersDeliveryReturnNumber_02","SuppliersLocationNumber_06"],"type":"object","properties":{"CreditDebitFlagCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_478"}],"x-openedi-element-id":"478"},"SuppliersDeliveryReturnNumber_02":{"maxLength":22,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"861"},"DUNSNumber_03":{"maxLength":9,"minLength":9,"type":"string","format":"X12_AN","x-openedi-element-id":"860"},"ReceiversLocationNumber_04":{"maxLength":6,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"862"},"DUNSNumber_05":{"maxLength":9,"minLength":9,"type":"string","format":"X12_AN","x-openedi-element-id":"860"},"SuppliersLocationNumber_06":{"maxLength":6,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"871"},"PhysicalDeliveryorReturnDate_07":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"872"},"ProductOwnershipTransferDate_08":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"873"},"PurchaseOrderNumber_09":{"maxLength":22,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"324"},"PurchaseOrderDate_10":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"323"},"ShipmentMethodofPayment_11":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_146"}],"x-openedi-element-id":"146"},"CODMethodofPaymentCode_12":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_625"}],"x-openedi-element-id":"625"}},"x-openedi-segment-id":"G82"},"LS":{"required":["LoopIdentifierCode_01"],"type":"object","properties":{"LoopIdentifierCode_01":{"maxLength":4,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"447"}},"x-openedi-segment-id":"LS"},"X12_ID_355":{"enum":["01","02","03","04","05","08","10","11","12","13","14","15","16","17","18","19","1A","1B","1C","1D","1E","1F","1G","1H","1I","1J","1K","1L","1M","1X","20","21","22","23","24","25","26","27","28","29","2A","2B","2C","2F","2G","2H","2I","2J","2K","2L","2M","2N","2P","2Q","2R","2U","2V","2W","2X","2Y","2Z","30","31","32","33","34","35","36","37","38","39","3A","3B","3C","40","41","43","44","45","46","47","48","4A","4B","4C","4D","4E","4F","4G","4H","4I","4J","4K","4L","4M","4N","4O","4P","4Q","4R","4S","4T","4U","50","51","53","54","56","58","59","60","61","62","63","64","65","66","67","68","69","70","71","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","89","90","91","92","93","94","95","96","97","98","A8","A9","AA","AB","AC","AD","AE","AF","AH","AI","AJ","AK","AL","AM","AN","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","B0","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CX","CY","CZ","D3","D8","D9","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DO","DP","DQ","DR","DS","DT","DU","DY","DZ","E1","E3","E4","E5","E7","E8","E9","EA","EB","EC","ED","EF","EM","EP","EQ","EV","EX","EY","EZ","F1","F9","FA","FB","FC","FD","FE","FF","FG","FH","FL","FM","FO","FP","FR","FS","FT","FZ","G2","G3","G4","G5","G7","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GV","GW","GX","GY","GZ","H1","H2","H4","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HR","HS","HT","HU","HV","HW","HY","HZ","IA","IB","IC","IE","IF","II","IL","IM","IN","IP","IT","IU","IV","IW","J2","JB","JE","JG","JK","JM","JO","JR","JU","K1","K2","K3","K4","K5","K6","K7","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KT","KV","KW","KX","L2","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LM","LN","LO","LP","LQ","LR","LS","LT","LX","LY","M0","M1","M2","M3","M4","M5","M6","M7","M8","M9","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","N1","N2","N3","N4","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NL","NM","NN","NQ","NR","NS","NT","NV","NW","NX","NY","OA","ON","OP","OT","OZ","P0","P1","P2","P3","P4","P5","P6","P7","P8","P9","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","PX","PY","PZ","Q1","Q2","Q3","Q4","Q5","Q6","Q7","QA","QB","QD","QH","QK","QR","QS","QT","QU","R1","R2","R3","R4","R5","R6","R7","R9","RA","RD","RE","RG","RK","RL","RM","RN","RO","RP","RS","RT","RU","S2","S3","S4","S6","S7","S8","S9","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SX","SY","T0","T1","T2","T3","T4","T5","T6","T7","T8","T9","TA","TB","TC","TD","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TU","TV","TW","TX","TY","TZ","U2","U3","U5","UA","UB","UC","UD","UE","UF","UH","UM","UN","VA","VC","VI","VS","VT","W2","WA","WB","WE","WG","WH","WI","WK","WM","WP","WR","WT","WU","WW","X1","YD","YL","YR","YT","ZZ"],"type":"string","format":"X12_ID_355"},"X12_ID_235":{"enum":["A1","A2","A3","A4","A6","A7","A8","A9","AA","AB","AC","AD","AI","AM","AN","AP","AR","AS","AT","AX","AY","AZ","B1","B2","B3","B4","B5","B6","B7","BA","BC","BE","BL","BM","BN","BO","BP","BS","BT","BU","BX","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CY","DE","DG","DI","DL","DN","DP","DR","DX","DZ","EC","ED","EI","EL","EM","EN","EP","EQ","ES","EX","F1","F2","F3","F4","F5","F7","F8","FA","FF","FI","FL","FM","FN","FP","FS","FT","FW","GC","GD","GK","GN","GR","GS","GU","HC","HD","HI","HN","IA","IB","IC","ID","IM","IN","IS","IT","IW","IZ","JN","JP","JS","KP","LG","LT","LU","MA","MB","MC","MD","MF","MG","MI","MM","MN","MO","MS","MT","N1","N2","N3","N4","NC","ND","NH","NR","NW","NZ","OA","OB","OC","OD","OE","OF","OG","OH","OI","OL","ON","OO","OP","P1","P2","P3","P4","PA","PC","PD","PE","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PW","PZ","R1","R2","RA","RB","RC","RD","RE","RF","RK","RN","RO","RP","RR","RS","RT","RU","RV","RW","RY","SA","SB","SC","SD","SE","SF","SH","SI","SK","SL","SM","SN","SP","SQ","SR","SS","ST","SU","SV","SW","SZ","TA","TC","TI","TM","TN","TP","TR","TS","TT","TU","TX","TY","U2","UA","UB","UC","UD","UE","UF","UG","UH","UI","UK","UM","UN","UO","UP","UQ","US","UT","UV","VA","VB","VC","VE","VI","VM","VN","VO","VP","VS","VU","VV","VX","WL","WS","XC","ZZ"],"type":"string","format":"X12_ID_235"},"G83":{"required":["DirectStoreDeliverySequenceNumber_01","Quantity_02","UnitorBasisforMeasurementCode_03"],"type":"object","properties":{"DirectStoreDeliverySequenceNumber_01":{"maxLength":4,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"204"},"Quantity_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"UnitorBasisforMeasurementCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"UPCEANConsumerPackageCode_04":{"maxLength":12,"minLength":12,"type":"string","format":"X12_AN","x-openedi-element-id":"766"},"ProductServiceIDQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_235"}],"x-openedi-element-id":"235"},"ProductServiceID_06":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"234"},"UPCCaseCode_07":{"maxLength":12,"minLength":12,"type":"string","format":"X12_AN","x-openedi-element-id":"438"},"ItemListCost_08":{"maxLength":9,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"237"},"Pack_09":{"maxLength":6,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"356"},"CashRegisterItemDescription_10":{"maxLength":20,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"878"}},"x-openedi-syntax":["R0405","P0506"],"x-openedi-segment-id":"G83"},"X12_ID_288":{"enum":["A","N","Y","Z"],"type":"string","format":"X12_ID_288"},"G22":{"required":["PrepricedOptionCode_01"],"type":"object","properties":{"PrepricedOptionCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_288"}],"x-openedi-element-id":"288"},"PriceNewSuggestedRetail_02":{"maxLength":7,"minLength":2,"type":"string","format":"X12_N2","x-openedi-element-id":"420"},"MultiplePriceQuantity_03":{"maxLength":2,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"289"},"FreeFormMessage_04":{"maxLength":60,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"3"}},"x-openedi-segment-id":"G22"},"X12_ID_340":{"enum":["1","100","2","3","40","41","42","43","44","45","46","47","48","490","491","499","5","50","501","502","503","504","505","506","507","508","509","51","510","511","512","513","514","515","516","517","518","519","52","520","521","522","523","524","525","526","53","537","54","55","57","58","60","61","62","63","64","65","66","67","70","80","88","90","91","92","93","94","95","96","97","990","999"],"type":"string","format":"X12_ID_340"},"X12_ID_331":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","18","ZZ"],"type":"string","format":"X12_ID_331"},"G72":{"required":["AllowanceorChargeCode_01","AllowanceorChargeMethodofHandlingCode_02"],"type":"object","properties":{"AllowanceorChargeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_340"}],"x-openedi-element-id":"340"},"AllowanceorChargeMethodofHandlingCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_331"}],"x-openedi-element-id":"331"},"AllowanceorChargeNumber_03":{"maxLength":16,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"341"},"ExceptionNumber_04":{"maxLength":16,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"769"},"AllowanceorChargeRate_05":{"maxLength":9,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"359"},"AllowanceorChargeQuantity_06":{"maxLength":10,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"339"},"UnitorBasisforMeasurementCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"AllowanceorChargeTotalAmount_08":{"maxLength":9,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"360"},"AllowanceorChargePercent_09":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"332"},"DollarBasisForPercent_10":{"maxLength":9,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"828"},"OptionNumber_11":{"maxLength":20,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"770"}},"x-openedi-syntax":["R03050809","E050809","P0607","P0910","C1103"],"x-openedi-segment-id":"G72"},"X12_ID_336":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","20","21","22","23","24","ZZ"],"type":"string","format":"X12_ID_336"},"X12_ID_333":{"enum":["09","1","10","11","12","13","14","2","3","4","5","6","7","8","ZZ"],"type":"string","format":"X12_ID_333"},"X12_ID_283":{"enum":["01","02","03","04"],"type":"string","format":"X12_ID_283"},"G23":{"required":["TermsBasisDateCode_02","TermsTypeCode_01"],"type":"object","properties":{"TermsTypeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_336"}],"x-openedi-element-id":"336"},"TermsBasisDateCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_333"}],"x-openedi-element-id":"333"},"TermsStartDate_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"282"},"TermsDueDateQualifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_283"}],"x-openedi-element-id":"283"},"TermsDiscountPercent_05":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"338"},"TermsDiscountDueDate_06":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"370"},"TermsDiscountDaysDue_07":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"351"},"TermsNetDueDate_08":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"446"},"TermsNetDays_09":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"386"},"TermsDiscountAmount_10":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"362"},"DiscountedAmountDue_11":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"391"},"AmountSubjecttoTermsDiscount_12":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"390"},"InstallmentTotalInvoiceAmountDue_13":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"343"},"PercentofInvoicePayable_14":{"maxLength":5,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"342"},"FreeFormMessage_15":{"maxLength":60,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"3"},"InstallmentGroupIndicator_16":{"maxLength":2,"minLength":2,"type":"string","format":"X12_N0","x-openedi-element-id":"713"}},"x-openedi-syntax":["R0809"],"x-openedi-segment-id":"G23"},"Loop_G83_894":{"required":["G83"],"type":"object","properties":{"G83":{"$ref":"#/components/schemas/G83","description":"Line Item Detail/Direct Store Delivery"},"G22":{"$ref":"#/components/schemas/G22","description":"Pricing Information"},"G72":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/G72"},"description":"Allowance or Charge"},"G23":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/G23"},"description":"Terms of Sale"}},"x-openedi-loop-id":"G83"},"LE":{"required":["LoopIdentifierCode_01"],"type":"object","properties":{"LoopIdentifierCode_01":{"maxLength":4,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"447"}},"x-openedi-segment-id":"LE"},"Loop_LS_894":{"required":["LE","LS"],"type":"object","properties":{"LS":{"$ref":"#/components/schemas/LS","description":"Loop Header"},"G83Loop":{"maxItems":9999,"type":"array","items":{"$ref":"#/components/schemas/Loop_G83_894"}},"LE":{"$ref":"#/components/schemas/LE","description":"Loop Trailer"}},"x-openedi-loop-id":"LS"},"G84":{"type":"object","properties":{"Quantity_01":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"TotalInvoiceAmount_02":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"361"},"TotalDepositDollarAmount_03":{"maxLength":6,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"865"}},"x-openedi-syntax":["R0102"],"x-openedi-segment-id":"G84"},"G86":{"required":["Signature_01"],"type":"object","properties":{"Signature_01":{"maxLength":12,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"867"}},"x-openedi-segment-id":"G86"},"G85":{"required":["IntegrityCheckValue_01"],"type":"object","properties":{"IntegrityCheckValue_01":{"maxLength":12,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"866"}},"x-openedi-segment-id":"G85"},"SE":{"required":["NumberofIncludedSegments_01","TransactionSetControlNumber_02"],"type":"object","properties":{"NumberofIncludedSegments_01":{"maxLength":10,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"96"},"TransactionSetControlNumber_02":{"maxLength":9,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"329"}},"x-openedi-segment-id":"SE"},"TS894":{"required":["G82","G84","G85","G86"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"G82":{"$ref":"#/components/schemas/G82","description":"Delivery/Return Base Record Identifier"},"LSLoop":{"$ref":"#/components/schemas/Loop_LS_894"},"G72":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/G72"},"description":"Allowance or Charge"},"G23":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/G23"},"description":"Terms of Sale"},"G84":{"$ref":"#/components/schemas/G84","description":"Delivery/Return Record of Totals"},"G86":{"$ref":"#/components/schemas/G86","description":"Signature"},"G85":{"$ref":"#/components/schemas/G85","description":"Record Integrity Check"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"894","x-openedi-message-standard":"X12"}}}}