{"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_959":{"enum":["CAN","IND"],"type":"string","format":"X12_ID_959"},"PCR":{"required":["MonetaryAmount_02","PaymentCancellationType_01"],"type":"object","properties":{"PaymentCancellationType_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_959"}],"x-openedi-element-id":"959"},"MonetaryAmount_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"}},"x-openedi-segment-id":"PCR"},"X12_ID_481":{"enum":["1","2"],"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_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","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","119","120","121","122","124","125","126","127","128","129","130","131","132","133","134","135","136","137","138","139","140","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","204","206","207","208","209","210","211","212","213","214","215","216","217","218","219","222","223","224","225","226","227","228","229","230","231","232","233","234","235"],"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"},"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":6,"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"}},"x-openedi-syntax":["R0203"],"x-openedi-segment-id":"DTM"},"X12_ID_128":{"enum":["01","02","03","04","05","06","07","09","10","11","12","13","14","15","1A","1B","1C","1D","1E","1F","1G","1H","1J","1K","1L","1N","1S","1T","1U","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","43","44","45","46","47","51","52","53","54","61","62","63","64","65","95","96","A1","A3","AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AR","AS","AT","AU","AW","AX","AY","B1","B4","BC","BD","BG","BH","BI","BJ","BK","BL","BM","BN","BO","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","D4","D5","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DN","DO","DP","DQ","DR","DS","DT","DV","DW","DX","DY","EB","ED","EF","EG","EI","EL","EM","EN","EP","EQ","ER","ES","ET","EU","EZ","FA","FB","FC","FD","FE","FG","FI","FK","FM","FN","FP","FR","FS","FT","FU","FX","GA","GB","GC","GE","GG","GP","GR","GS","GT","HB","HC","HD","HE","HI","HN","HO","HP","HS","HW","I2","IA","IB","IC","ID","IE","IF","IG","II","IL","IM","IN","IO","IP","IR","IS","IT","IV","IX","JA","JB","JE","JS","KB","KE","KG","KH","KI","KJ","KM","L1","LA","LB","LC","LD","LF","LG","LI","LM","LN","LO","LP","LS","LT","LV","LW","M1","M2","M4","M5","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MY","N0","NA","NB","NC","ND","NG","NN","NO","NP","NR","NS","NX","O5","OB","OC","OI","OM","ON","OP","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","QA","QB","QC","QD","QE","QF","QI","QM","QN","QR","QY","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","S6","S7","S8","S9","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SP","SQ","SR","SS","ST","SV","SW","SX","SY","SZ","T1","T2","T3","T4","T5","TA","TB","TC","TE","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TX","UB","UD","UG","UN","UP","US","UT","V1","V3","VA","VB","VC","VD","VN","VP","VR","VS","VT","VV","VX","WM","WN","WO","WP","WR","WS","WY","XC","XP","XX","ZA","ZB","ZC","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_673":{"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","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","42","45","46","47","48","49","50","51","52","53","54","55","56","57","58","60","61","62","63","64","65","66","67","68","69","70","72","73","74","75","76","77","78","79","80","81","82","83","84","85","86","87","88","89","90","91","92","93","94","95","96","97","98","99","AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AO","AP","BQ","CG","CI","CL","CO","CW","DO","DP","GI","GL","GV","IQ","LI","LP","LV","MQ","PB","WV"],"type":"string","format":"X12_ID_673"},"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","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","40","41","43","44","45","46","47","48","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","AA","AB","AC","AD","AE","AL","AM","AP","AS","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","D8","D9","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DO","DP","DQ","DR","DS","DT","DY","DZ","E3","E4","E5","E7","E8","E9","EA","EB","ED","EF","EM","EP","EQ","EV","EX","EY","EZ","F9","FA","FB","FC","FD","FE","FL","FM","FO","FP","FT","GA","GB","GC","GD","GE","GF","GG","GH","GI","GJ","GK","GL","GM","GN","GO","GP","GQ","GR","GS","GT","GY","GZ","H1","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HN","HO","HR","HS","HT","HU","HV","HW","HY","HZ","IC","IL","IM","IN","IP","IT","JB","JO","JR","JU","K1","K2","K3","KA","KB","KC","KD","KE","KF","KG","KH","KI","KJ","KK","KL","KM","KN","KO","KP","KQ","KT","KV","KW","KX","LA","LB","LC","LE","LF","LG","LH","LI","LJ","LK","LM","LN","LO","LP","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","NA","NB","NC","ND","NE","NF","NG","NH","NI","NJ","NL","NM","NN","NS","NT","NV","NW","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","QA","QB","QD","QH","QR","QS","QT","QU","RA","RD","RE","RG","RK","RL","RM","RN","RO","RP","RS","RT","RU","S2","S3","S4","S6","S7","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","UA","UB","UC","UD","UE","UF","UN","VA","VI","VT","WA","WB","WE","WG","WH","WI","WK","WP","WR","WT","WW","YD","YL","YR","YT","ZZ"],"type":"string","format":"X12_ID_355"},"QTY":{"required":["Quantity_02","QuantityQualifier_01"],"type":"object","properties":{"QuantityQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_673"}],"x-openedi-element-id":"673"},"Quantity_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"UnitofMeasurementCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"}},"x-openedi-segment-id":"QTY"},"X12_ID_522":{"enum":["1","10","11","12","13","14","15","16","17","18","19","2","20","21","22","23","24","25","3","4","5","6","7","8","9","91","A","A1","A2","A3","A4","AB","AC","AD","AF","AL","AM","AP","BA","BC","BT","CB","CC","CH","EA","EB","EC","FL","FM","FO","FP","IB","LC","LI","LP","MA","NA","NB","NC","NF","NL","NP","NS","NY","OP","PA","PB","PC","PL","QN","RR","RS","S","SC","SE","TA","TB","TP","TT"],"type":"string","format":"X12_ID_522"},"AMT":{"required":["AmountQualifierCode_01","MonetaryAmount_02"],"type":"object","properties":{"AmountQualifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_522"}],"x-openedi-element-id":"522"},"MonetaryAmount_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"}},"x-openedi-segment-id":"AMT"},"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"},"TS829":{"required":["DTM","PCR"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"PCR":{"$ref":"#/components/schemas/PCR","description":"Payment Cancellation Request"},"TRN":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/TRN"},"description":"Trace"},"DTM":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"REF":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"QTY":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/QTY"},"description":"Quantity"},"AMT":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/AMT"},"description":"Monetary Amount"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"829","x-openedi-message-standard":"X12"}}}}