{"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_587":{"enum":["AC","AD","AE","AH","AK","AP","AT","NA","RD","RF","RJ","RO","ZZ"],"type":"string","format":"X12_ID_587"},"X12_ID_522":{"enum":["1","10","11","12","13","14","15","16","17","18","19","2","20","21","22","23","24","25","26","27","28","29","3","30","31","32","33","34","35","36","37","38","39","4","40","41","42","43","44","45","46","47","48","49","5","50","51","52","53","54","55","56","57","58","59","6","60","61","62","63","64","65","66","67","68","69","7","70","71","72","73","74","75","76","77","78","79","8","80","81","82","83","84","85","86","87","88","89","9","90","91","92","93","94","95","96","97","98","99","A","A1","A2","A3","A4","A5","A6","A7","A8","A9","AB","AC","AD","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","AU","AV","AW","AX","AY","AZ","B","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BB","BC","BD","BE","BF","BG","BH","BI","BJ","BK","BL","BM","BN","BO","BR","BS","BT","BU","BV","BW","BX","BY","BZ","C","C1","C2","C3","C4","C5","C6","C7","C8","C9","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CS","CT","D","D1","D2","D3","D4","D5","D6","D7","D8","DA","DB","DC","DD","DE","DF","DG","DH","DY","E","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EF","EP","F","F1","F2","F3","F4","F5","F6","F7","F8","F9","FC","FD","FI","FL","FM","FO","FP","H","I","I1","IB","IC","II","IP","IR","IU","J","K","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KS","KT","KU","KW","KX","KZ","L","L1","LC","LE","LI","LM","LN","LP","LW","LX","LY","LZ","M","M1","M2","MA","MB","MC","MN","MO","MP","MR","MS","N","N1","NA","NB","NC","ND","NF","NL","NO","NP","NQ","NR","NS","NY","OB","OL","OP","P","P1","P2","P3","P4","P5","P6","P7","P8","P9","PA","PB","PC","PE","PF","PG","PH","PI","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PW","PX","PY","PZ","Q","Q1","QN","RB","RC","RD","RH","RP","RR","RS","RT","RW","RZ","S","S1","S2","S3","S4","S5","S6","S7","SA","SB","SC","SE","SI","SM","SS","ST","T","T1","T2","T3","TA","TB","TC","TD","TE","TF","TG","TL","TM","TP","TS","TT","TX","TY","U2","UA","UB","UC","UG","UP","US","W","W1","W2","W3","W4","WK","X","Y1","Z1","Z2","Z3","ZA","ZB","ZC","ZD","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZN","ZO","ZZ"],"type":"string","format":"X12_ID_522"},"BTA":{"required":["AcknowledgmentType_01"],"type":"object","properties":{"AcknowledgmentType_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_587"}],"x-openedi-element-id":"587"},"Date_02":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"AmountQualifierCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_522"}],"x-openedi-element-id":"522"},"MonetaryAmount_04":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"}},"x-openedi-syntax":["P0304"],"x-openedi-segment-id":"BTA"},"X12_ID_128":{"enum":["01","02","03","04","05","06","07","08","09","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","25","27","28","29","2B","2D","2E","2F","2G","2H","2I","2U","30","31","33","34","35","36","37","38","39","3A","3B","3C","3D","3E","3F","3G","3H","3I","3J","3P","3S","3X","3Y","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","86","87","88","89","8A","8B","8C","90","91","92","93","95","96","97","98","99","9A","9B","9C","9D","9E","9F","A0","A1","A2","A3","A4","A5","A6","A7","A8","A9","AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","AT","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","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","D1","D2","D3","D4","D5","D6","D7","D8","D9","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DN","DO","DP","DQ","DR","DS","DT","DU","DV","DW","DX","DY","DZ","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","ED","EF","EG","EH","EI","EJ","EK","EL","EM","EN","EO","EP","EQ","ER","ES","ET","EU","EV","EW","EX","EY","EZ","F1","F2","F3","F4","F5","F6","F7","F8","F9","FA","FB","FC","FD","FE","FF","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FQ","FR","FS","FT","FU","FV","FW","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","GP","GQ","GR","GS","GT","GU","GV","GW","GX","GY","H1","H2","H3","HB","HC","HD","HE","HI","HN","HO","HP","HR","HS","HW","I2","IA","IB","IC","ID","IE","IF","IG","IH","II","IJ","IK","IL","IM","IN","IO","IP","IR","IS","IT","IU","IV","IW","IX","IZ","JA","JB","JE","JS","JY","K0","K1","K2","K3","K4","K5","K6","K7","K8","K9","KA","KB","KC","KE","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","LA","LB","LC","LD","LE","LF","LG","LH","LI","LJ","LK","LL","LM","LN","LO","LP","LQ","LR","LS","LT","LU","LV","LW","LY","LZ","M1","M2","M3","M4","M5","M6","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","N0","N1","N2","N3","N4","N5","N6","N7","N8","NA","NB","ND","NE","NF","NG","NH","NN","NO","NP","NR","NS","NX","NY","O5","OA","OB","OC","OD","OE","OI","OL","OM","ON","OP","OQ","OR","OS","OT","OW","OZ","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","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","R1","R2","R3","R4","R5","R6","R7","R8","R9","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RK","RL","RM","RN","RO","RP","RQ","RR","RS","RT","RU","RV","RW","RX","RY","RZ","S1","S2","S3","S4","S5","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","SZ","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","U1","U2","U3","UA","UB","UC","UD","UE","UF","UG","UH","UN","UP","UR","US","UT","V1","V3","VA","VB","VC","VD","VE","VF","VG","VN","VP","VR","VS","VT","VV","VX","W1","W2","W3","W4","W5","W6","W7","W8","W9","WC","WD","WF","WG","WM","WN","WO","WP","WR","WS","WY","X1","X2","X3","X4","X5","X6","X7","X8","X9","XA","XB","XC","XD","XE","XF","XG","XH","XI","XJ","XK","XM","XN","XP","XT","XX","Y1","Y2","Y3","Y4","Y9","YA","YS","Z1","Z2","Z3","Z4","Z5","Z6","Z7","Z8","Z9","ZA","ZB","ZC","ZE","ZF","ZG","ZH","ZI","ZJ","ZK","ZL","ZM","ZO","ZR","ZS","ZZ"],"type":"string","format":"X12_ID_128"},"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","53","54","55","56","57","6","61","62","63","7","71","72","73","74","75","76","77","78","8","81","82","9","91","92","93","94","95","96","97","98","A1","A2","AA","AC","AD","AE","AL","AP","BC","BD","BE","BG","BS","C","C1","C2","CC","CD","CI","CL","CP","CS","DG","DL","DN","DS","EH","EI","FA","FI","FJ","GA","GC","HN","LI","LN","M3","M4","MB","MC","MD","MI","MK","MP","MR","N","NI","OC","PA","PC","PI","PP","SA","SD","SI","SJ","SL","SP","ST","UP","US","ZN","ZY","ZZ"],"type":"string","format":"X12_ID_66"},"BTI":{"required":["IdentificationCode_04","IdentificationCodeQualifier_03","ReferenceNumber_02","ReferenceNumberQualifier_01"],"type":"object","properties":{"ReferenceNumberQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"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"},"Date_05":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"NameControlIdentifier_06":{"maxLength":4,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"818"},"IdentificationCodeQualifier_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_66"}],"x-openedi-element-id":"66"},"IdentificationCode_08":{"maxLength":17,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"67"},"IdentificationCodeQualifier_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_66"}],"x-openedi-element-id":"66"},"IdentificationCode_10":{"maxLength":17,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"67"},"IdentificationCodeQualifier_11":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_66"}],"x-openedi-element-id":"66"},"IdentificationCode_12":{"maxLength":17,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"67"}},"x-openedi-syntax":["P0708","P0910","P1112"],"x-openedi-segment-id":"BTI"},"REF":{"required":["ReferenceNumberQualifier_01"],"type":"object","properties":{"ReferenceNumberQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"Description_03":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"352"}},"x-openedi-syntax":["R0203"],"x-openedi-segment-id":"REF"},"X12_ID_306":{"enum":["1","15","2","3","4","5","51","6","7","8","9","A","AC","AD","AI","AV","AW","AX","BO","C","CO","CT","D","DC","DP","DS","E","ER","EX","F","FR","H","I","IN","K","KA","L","LC","M","N","NA","ND","O","OR","P","PF","PI","Q","R","R2","R3","R4","R5","RC","RE","RF","RO","RS","T","U","V","W","W1","WQ","Z"],"type":"string","format":"X12_ID_306"},"PBI":{"type":"object","properties":{"ReferenceNumber_01":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"ActionCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_306"}],"x-openedi-element-id":"306"},"FreeFormMessageText_03":{"maxLength":264,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"933"},"TaxInformationIdentificationNumber_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"817"},"Quantity_05":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"FixedFormatInformation_06":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"449"},"Quantity_07":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"FixedFormatInformation_08":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"449"}},"x-openedi-syntax":["R0102","E0506","E0708"],"x-openedi-segment-id":"PBI"},"TFS":{"required":["ReferenceNumber_02","ReferenceNumberQualifier_01"],"type":"object","properties":{"ReferenceNumberQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"ReferenceNumberQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"IdentificationCodeQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_66"}],"x-openedi-element-id":"66"},"IdentificationCode_06":{"maxLength":17,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"67"},"Date_07":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"NameControlIdentifier_08":{"maxLength":4,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"818"}},"x-openedi-syntax":["P0304","P0506"],"x-openedi-segment-id":"TFS"},"FGS":{"required":["AssignedIdentification_01"],"type":"object","properties":{"AssignedIdentification_01":{"maxLength":11,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"350"},"ReferenceNumberQualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_03":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"}},"x-openedi-syntax":["P0203"],"x-openedi-segment-id":"FGS"},"Loop_FGS_151":{"required":["FGS"],"type":"object","properties":{"FGS":{"$ref":"#/components/schemas/FGS","description":"Form Group"},"PBI":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/PBI"},"description":"Problem Identification"}},"x-openedi-loop-id":"FGS"},"Loop_TFS_151":{"required":["TFS"],"type":"object","properties":{"TFS":{"$ref":"#/components/schemas/TFS","description":"Tax Form"},"REF":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"PBI":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/PBI"},"description":"Problem Identification"},"FGSLoop":{"maxItems":100000,"type":"array","items":{"$ref":"#/components/schemas/Loop_FGS_151"}}},"x-openedi-loop-id":"TFS"},"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"},"TS151":{"required":["BTA","BTI"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"BTA":{"$ref":"#/components/schemas/BTA","description":"Beginning Tax Acknowledgment"},"BTI":{"$ref":"#/components/schemas/BTI","description":"Beginning Tax Information"},"REF":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"PBI":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/PBI"},"description":"Problem Identification"},"TFSLoop":{"maxItems":100000,"type":"array","items":{"$ref":"#/components/schemas/Loop_TFS_151"}},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"151","x-openedi-message-standard":"X12"}}}}