{"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_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"},"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"},"X12_ID_506":{"enum":["01","02","03","04","ZZ"],"type":"string","format":"X12_ID_506"},"X12_ID_896":{"enum":["DA","SG"],"type":"string","format":"X12_ID_896"},"DEP":{"required":["Date_02","DFIIdentificationNumber_06","DFIIDNumberQualifier_05","ReferenceNumber_01"],"type":"object","properties":{"ReferenceNumber_01":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"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"},"ReferenceNumber_04":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"DFIIDNumberQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_506"}],"x-openedi-element-id":"506"},"DFIIdentificationNumber_06":{"maxLength":12,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"507"},"AccountNumberQualifierCode_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_896"}],"x-openedi-element-id":"896"},"AccountNumber_08":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"}},"x-openedi-syntax":["P0708"],"x-openedi-segment-id":"DEP"},"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"},"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_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"},"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","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"},"X12_ID_894":{"enum":["01","02","03","04","05"],"type":"string","format":"X12_ID_894"},"BAT":{"type":"object","properties":{"Date_01":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_02":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"ReferenceNumber_03":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"BatchTypeCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_894"}],"x-openedi-element-id":"894"}},"x-openedi-syntax":["R0103"],"x-openedi-segment-id":"BAT"},"AVA":{"required":["Availability_02","MonetaryAmount_01"],"type":"object","properties":{"MonetaryAmount_01":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"Availability_02":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"895"}},"x-openedi-segment-id":"AVA"},"X12_ID_591":{"enum":["ACC","ACK","ADA","ADB","ADC","ADD","ASA","ASB","ASC","ASD","BKC","BKD","DCC","DCD","DPC","DPD","DXC","DXD","DZC","DZD","LOC","PAC","PBD","REV","SCC","SCD","SPC","SPD","SXC","SXD","SZC","SZD","WRD","WRT","ZZZ"],"type":"string","format":"X12_ID_591"},"X12_ID_305":{"enum":["B","C","D","E","F","G","H","I","M","N","P","X","Z"],"type":"string","format":"X12_ID_305"},"BPS":{"required":["MonetaryAmount_02","PaymentMethodCode_01","TransactionHandlingCode_03"],"type":"object","properties":{"PaymentMethodCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_591"}],"x-openedi-element-id":"591"},"MonetaryAmount_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"TransactionHandlingCode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_305"}],"x-openedi-element-id":"305"},"DFIIDNumberQualifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_506"}],"x-openedi-element-id":"506"},"DFIIdentificationNumber_05":{"maxLength":12,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"507"},"AccountNumber_06":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"OriginatingCompanyIDNumber_07":{"maxLength":10,"minLength":10,"type":"string","format":"X12_AN","x-openedi-element-id":"509"},"OriginatingCompanySupplementalCode_08":{"maxLength":9,"minLength":9,"type":"string","format":"X12_AN","x-openedi-element-id":"510"},"DFIIDNumberQualifier_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_506"}],"x-openedi-element-id":"506"},"DFIIdentificationNumber_10":{"maxLength":12,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"507"},"AccountNumber_11":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"EffectiveEntryDate_12":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"513"},"SettlementDate_13":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"727"}},"x-openedi-segment-id":"BPS"},"X12_ID_669":{"enum":["IMF","LNF","LNS","NYC","PHI","ZUR"],"type":"string","format":"X12_ID_669"},"CUR":{"required":["CurrencyCode_02","EntityIdentifierCode_01"],"type":"object","properties":{"EntityIdentifierCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_98"}],"x-openedi-element-id":"98"},"CurrencyCode_02":{"maxLength":3,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"100"},"ExchangeRate_03":{"maxLength":6,"minLength":4,"type":"string","format":"X12_R","x-openedi-element-id":"280"},"EntityIdentifierCode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_98"}],"x-openedi-element-id":"98"},"CurrencyCode_05":{"maxLength":3,"minLength":3,"type":"string","format":"X12_AN","x-openedi-element-id":"100"},"CurrencyMarketExchangeCode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_669"}],"x-openedi-element-id":"669"},"DateTimeQualifier_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_08":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_09":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"DateTimeQualifier_10":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_11":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_12":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"DateTimeQualifier_13":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_14":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_15":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"DateTimeQualifier_16":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_17":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_18":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"DateTimeQualifier_19":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_374"}],"x-openedi-element-id":"374"},"Date_20":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_21":{"maxLength":4,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"}},"x-openedi-syntax":["C0807","C0907","C1110","C1210","C1413","C1513","C1716","C1816","C2019","C2119"],"x-openedi-segment-id":"CUR"},"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","CA","CC","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","RS","RT","SC","SL","SN","SP","TC","TL","TN","TR","TX","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","C0102","P0506"],"x-openedi-segment-id":"N4"},"X12_ID_366":{"enum":["AC","AD","AP","AR","BC","BD","CA","CB","CC","CD","CE","CH","CO","CR","CS","CW","DC","DE","DI","DV","EB","EC","ED","EF","EG","EN","EX","FC","HM","IC","IO","ME","MG","NC","NP","NT","OC","OD","PE","PL","PM","PR","QA","QC","QI","RC","RD","RE","SA","SC","SD","SH","SR","SU","TA","TD","TR","WH","WR","ZZ"],"type":"string","format":"X12_ID_366"},"X12_ID_365":{"enum":["AU","EM","FT","FX","IT","PS","TE","TL","TM","TX"],"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":21,"minLength":7,"type":"string","format":"X12_AN","x-openedi-element-id":"364"}},"x-openedi-syntax":["C0304"],"x-openedi-segment-id":"PER"},"Loop_N1_823":{"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"},"REF":{"maxItems":12,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"PER":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/PER"},"description":"Administrative Communications Contact"}},"x-openedi-loop-id":"N1"},"X12_ID_426":{"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","43","44","45","46","47","48","49","50","51","52","53","54","55","56","57","58","59","60","61","62","63","D8","D9","E1","E2","E3","E4","E5","ZZ"],"type":"string","format":"X12_ID_426"},"RMT":{"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"},"MonetaryAmount_03":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"TotalInvoiceAmount_04":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"777"},"AmountSubjecttoTermsDiscount_05":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"778"},"DiscountedAmountDue_06":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"779"},"DiscountAmount_07":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"780"},"MonetaryAmount_08":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"AdjustmentReasonCode_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_426"}],"x-openedi-element-id":"426"},"Description_10":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"352"}},"x-openedi-segment-id":"RMT"},"Loop_RMT_823":{"required":["RMT"],"type":"object","properties":{"RMT":{"$ref":"#/components/schemas/RMT","description":"Remittance Advice"},"N1":{"$ref":"#/components/schemas/N1","description":"Name"},"CUR":{"$ref":"#/components/schemas/CUR","description":"Currency"},"REF":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"DTM":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"}},"x-openedi-loop-id":"RMT"},"Loop_BPS_823":{"required":["BPS"],"type":"object","properties":{"BPS":{"$ref":"#/components/schemas/BPS","description":"Beginning Segment for Payment Order/Remittance Advice"},"CUR":{"$ref":"#/components/schemas/CUR","description":"Currency"},"REF":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"DTM":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"AVA":{"$ref":"#/components/schemas/AVA","description":"Funds Availability"},"N1Loop":{"maxItems":200,"type":"array","items":{"$ref":"#/components/schemas/Loop_N1_823"}},"RMTLoop":{"maxItems":10000,"type":"array","items":{"$ref":"#/components/schemas/Loop_RMT_823"}}},"x-openedi-loop-id":"BPS"},"Loop_BAT_823":{"required":["BAT"],"type":"object","properties":{"BAT":{"$ref":"#/components/schemas/BAT","description":"Batch"},"AVA":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/AVA"},"description":"Funds Availability"},"AMT":{"$ref":"#/components/schemas/AMT","description":"Monetary Amount"},"QTY":{"$ref":"#/components/schemas/QTY","description":"Quantity"},"DTM":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"BPSLoop":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/Loop_BPS_823"}}},"x-openedi-loop-id":"BAT"},"Loop_DEP_823":{"required":["AMT","DEP","QTY"],"type":"object","properties":{"DEP":{"$ref":"#/components/schemas/DEP","description":"Deposit"},"AMT":{"$ref":"#/components/schemas/AMT","description":"Monetary Amount"},"QTY":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/QTY"},"description":"Quantity"},"REF":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/REF"},"description":"Reference Numbers"},"DTM":{"maxItems":10,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"BATLoop":{"maxItems":100,"type":"array","items":{"$ref":"#/components/schemas/Loop_BAT_823"}}},"x-openedi-loop-id":"DEP"},"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"},"TS823":{"required":["DEPLoop","N1"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"N1":{"maxItems":2,"type":"array","items":{"$ref":"#/components/schemas/N1"},"description":"Name"},"DEPLoop":{"maxItems":100,"type":"array","items":{"$ref":"#/components/schemas/Loop_DEP_823"}},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"823","x-openedi-message-standard":"X12"}}}}