{"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_591":{"enum":["ACC","ACH","ACK","ADA","ADB","ADC","ADD","ASA","ASB","ASC","ASD","BKC","BKD","BKW","BOP","CCD","CHK","CTP","CTX","CWT","DCC","DCD","DPC","DPD","DXC","DXD","DZC","DZD","FEW","FWT","LOC","NON","PAC","PBC","PBD","PDC","PDD","PPD","PRO","REV","SCC","SCD","SDC","SDD","SPC","SPD","SWT","SXC","SXD","SZC","SZD","WRD","WRT","X12","ZZZ"],"type":"string","format":"X12_ID_591"},"X12_ID_506":{"enum":["01","02","03","04","ZZ"],"type":"string","format":"X12_ID_506"},"BAU":{"required":["AccountNumber_05","DFIIdentificationNumber_04","DFIIDNumberQualifier_03","PaymentMethodCode_02","ReferenceNumber_01"],"type":"object","properties":{"ReferenceNumber_01":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"PaymentMethodCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_591"}],"x-openedi-element-id":"591"},"DFIIDNumberQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_506"}],"x-openedi-element-id":"506"},"DFIIdentificationNumber_04":{"maxLength":12,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"507"},"AccountNumber_05":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"NameCharacterFormat_06":{"maxLength":30,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"459"}},"x-openedi-segment-id":"BAU"},"X12_ID_366":{"enum":["AA","AC","AD","AF","AG","AH","AP","AR","AT","AU","BC","BD","BI","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CK","CL","CM","CN","CO","CR","CS","CW","DA","DC","DE","DI","DV","EA","EB","EC","ED","EF","EG","EM","EN","EX","FC","HM","IC","IO","MA","ME","MG","NA","NC","NP","NT","OC","OD","PA","PB","PE","PL","PM","PR","PU","QA","QC","QI","QM","RA","RC","RD","RE","SA","SC","SD","SH","SR","SU","TA","TD","TR","UP","VP","WH","WR","ZZ"],"type":"string","format":"X12_ID_366"},"X12_ID_365":{"enum":["AU","CP","ED","EM","FT","FX","HP","IT","PS","TE","TL","TM","TX","WP"],"type":"string","format":"X12_ID_365"},"PER":{"required":["ContactFunctionCode_01"],"type":"object","properties":{"ContactFunctionCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_366"}],"x-openedi-element-id":"366"},"Name_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"},"CommunicationNumberQualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_365"}],"x-openedi-element-id":"365"},"CommunicationNumber_04":{"maxLength":25,"minLength":7,"type":"string","format":"X12_AN","x-openedi-element-id":"364"}},"x-openedi-syntax":["P0304"],"x-openedi-segment-id":"PER"},"X12_ID_306":{"enum":["1","2","3","4","5","6","7","8","9","A","D","E","H","K","L","M","N","O","P","Q","R"],"type":"string","format":"X12_ID_306"},"X12_ID_305":{"enum":["A","B","C","D","E","F","G","H","I","J","K","L","M","N","O","P","Q","R","S","U","X","Z"],"type":"string","format":"X12_ID_305"},"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"},"X12_ID_594":{"enum":["1","2","3","4","5","6","7","9"],"type":"string","format":"X12_ID_594"},"DAD":{"required":["ActionCode_01","Date_03","TransactionHandlingCode_02"],"type":"object","properties":{"ActionCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_306"}],"x-openedi-element-id":"306"},"TransactionHandlingCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_305"}],"x-openedi-element-id":"305"},"Date_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Date_04":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"OriginatingCompanyIdentifier_05":{"maxLength":10,"minLength":10,"type":"string","format":"X12_AN","x-openedi-element-id":"509"},"OriginatingCompanySupplementalCode_06":{"maxLength":9,"minLength":9,"type":"string","format":"X12_AN","x-openedi-element-id":"510"},"AmountQualifierCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_522"}],"x-openedi-element-id":"522"},"MonetaryAmount_08":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"ReferenceNumber_09":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"ReferenceNumber_10":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"DFIIDNumberQualifier_11":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_506"}],"x-openedi-element-id":"506"},"DFIIdentificationNumber_12":{"maxLength":12,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"507"},"AccountNumber_13":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"NumberofDays_14":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"607"},"FrequencyCode_15":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_594"}],"x-openedi-element-id":"594"}},"x-openedi-syntax":["P0708","C1009","P1112"],"x-openedi-segment-id":"DAD"},"X12_ID_98":{"enum":["01","02","03","04","05","06","07","08","09","10","11","12","13","14","15","16","17","18","19","1P","20","21","22","23","24","25","26","27","28","29","30","31","32","33","34","35","36","37","38","39","AA","AB","AC","AD","AE","AF","AG","AI","AK","AL","AO","AP","AQ","AR","BF","BG","BK","BL","BN","BO","BS","BT","BU","BW","BY","C1","C2","C3","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","DM","DP","DR","DS","DT","DU","DV","EB","EC","EE","EM","EN","EP","EX","FB","FH","FR","FS","FW","GP","IA","IC","II","IK","IL","IM","IN","IS","IT","IU","LB","LC","LE","LG","LL","LN","LO","LP","LS","M1","M2","M3","M4","M6","M7","M8","MA","MB","MC","MD","ME","MF","MG","MH","MI","MJ","MK","ML","MP","MQ","N1","N2","ND","NP","OB","OC","OI","OM","OO","OP","OR","OT","OU","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","PY","PZ","QR","RA","RB","RC","RD","RE","RF","RG","RH","RI","RJ","RL","RM","RO","RP","RQ","RR","RS","RU","RY","S1","S2","SA","SB","SC","SD","SE","SF","SG","SH","SI","SJ","SM","SN","SO","SP","SR","SS","ST","SU","SW","T1","T2","TC","TF","TH","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","29","3","30","31","32","33","34","35","36","38","39","4","40","41","42","5","6","7","8","9","91","92","93","94","95","96","AA","ST","ZZ"],"type":"string","format":"X12_ID_66"},"N1":{"required":["EntityIdentifierCode_01"],"type":"object","properties":{"EntityIdentifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_98"}],"x-openedi-element-id":"98"},"Name_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"},"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"}},"x-openedi-syntax":["R0203","P0304"],"x-openedi-segment-id":"N1"},"N2":{"required":["Name_01"],"type":"object","properties":{"Name_01":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"},"Name_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"93"}},"x-openedi-segment-id":"N2"},"N3":{"required":["AddressInformation_01"],"type":"object","properties":{"AddressInformation_01":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"166"},"AddressInformation_02":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"166"}},"x-openedi-segment-id":"N3"},"X12_ID_309":{"enum":["AC","AR","BS","CA","CC","CD","CI","CL","CO","CS","CY","D","DC","DE","FA","FE","FF","FI","FV","IM","IP","K","MI","NS","OA","OL","OP","OR","OV","PA","PE","PL","PP","PQ","PR","PS","PT","PU","RL","RS","RT","SB","SC","SL","SN","SP","SW","TC","TL","TN","TR","TX","UR","VS","W","WH","ZZ"],"type":"string","format":"X12_ID_309"},"N4":{"type":"object","properties":{"CityName_01":{"maxLength":19,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"19"},"StateorProvinceCode_02":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"156"},"PostalCode_03":{"maxLength":9,"minLength":4,"type":"string","format":"X12_AN","x-openedi-element-id":"116"},"CountryCode_04":{"maxLength":2,"minLength":2,"type":"string","format":"X12_AN","x-openedi-element-id":"26"},"LocationQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_309"}],"x-openedi-element-id":"309"},"LocationIdentifier_06":{"maxLength":25,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"310"}},"x-openedi-syntax":["R0105","P0506"],"x-openedi-segment-id":"N4"},"Loop_N1_828":{"required":["N1"],"type":"object","properties":{"N1":{"$ref":"#/components/schemas/N1","description":"Name"},"N2":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/N2"},"description":"Additional Name Information"},"N3":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/N3"},"description":"Address Information"},"N4":{"$ref":"#/components/schemas/N4","description":"Geographic Location"}},"x-openedi-loop-id":"N1"},"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"},"CTT":{"required":["NumberofLineItems_01"],"type":"object","properties":{"NumberofLineItems_01":{"maxLength":6,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"354"},"HashTotal_02":{"maxLength":10,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"347"},"Weight_03":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"81"},"UnitofMeasurementCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Volume_05":{"maxLength":8,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"183"},"UnitofMeasurementCode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_355"}],"x-openedi-element-id":"355"},"Description_07":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"352"}},"x-openedi-syntax":["C0304","C0506"],"x-openedi-segment-id":"CTT"},"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"},"TS828":{"required":["BAU","CTT","DAD"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"BAU":{"$ref":"#/components/schemas/BAU","description":"Beginning Segment for the Debit Authorization"},"PER":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/PER"},"description":"Administrative Communications Contact"},"DAD":{"maxItems":999990,"type":"array","items":{"$ref":"#/components/schemas/DAD"},"description":"Debit Authorization Detail"},"N1Loop":{"$ref":"#/components/schemas/Loop_N1_828"},"CTT":{"$ref":"#/components/schemas/CTT","description":"Transaction Totals"},"AMT":{"$ref":"#/components/schemas/AMT","description":"Monetary Amount"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"828","x-openedi-message-standard":"X12"}}}}