{"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"},"X12_ID_98":{"enum":["11","AA","AB","AC","AD","AE","AG","AI","AK","AL","AO","AP","AQ","BF","BG","BK","BL","BN","BO","BS","BT","BW","BY","C1","C2","CA","CB","CC","CD","CE","CF","CG","CH","CI","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CV","DA","DB","DC","DE","DF","DL","DP","DR","DS","DT","DU","EB","EC","EE","EM","EN","EP","EX","FB","FH","FR","FW","IA","IC","II","IK","IM","IN","IS","IT","LB","LN","LP","MA","MC","MF","MI","MP","MQ","N1","N2","ND","OB","OC","OI","OO","OP","OR","OT","OV","OW","PA","PB","PC","PD","PE","PF","PG","PH","PI","PJ","PK","PL","PM","PN","PO","PP","PQ","PR","PS","PT","PU","PV","PW","QR","RA","RB","RC","RE","RF","RG","RH","RI","RL","RM","RP","RQ","RR","RS","SA","SB","SC","SD","SE","SF","SG","SH","SI","SM","SN","SO","SP","SR","SS","ST","SU","SW","TC","TF","TI","TO","TR","TS","TT","UC","UP","VN","WF","WH","ZZ"],"type":"string","format":"X12_ID_98"},"X12_ID_66":{"enum":["1","10","11","12","13","14","15","16","18","19","2","20","21","22","23","24","25","26","27","28","3","30","31","32","33","34","35","38","4","5","6","7","8","9","91","92","93","94","AA","ST","ZZ"],"type":"string","format":"X12_ID_66"},"X12_ID_128":{"enum":["01","02","03","04","05","52","53","54","61","62","63","64","65","A1","AA","AB","AC","AD","AE","AF","AG","AH","AI","AK","AL","AM","AN","AO","AP","AR","AS","AT","AU","AW","AX","BC","BD","BG","BI","BJ","BK","BL","BM","BN","BO","BR","BS","BT","BU","C1","C2","C3","C4","C5","C6","C7","C8","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CW","CX","CY","D1","D2","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","FC","FD","FE","FI","FN","FP","FR","FS","FT","GB","GC","GE","GG","GP","GR","GS","HB","HC","HD","HE","HI","HN","HO","HP","HS","HW","IA","IB","IC","ID","IE","IF","IG","II","IL","IM","IN","IO","IP","IR","IS","IT","IV","IX","JA","JB","JE","JS","KB","KE","LA","LB","LC","LD","LF","LI","LM","LN","LO","LP","LS","LT","LV","LW","M1","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MN","MO","MP","MQ","MR","MS","MT","MU","MY","NA","NB","NC","ND","NG","NN","NP","NR","NS","NX","OB","OC","OI","OM","ON","OP","OR","OS","OT","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","QA","QB","QC","QD","QE","QF","QI","QM","QN","QR","R8","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","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","TA","TB","TC","TF","TG","TH","TI","TJ","TK","TL","TM","TN","TO","TP","TQ","TR","TS","TT","TX","UB","UD","UG","UN","UP","US","UT","VA","VB","VC","VD","VM","VN","VP","VR","VS","VT","VV","VX","WM","WN","WR","WS","WY","XC","XP","ZA","ZB","ZC","ZZ"],"type":"string","format":"X12_ID_128"},"TRN":{"required":["EntityIdentifierCode_02","IdentificationCode_04","IdentificationCodeQualifier_03","TraceTypeCode_01"],"type":"object","properties":{"TraceTypeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_481"}],"x-openedi-element-id":"481"},"EntityIdentifierCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_98"}],"x-openedi-element-id":"98"},"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"},"ReferenceNumber_05":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"ApplicationBatchIdentifier_06":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"957"},"ApplicationItemIdentifier_07":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"958"},"ReferenceNumberQualifier_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_09":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"}},"x-openedi-syntax":["P0809"],"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","164","165","166","167","168","169","170","171","172","173","174","175","176","177","178","179","180","181","182","183","184","188","189","190","191","192"],"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":4,"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"}},"x-openedi-syntax":["R0203"],"x-openedi-segment-id":"DTM"},"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","AJ"],"type":"string","format":"X12_ID_673"},"X12_ID_355":{"enum":["01","02","03","04","05","08","10","11","12","13","14","15","24","26","27","31","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","AA","AB","AC","AE","AM","AP","AS","AY","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","DA","DB","DC","DD","DE","DF","DG","DH","DI","DJ","DK","DL","DM","DO","DP","DR","DS","DT","DZ","E3","E4","E5","E7","E8","E9","EA","ED","EF","EM","EP","EV","EX","EY","EZ","FA","FB","FC","FL","FM","FO","FP","FT","GA","GB","GD","GG","GH","GI","GL","GM","GN","GR","GS","GY","GZ","HA","HB","HC","HD","HE","HF","HG","HH","HI","HJ","HK","HL","HM","HO","HR","HS","HT","HU","HV","HW","HY","HZ","IC","IM","IN","IT","JB","JO","JR","JU","KA","KD","KE","KG","KH","KI","KK","KL","KM","KN","KP","KT","KV","KW","LA","LB","LC","LE","LF","LG","LH","LI","LJ","LK","LM","LN","LO","LP","LR","LS","LT","LY","M1","M2","M3","M4","M5","M7","M8","MA","MB","MC","ME","MF","MG","MH","MI","MJ","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NB","NC","ND","NE","NG","NI","NL","NM","NN","NS","NT","NV","OA","ON","OP","OT","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","QD","QR","QS","QT","QU","RA","RD","RE","RG","RK","RL","RM","RN","RO","RP","RU","S2","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","T1","T2","T3","T4","T5","T6","T7","T8","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","UN","VA","VI","VT","WA","WB","WE","WG","WH","WI","WK","WP","WR","WT","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":10,"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","2","3","4","5","6","7","8","9","A","AC","AD","AL","BC","BT","CB","CC","CH","FL","FP","IB","LI","NA","NC","NF","NL","NP","NY","OP","PA","PC","PL","QN","S","SC","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"}}}}