{"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","AL","AM","AO","AP","AQ","AS","AT","AU","AV","AW","AX","B","B1","B2","B3","B4","B5","B6","B7","B8","B9","BA","BC","BD","BT","C","C1","C2","C3","C4","C5","C6","C7","C8","C9","CB","CC","CH","CL","CM","CS","CT","D1","D2","D3","D4","D5","D6","D7","D8","DD","E","E1","E2","E3","E4","E5","E6","E7","E8","E9","EA","EB","EC","ED","EF","EP","F1","F2","F3","F4","F5","F6","F7","F8","F9","FC","FD","FI","FL","FM","FO","FP","I","I1","IB","IC","II","IP","IU","KA","KB","KC","KD","KE","L","L1","LC","LE","LI","LP","M1","M2","MA","MB","MC","MO","MP","MR","N","N1","NA","NB","NC","NF","NL","NO","NP","NS","NY","OB","OL","OP","P","P1","P2","P3","P4","P5","P6","P7","P8","PA","PB","PC","PE","PL","PO","QN","RC","RR","RS","S","S1","S2","S3","S4","S5","S6","S7","SC","SE","SI","ST","T","T1","T2","T3","TA","TB","TC","TD","TE","TF","TG","TL","TM","TP","TS","TT","U2","UA","UB","UG","UP","US","W1","W2","W3","W4","Y1","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","30","31","32","33","34","35","36","37","38","39","3P","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","90","91","92","93","95","96","97","98","99","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","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","EY","EZ","F1","F2","F3","F4","F5","F6","F7","F8","FA","FB","FC","FD","FE","FG","FH","FI","FJ","FK","FL","FM","FN","FO","FP","FR","FS","FT","FU","FV","FW","FX","FY","G1","G2","G3","G4","G5","G6","G7","G8","G9","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GM","GN","GP","GR","GS","GT","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","K1","K2","K3","K4","K8","K9","KB","KE","KG","KH","KI","KJ","KM","KN","KO","KP","KR","KS","KT","KU","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","LZ","M1","M2","M3","M4","M5","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MY","N0","N1","N2","N3","N4","NA","NB","NC","ND","NE","NF","NG","NN","NO","NP","NR","NS","NX","O5","OA","OB","OC","OD","OI","OL","OM","ON","OP","OQ","OR","OS","OT","OW","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","UB","UD","UG","UN","UP","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","WM","WN","WO","WP","WR","WS","WY","X9","XA","XB","XC","XD","XE","XF","XG","XH","XP","XT","XX","Z1","Z2","Z3","Z4","Z5","Z6","Z7","ZA","ZB","ZC","ZE","ZM","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","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"},"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","2","3","4","5","6","7","8","9","A","AD","AI","AV","AW","AX","BO","C","D","DC","DP","DS","E","H","I","K","KA","L","LC","M","N","O","OR","P","Q","R","R2","R3","R4","R5","RC","RE","RF","RO","T","U","V","W","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"}}}}