{"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_647":{"enum":["001","002","003","004","005","006","007","008","009","010","011","012","024","036","500","801","802","803","804","805","806","807","808","809","810","811","812","813","814","815","817","818","819","820","821","822","823","824","825","826","827","828","829","830","831","832","833","834","847","A","ASA","ASV","AVE","B","C","CAL","COV","CUR","D","DBL","DDT","DRC","DTE","DUP","E","F","G","H","I","ICA","ICG","IDC","IMD","INC","INF","IPR","J","K","LOC","MBL","NAU","NCL","NCR","NDP","NDT","NIF","NOD","NRA","OTH","PND","PPD","PRM","QTY","RAT","RTE","SCA","SCD","SEV","SPL","STR","TRN","TYP","UAU","UCN","UKN","UNV","VIN","VND","VOS","ZDS","ZZZ"],"type":"string","format":"X12_ID_647"},"X12_ID_478":{"enum":["C","D"],"type":"string","format":"X12_ID_478"},"RIC":{"required":["ApplicationErrorConditionCode_01","CreditDebitFlagCode_03","MonetaryAmount_02"],"type":"object","properties":{"ApplicationErrorConditionCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_647"}],"x-openedi-element-id":"647"},"MonetaryAmount_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"CreditDebitFlagCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_478"}],"x-openedi-element-id":"478"},"AccountNumber_04":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"}},"x-openedi-segment-id":"RIC"},"X12_ID_481":{"enum":["1","2","3"],"type":"string","format":"X12_ID_481"},"TRN":{"required":["ReferenceNumber_02","TraceTypeCode_01"],"type":"object","properties":{"TraceTypeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_481"}],"x-openedi-element-id":"481"},"ReferenceNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"OriginatingCompanyIdentifier_03":{"maxLength":10,"minLength":10,"type":"string","format":"X12_AN","x-openedi-element-id":"509"},"ReferenceNumber_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"}},"x-openedi-segment-id":"TRN"},"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"},"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_374":{"enum":["001","002","003","004","005","006","007","008","009","010","011","012","013","014","015","016","017","018","019","020","021","022","023","024","025","026","027","028","029","030","031","032","033","034","035","036","037","038","039","040","041","042","043","044","045","046","047","048","049","050","051","052","053","054","055","056","057","058","059","060","061","062","063","064","065","066","067","068","069","070","071","072","073","074","075","076","077","078","079","080","081","082","083","084","085","086","087","088","089","090","091","092","093","094","095","096","097","098","099","100","101","102","103","104","105","106","107","108","109","110","111","112","113","114","115","116","118","119","120","121","122","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","141","142","143","144","145","146","147","148","149","150","151","152","153","154","155","156","157","158","159","160","161","162","163","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","185","186","187","188","189","190","191","192","193","194","195","196","197","198","199","200","201","202","203","204","206","207","208","209","210","211","212","213","214","215","216","217","218","219","220","221","222","223","224","225","226","227","228","229","230","231","232","233","234","235","236","237","238","239","240","241","242","243","244","245","246","247","248","249","250","251","252","253","254","255","256","257","258","259","260","261","262","263","264","265","266","267","268","269","270","271","272","273","274","275","276","277","278","279","280","281","282","283","284","285","286","287","288","289","290","291","292","293","294","295","296","297","298","299","300","301","302","303","304","305","306","307","309","310","311","312","313","314","315","316","317","319","320","321","322","323","324","327","328","329","330","331","332","333","334","335","336","337","338","339","340","341","342","343","344","345","346","347","348","349","350","351","352","353","354","355","356","357","358","359","360","361","362","363","364","365","366","367","368","369","370","371","372","373","374","375","376","377","378","379","380","381","382","383","384","385","386","387","388","389","390","391","392","393","394","395","396","397","398","399","400","401","402","403","404","405","406","408","409","410","411","412","413","414","415","416","417","418","419","420","421","422","423","424","425","426","427","428","429","430","431","432","434","435","436","437","438","439","440","441","442","443","444","445","446","447","448","449","450","451","452","453","454","455","456","457","458","459","460","461","462","463","464","465","466","467","468","469","470","471","472","473","474","475","476","477","478","479","480","481","482","483","484","485","486","487","488","489","490","491","492","493","494","495","496","497","498","499","500","501","502","503","504","505","506","507","508","509","510","511","512","513","514","515","516","517","518","519","520","521","522","523","524","525","526","527","528","529","531","532","533","534","535","536","537","538","539","540","541","542","543","544","545","546","547","548","549","550","551","552","553","554","555","556","557","558","559","560","561","562","563","564","565","566","567","568","569","570","571","572","573","574","575","576","577","578","579","580","581","582","583","584","585","586","587","589","590","591","592","593","594","595","596","597","598","600","601","602","700","701","702","703","704","706","993","994","996","997","ZZZ"],"type":"string","format":"X12_ID_374"},"X12_ID_623":{"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","CD","CS","CT","ED","ES","ET","GM","LT","MD","MS","MT","PD","PS","PT","UT"],"type":"string","format":"X12_ID_623"},"X12_ID_1250":{"enum":["CC","CM","CY","D6","D8","DD","DT","MD","ME","MM","RD2","RD4","RD6","RD8","RDM","RDT","RMD","RTM","TM","TS","YM","YY"],"type":"string","format":"X12_ID_1250"},"DTM":{"required":["DateTimeQualifier_01"],"type":"object","properties":{"DateTimeQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_02":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_03":{"maxLength":8,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"TimeCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_623"}],"x-openedi-element-id":"623"},"Century_05":{"maxLength":2,"minLength":2,"type":"string","format":"X12_N0","x-openedi-element-id":"624"},"DateTimePeriodFormatQualifier_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_1250"}],"x-openedi-element-id":"1250"},"DateTimePeriod_07":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"1251"}},"x-openedi-syntax":["R020306","P0607"],"x-openedi-segment-id":"DTM"},"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"},"TS827":{"required":["RIC"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"RIC":{"$ref":"#/components/schemas/RIC","description":"Financial Return"},"TRN":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/TRN"},"description":"Trace"},"REF":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"827","x-openedi-message-standard":"X12"}}}}