{"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_91":{"enum":["6","7","A","AC","AE","AF","AH","AR","B","BP","BU","C","CE","D","DA","DW","E","ED","F","FA","FL","GG","GR","GS","H","I","J","K","L","LA","LT","M","MB","MP","N","O","P","PA","PG","PL","PP","PR","PT","Q","R","RC","RR","S","SB","SC","SD","SE","SR","SS","ST","T","TA","TC","U","VA","VE","VL","W","WP","X","Y","Y1","Y2","ZZ"],"type":"string","format":"X12_ID_91"},"X12_ID_256":{"enum":["A","B","C","D","E","F","G","H","I","J","K","L","P","S","T","V","W","X","Y","Z"],"type":"string","format":"X12_ID_256"},"X12_ID_897":{"enum":["B","C","L","Z"],"type":"string","format":"X12_ID_897"},"X12_ID_1073":{"enum":["N","U","W","Y"],"type":"string","format":"X12_ID_1073"},"M10":{"required":["CountryCode_03","FlightVoyageNumber_06","ManifestTypeCode_09","StandardCarrierAlphaCode_01","TransportationMethodTypeCode_02"],"type":"object","properties":{"StandardCarrierAlphaCode_01":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"TransportationMethodTypeCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_91"}],"x-openedi-element-id":"91"},"CountryCode_03":{"maxLength":3,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"26"},"VesselCode_04":{"maxLength":7,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"597"},"VesselName_05":{"maxLength":28,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"182"},"FlightVoyageNumber_06":{"maxLength":10,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"55"},"ReferenceIdentification_07":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"Quantity_08":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"ManifestTypeCode_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_256"}],"x-openedi-element-id":"256"},"VesselCodeQualifier_10":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_897"}],"x-openedi-element-id":"897"},"YesNoConditionorResponseCode_11":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1073"}],"x-openedi-element-id":"1073"},"ReferenceIdentification_12":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"}},"x-openedi-syntax":["P0410","R0504"],"x-openedi-segment-id":"M10"},"P4":{"required":["Date_02","LocationIdentifier_01"],"type":"object","properties":{"LocationIdentifier_01":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"Date_02":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Quantity_03":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"LocationIdentifier_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"Time_05":{"maxLength":8,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"Century_06":{"maxLength":2,"minLength":2,"type":"string","format":"X12_N0","x-openedi-element-id":"624"}},"x-openedi-segment-id":"P4"},"X12_ID_1428":{"enum":["C","P"],"type":"string","format":"X12_ID_1428"},"M21":{"required":["BillofLadingWaybillNumber_04","CustomsEntryTypeCode_01","LocationIdentifier_02","StandardCarrierAlphaCode_03"],"type":"object","properties":{"CustomsEntryTypeCode_01":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"581"},"LocationIdentifier_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"StandardCarrierAlphaCode_03":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"BillofLadingWaybillNumber_04":{"maxLength":12,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"598"},"MasterInbondTypeCode_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1428"}],"x-openedi-element-id":"1428"},"InbondControlNumber_06":{"maxLength":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"603"},"StandardCarrierAlphaCode_07":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"BillofLadingWaybillNumber_08":{"maxLength":12,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"598"},"StandardCarrierAlphaCode_09":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"BillofLadingWaybillNumber_10":{"maxLength":12,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"598"},"StandardCarrierAlphaCode_11":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"StandardCarrierAlphaCode_12":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"Quantity_13":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"}},"x-openedi-syntax":["P0708","P0910"],"x-openedi-segment-id":"M21"},"X12_ID_128":{"enum":["01","02","03","04","05","06","07","08","09","0A","0B","0D","0E","0F","0G","0H","0I","0J","0K","0L","0M","0N","0P","10","11","12","13","14","15","16","17","18","19","1A","1B","1C","1D","1E","1F","1G","1H","1I","1J","1K","1L","1M","1N","1O","1P","1Q","1R","1S","1T","1U","1V","1W","1X","1Y","1Z","20","21","22","23","24","25","26","27","28","29","2A","2B","2C","2D","2E","2F","2G","2H","2I","2J","2K","2L","2M","2N","2O","2P","2Q","2R","2S","2T","2U","2V","2W","2X","2Y","2Z","30","31","32","33","34","35","36","37","38","39","3A","3B","3C","3D","3E","3F","3G","3H","3I","3J","3K","3L","3M","3N","3O","3P","3Q","3R","3S","3T","3U","3V","3W","3X","3Y","3Z","40","41","42","43","44","45","46","47","48","49","4A","4B","4C","4D","4E","4F","4G","4H","4I","4J","4K","4L","4M","4N","4O","4P","4Q","4R","4S","4T","4U","4V","4W","4X","4Y","4Z","50","51","52","53","54","55","56","57","58","59","5A","5B","5C","5D","5E","5F","5G","5H","5I","5J","5K","5L","5M","5N","5O","5P","5Q","5R","5S","5T","5U","5V","5W","5X","5Y","5Z","60","61","63","64","65","66","67","68","69","6A","6B","6C","6D","6E","6F","6G","6H","6I","6J","6K","6L","6M","6N","6O","6P","6Q","6R","6S","6T","6U","6V","6W","6X","6Y","6Z","70","71","72","73","74","75","76","77","78","79","7A","7B","7C","7D","7E","7F","7G","7H","7I","7J","7K","7L","7M","7N","7O","7P","7Q","7R","7S","7T","7U","7W","7X","7Y","7Z","80","81","82","83","84","85","86","87","88","89","8A","8B","8C","8D","8E","8F","8G","8H","8I","8J","8K","8L","8M","8N","8O","8P","8Q","8R","8S","8T","8U","8V","8W","8X","8Y","8Z","90","91","92","93","94","95","96","97","98","99","9A","9B","9C","9D","9E","9F","9G","9H","9I","9J","9M","9T","9V","9W","9X","9Y","9Z","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AAA","AAB","AAC","AAD","AAE","AB","ABF","ABG","ABN","ABO","AC","ACR","AD","ADA","AE","AF","AG","AH","AI","AJ","AK","AL","ALC","ALG","ALH","ALI","ALJ","ALT","AM","AN","AO","AP","AQ","AR","AS","ASP","AST","AT","ATC","AU","AV","AW","AX","AY","AZ","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BLT","BM","BN","BO","BOI","BP","BQ","BR","BS","BT","BU","BV","BW","BX","BY","BZ","C0","C1","C2","C3","C4","C5","C6","C7","C8","C9","CA","CB","CBG","CC","CD","CE","CF","CG","CH","CI","CIR","CJ","CK","CL","CM","CMN","CMP","CMT","CN","CNO","CO","CP","CPT","CQ","CR","CRN","CRS","CS","CSC","CSG","CST","CT","CTS","CU","CV","CW","CX","CY","CYC","CZ","D0","D1","D2","D3","D4","D5","D6","D7","D8","D9","DA","DB","DC","DD","DE","DF","DG","DH","DHH","DI","DJ","DK","DL","DM","DN","DNR","DNS","DO","DOA","DOC","DOE","DOI","DOJ","DOL","DOS","DOT","DP","DQ","DR","DS","DSC","DSI","DST","DT","DTS","DU","DUN","DV","DW","DX","DY","DZ","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EDA","EE","EF","EG","EH","EI","EJ","EK","EL","EM","EN","END","EO","EP","EPA","EPB","EQ","ER","ES","ESN","ET","EU","EV","EW","EX","EY","EZ","F1","F2","F3","F4","F5","F6","F7","F8","F9","FA","FB","FC","FCN","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FLZ","FM","FN","FND","FO","FP","FQ","FR","FS","FSN","FT","FTN","FU","FV","FW","FWC","FX","FY","FZ","G1","G2","G3","G4","G5","G6","G7","G8","G9","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GU","GV","GW","GWS","GX","GY","GZ","H1","H2","H3","H4","H5","H6","H7","H8","H9","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HMB","HN","HO","HP","HPI","HQ","HR","HS","HT","HU","HUD","HV","HW","HX","HY","HZ","I1","I2","I3","I4","I5","I7","I8","IA","IB","IC","ICD","ID","IE","IF","IFT","IG","IH","II","IID","IJ","IK","IL","IM","IMP","IMS","IN","IND","IO","IP","IQ","IR","IRN","IRP","IS","ISC","ISN","ISS","IT","IU","IV","IW","IX","IZ","J0","J1","J2","J3","J4","J5","J6","J7","J8","J9","JA","JB","JC","JD","JE","JH","JI","JK","JL","JM","JN","JO","JP","JQ","JR","JS","JT","JU","JV","JW","JX","JY","JZ","K0","K1","K2","K3","K4","K5","K6","K7","K8","K9","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KR","KS","KT","KU","KV","KW","KX","KY","KZ","L1","L2","L3","L4","L5","L6","L7","L8","L9","LA","LB","LC","LD","LE","LF","LG","LH","LI","LIC","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LSD","LT","LU","LV","LVO","LW","LX","LY","LZ","M1","M2","M3","M5","M6","M7","M8","M9","MA","MB","MBX","MC","MCI","MD","MDN","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MSL","MT","MU","MV","MW","MX","MY","MZ","N0","N1","N2","N3","N4","N5","N6","N7","N8","N9","NA","NAS","NB","NC","ND","NDA","NDB","NE","NF","NFC","NFD","NFM","NFN","NFS","NG","NH","NI","NJ","NK","NL","NM","NN","NO","NP","NQ","NR","NS","NT","NU","NW","NX","NY","NZ","O1","O2","O5","O7","O8","O9","OA","OB","OC","OD","OE","OF","OG","OH","OI","OJ","OK","OL","OM","ON","OP","OQ","OR","OS","OT","OU","OV","OW","OX","OZ","P1","P2","P3","P4","P5","P6","P7","P8","P9","PA","PAC","PAN","PAP","PB","PC","PCN","PD","PE","PF","PG","PGC","PGS","PH","PI","PID","PIN","PJ","PK","PL","PLA","PLN","PM","PMN","PN","PNN","PO","PP","PQ","PR","PRT","PS","PSI","PSL","PSM","PSN","PT","PTC","PU","PV","PW","PWC","PWS","PX","PY","PZ","Q1","Q2","Q3","Q4","Q5","Q6","Q7","Q8","Q9","QA","QB","QC","QD","QE","QF","QG","QH","QI","QJ","QK","QL","QM","QN","QO","QP","QQ","QR","QS","QT","QU","QV","QW","QX","QY","QZ","R0","R1","R2","R3","R4","R5","R6","R7","R8","R9","RA","RAA","RAN","RB","RC","RD","RE","REC","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RPP","RPT","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","S0","S1","S2","S3","S4","S5","S6","S7","S8","S9","SA","SB","SC","SD","SE","SEK","SES","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SPL","SPN","SQ","SR","SS","ST","STB","STR","SU","SUB","SV","SW","SX","SY","SZ","T0","T1","T2","T3","T4","T5","T6","T7","T8","T9","TA","TB","TC","TD","TDT","TE","TF","TG","TH","TI","TIP","TJ","TK","TL","TM","TN","TO","TOC","TP","TPN","TQ","TR","TS","TSN","TT","TU","TV","TW","TX","TY","TZ","U0","U1","U2","U3","U4","U5","U6","U8","U9","UA","UB","UC","UD","UE","UF","UG","UH","UI","UJ","UK","UL","UM","UN","UO","UP","UQ","UR","US","UT","UU","UV","UW","UX","UY","UZ","V0","V1","V2","V3","V4","V5","V6","V7","V8","V9","VA","VB","VC","VD","VE","VF","VG","VH","VI","VJ","VK","VL","VM","VN","VO","VP","VQ","VR","VS","VT","VU","VV","VW","VX","VY","VZ","W1","W2","W3","W4","W5","W6","W7","W8","W9","WA","WB","WC","WCS","WD","WE","WF","WG","WH","WI","WJ","WK","WL","WM","WN","WO","WP","WQ","WR","WS","WT","WU","WV","WW","WX","WY","WZ","X0","X1","X2","X3","X4","X5","X6","X7","X8","X9","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XL","XM","XN","XO","XP","XQ","XR","XS","XT","XU","XV","XW","XX","XY","XZ","Y0","Y1","Y2","Y3","Y4","Y5","Y6","Y7","Y8","Y9","YA","YB","YC","YD","YE","YF","YG","YH","YI","YJ","YK","YL","YM","YN","YO","YP","YQ","YR","YS","YT","YU","YV","YW","YX","YY","YZ","Z1","Z2","Z3","Z4","Z5","Z6","Z7","Z8","Z9","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZP","ZQ","ZR","ZS","ZT","ZU","ZV","ZW","ZX","ZY","ZZ"],"type":"string","format":"X12_ID_128"},"M12":{"required":["CustomsEntryTypeCode_01"],"type":"object","properties":{"CustomsEntryTypeCode_01":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"581"},"CustomsEntryNumber_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"601"},"LocationIdentifier_03":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"LocationIdentifier_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"},"CustomsShipmentValue_05":{"maxLength":8,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"602"},"InbondControlNumber_06":{"maxLength":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"603"},"StandardCarrierAlphaCode_07":{"maxLength":4,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"140"},"ReferenceIdentificationQualifier_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceIdentification_09":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"TransportationMethodTypeCode_10":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_91"}],"x-openedi-element-id":"91"},"VesselName_11":{"maxLength":28,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"182"}},"x-openedi-syntax":["E0206","C0608","P0809","P1011"],"x-openedi-segment-id":"M12"},"Loop_M21_357":{"required":["M12","M21"],"type":"object","properties":{"M21":{"$ref":"#/components/schemas/M21","description":"Supplementary In-Bond Information"},"M12":{"$ref":"#/components/schemas/M12","description":"In-bond Identifying Information"}},"x-openedi-loop-id":"M21"},"Loop_P4_357":{"required":["M21Loop","P4"],"type":"object","properties":{"P4":{"$ref":"#/components/schemas/P4","description":"U.S. Port Information"},"M21Loop":{"maxItems":999,"type":"array","items":{"$ref":"#/components/schemas/Loop_M21_357"}}},"x-openedi-loop-id":"P4"},"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"},"TS357":{"required":["M10","P4Loop"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"M10":{"$ref":"#/components/schemas/M10","description":"Manifest Identifying Information"},"P4Loop":{"maxItems":20,"type":"array","items":{"$ref":"#/components/schemas/Loop_P4_357"}},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"357","x-openedi-message-standard":"X12"}}}}