{"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_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"},"X12_ID_152":{"enum":["045","520","675","A1M","A3M","A5M","AAS","AGG","AGS","AK","AMM","ANC","APL","ARC","ARG","ASY","AT","AUX","AV","AW","BA","BCP","BKA","BL","BLS","BN","BNS","BOX","BW","CAR","CCB","CCH","CD","CE","CGC","CGR","CH","CHN","CI","CLS","CM","CMD","CNL","CNS","CO","CON","COR","COU","COV","CPM","CR","CSD","CTM","CW","CY","DA","DBL","DCS","DDP","DE","DFS","DIS","DLR","DM","DN","DNF","DOC","DR","DRO","DRU","DS","DSR","DST","DT","DTV","DU","DW","EAX","ED","EE","EED","EL","ELS","EMR","EMT","END","EP","ER","ERS","EW","EX","EXC","EXD","EXO","EXP","EXQ","EXT","EXU","EXZ","EZE","FC","FCS","FD","FG","FL","FP","FPT","FR","FRZ","FS","FST","GI","GOC","GSS","HAN","HE","HEA","HES","HET","HH","HHB","HM","HO","HOR","HP","HQT","HR","HRS","HT","HV","HW","IB","IC","ID","IM","IMP","INT","IP","IR","IS","JIT","JLX","JS","KEG","KMD","LAB","LAY","LB","LBT","LC","LD","LF","LHS","LP","LS","LT","LTT","MC","MEN","MES","MET","MEX","MF","MIN","MOT","MP","MR","MRF","MSS","MTE","NC","ND","NE","NH","NP","NPR","NS","NT","NW","NX","OBL","OCA","OCL","OCS","OCV","OEH","OFU","OHC","OIL","ONC","ONS","OOB","OOD","OOL","OPR","OPT","OS","OSB","OST","OTC","OTD","OTS","OVR","OWR","PB","PD","PDS","PER","PG","PHR","PI","PIR","PMM","PMR","POC","PRL","PS","PSG","PSS","PTS","PUC","PUD","PUK","PUP","PW","RA","RB","RC","RCC","RCL","RDR","RLS","RM","RMS","RO","RR","RRR","RS","RSP","RSS","RSV","RT","SB","SC","SCC","SCL","SD","SDS","SE","SEC","SEE","SER","SEV","SF","SFT","SGL","SH","SHL","SI","SK","SKT","SLC","SM","SMP","SMS","SNT","SOC","SOL","SP","SPC","SPR","SPT","SPU","SR","SRG","SRS","SSN","ST","STR","SUP","SVS","TA","TDC","TDP","TLS","TMS","TN","TOF","TPS","TRA","TRK","TRL","TRM","TRN","TRP","TRS","TRT","TS","TSC","TSP","TSS","TT","TV","UB","UI","UN","UP","UPK","URC","US","UTL","VAC","VAN","VT","VTS","WB","WD","WE","WH","WI","WM","WO","WTV","WW","XP","XT","ZZZ"],"type":"string","format":"X12_ID_152"},"X12_ID_187":{"enum":["A","A1","A2","A3","B","C","CD","D","DR","E","F","G","H","I","J","K","L","M","N","ND","O","P","Q","R","RG","RN","RT","S","T","U","V","W","WA","WB","WG","WJ","X","Y","Z"],"type":"string","format":"X12_ID_187"},"X12_ID_188":{"enum":["E","K","L","M","O","S","T"],"type":"string","format":"X12_ID_188"},"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"},"G39":{"type":"object","properties":{"UPCCaseCode_01":{"maxLength":12,"minLength":12,"type":"string","format":"X12_AN","x-openedi-element-id":"438"},"ProductServiceIDQualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_235"}],"x-openedi-element-id":"235"},"ProductServiceID_03":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"234"},"SpecialHandlingCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_152"}],"x-openedi-element-id":"152"},"UnitWeight_05":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"395"},"WeightQualifier_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_187"}],"x-openedi-element-id":"187"},"WeightUnitCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_188"}],"x-openedi-element-id":"188"},"Height_08":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"65"},"UnitorBasisforMeasurementCode_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Width_10":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"189"},"UnitorBasisforMeasurementCode_11":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Length_12":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"82"},"UnitorBasisforMeasurementCode_13":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Volume_14":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"183"},"UnitorBasisforMeasurementCode_15":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"PalletBlockandTiers_16":{"maxLength":6,"minLength":6,"type":"string","format":"X12_N0","x-openedi-element-id":"416"},"Pack_17":{"maxLength":6,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"356"},"Size_18":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"357"},"UnitorBasisforMeasurementCode_19":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Color_20":{"maxLength":10,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"397"},"EquivalentWeight_21":{"maxLength":10,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"398"},"AlternateTiersperPallet_22":{"maxLength":3,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"876"},"ProductServiceIDQualifier_23":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_235"}],"x-openedi-element-id":"235"},"ProductServiceID_24":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"234"},"WeightQualifier_25":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_187"}],"x-openedi-element-id":"187"},"UnitWeight_26":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"395"}},"x-openedi-syntax":["R0102","P0203","P050607","P0607","P0809","P1011","P1213","P1415","P1819","P2324","P2526"],"x-openedi-segment-id":"G39"},"X12_ID_98":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","1P","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","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","87","88","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AB","AC","AD","AE","AF","AG","AI","AK","AL","AN","AO","AP","AQ","AR","AS","AT","AU","AV","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BD","BE","BF","BG","BK","BL","BM","BN","BO","BR","BS","BT","BU","BV","BW","BY","C1","C2","C3","C4","C5","C6","C7","C8","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CV","CW","CZ","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DZ","E1","E2","E3","EB","EC","EE","EF","EG","EL","EM","EN","EP","ES","EX","EY","FA","FB","FH","FM","FO","FR","FS","FW","GA","GP","GU","HB","HF","HS","IA","IC","ID","II","IK","IL","IM","IN","IS","IT","IU","KA","KB","KC","KD","KE","KF","KG","KK","KR","KS","L1","LB","LC","LE","LG","LH","LI","LL","LM","LN","LO","LP","LR","LS","LV","M1","M2","M3","M4","M6","M7","M8","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MP","MQ","N1","N2","N3","NC","ND","NN","NP","OA","OB","OC","OI","OM","OO","OP","OR","OS","OT","OU","OV","OW","OX","P1","P2","P3","P4","P5","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","QA","QB","QC","QD","QR","R1","R3","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RY","RZ","S1","S2","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SU","SV","SW","SY","T1","T2","T3","T4","T5","T6","T7","TC","TF","TH","TI","TL","TM","TO","TP","TR","TS","TT","UC","UP","VN","WD","WF","WH","WO","X1","X2","Z1","Z2","Z3","Z4","Z5","Z6","Z7","Z8","ZA","ZB","ZD","ZE","ZF","ZL","ZN","ZQ","ZR","ZS","ZZ"],"type":"string","format":"X12_ID_98"},"X12_ID_66":{"enum":["1","10","11","12","13","14","15","16","18","19","2","20","21","22","23","24","25","26","27","28","29","3","30","31","32","33","34","35","36","38","39","4","40","41","42","43","44","45","46","47","48","49","5","50","6","7","71","72","73","74","75","76","77","78","8","81","82","9","91","92","93","94","95","96","97","98","A2","AA","AC","AD","AE","AL","AP","BC","BD","BE","BS","C","C1","C2","CI","CL","CP","DG","DL","DN","DS","EI","FA","FI","HN","LI","LN","M3","M4","MC","MD","MI","MP","MR","N","NI","PC","PI","PP","SD","SI","SL","SP","ST","UP","ZY","ZZ"],"type":"string","format":"X12_ID_66"},"N1":{"required":["EntityIdentifierCode_01"],"type":"object","properties":{"EntityIdentifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_98"}],"x-openedi-element-id":"98"},"Name_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"},"IdentificationCodeQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_66"}],"x-openedi-element-id":"66"},"IdentificationCode_04":{"maxLength":17,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"67"}},"x-openedi-syntax":["R0203","P0304"],"x-openedi-segment-id":"N1"},"N2":{"required":["Name_01"],"type":"object","properties":{"Name_01":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"},"Name_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"}},"x-openedi-segment-id":"N2"},"N3":{"required":["AddressInformation_01"],"type":"object","properties":{"AddressInformation_01":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"166"},"AddressInformation_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"166"}},"x-openedi-segment-id":"N3"},"X12_ID_309":{"enum":["AC","AP","AR","BE","BL","BS","CA","CC","CD","CI","CL","CO","CS","CY","D","DC","DE","FA","FE","FF","FI","FR","FT","FV","IA","IM","IP","IT","K","MI","MS","NS","OA","OL","OR","OV","PA","PE","PL","PP","PQ","PR","PS","PT","PU","RA","RE","RG","RJ","RL","RS","RT","SB","SC","SD","SL","SN","SP","SS","SW","TC","TL","TN","TR","TX","UN","UR","VS","W","WH","ZN","ZZ"],"type":"string","format":"X12_ID_309"},"N4":{"type":"object","properties":{"CityName_01":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_02":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"},"PostalCode_03":{"maxLength":9,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"116"},"CountryCode_04":{"maxLength":3,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"26"},"LocationQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_309"}],"x-openedi-element-id":"309"},"LocationIdentifier_06":{"maxLength":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"}},"x-openedi-syntax":["R0105","P0506"],"x-openedi-segment-id":"N4"},"Loop_N1_893":{"required":["N1"],"type":"object","properties":{"N1":{"$ref":"#/components/schemas/N1","description":"Name"},"N2":{"$ref":"#/components/schemas/N2","description":"Additional Name Information"},"N3":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/N3"},"description":"Address Information"},"N4":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/N4"},"description":"Geographic Location"}},"x-openedi-loop-id":"N1"},"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"},"TS893":{"required":["G39","N1Loop"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"G39":{"maxItems":9999,"type":"array","items":{"$ref":"#/components/schemas/G39"},"description":"Item Characteristics - Vendor's Selling Unit"},"N1Loop":{"maxItems":999,"type":"array","items":{"$ref":"#/components/schemas/Loop_N1_893"}},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"893","x-openedi-message-standard":"X12"}}}}