{"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_353":{"enum":["00","01","02","03","04","05","06","07","08","10","11","12","13","14","15","16","17","18","19","20","21","22","25","26","27","28","30","31","32","33","34","35","36","37","38","ZZ"],"type":"string","format":"X12_ID_353"},"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"},"BGN":{"required":["Date_03","ReferenceNumber_02","TransactionSetPurposeCode_01"],"type":"object","properties":{"TransactionSetPurposeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_353"}],"x-openedi-element-id":"353"},"ReferenceNumber_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"},"Date_03":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Time_04":{"maxLength":6,"minLength":4,"type":"string","format":"X12_TM","x-openedi-element-id":"337"},"TimeCode_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_623"}],"x-openedi-element-id":"623"}},"x-openedi-syntax":["C0504"],"x-openedi-segment-id":"BGN"},"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"},"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_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"},"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"},"RTE":{"required":["InterestRate_01","InterestRate_02"],"type":"object","properties":{"InterestRate_01":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"953"},"InterestRate_02":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"953"},"InterestRate_03":{"maxLength":6,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"953"},"MonetaryAmount_04":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"MonetaryAmount_05":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"Date_06":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"NumberofDays_07":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"607"},"NumberofDays_08":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"607"}},"x-openedi-segment-id":"RTE"},"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":6,"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":6,"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":6,"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":6,"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":6,"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"},"X12_ID_569":{"enum":["REL","ZB1","ZB2"],"type":"string","format":"X12_ID_569"},"ACT":{"required":["AccountNumber_01"],"type":"object","properties":{"AccountNumber_01":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"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"},"AccountNumberQualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_569"}],"x-openedi-element-id":"569"},"AccountNumber_06":{"maxLength":35,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"508"},"FreeFormMessage_07":{"maxLength":60,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"3"}},"x-openedi-syntax":["P0304","C0506","C0705"],"x-openedi-segment-id":"ACT"},"X12_ID_952":{"enum":["F","L","S"],"type":"string","format":"X12_ID_952"},"X12_ID_235":{"enum":["AB","AC","AD","AI","AM","AN","AR","AS","AT","AX","B1","B2","B3","B4","B5","B6","B7","BA","BC","BE","BL","BM","BN","BO","BP","BS","BT","BU","BX","CA","CB","CC","CD","CE","CF","CG","CH","CI","CJ","CL","CM","CN","CO","CP","CQ","CR","CS","CT","CU","CY","DE","DG","DI","DL","DN","DP","DR","EC","ED","EI","EN","EP","EQ","ES","FF","FI","FL","FN","FP","FS","FT","GC","GD","GN","GR","GS","GU","HC","HI","HN","IA","IB","IC","ID","IM","IN","IS","IT","IZ","JN","JP","JS","KP","LG","LT","LU","MA","MB","MD","MF","MG","MI","MM","MN","MO","MS","MT","NC","ND","NH","NR","OA","OB","OC","OD","OE","OH","OL","ON","OO","OP","P1","P2","P3","P4","PA","PC","PD","PE","PG","PI","PJ","PK","PL","PM","PN","PO","PQ","PR","PS","PT","PW","RA","RB","RC","RD","RE","RK","RN","RO","RP","RR","RS","RT","RU","RV","RW","RY","SB","SC","SD","SE","SF","SI","SK","SL","SM","SN","SQ","SR","SS","ST","SU","SV","SW","SZ","TA","TC","TI","TM","TP","TR","TS","TT","TU","TY","UA","UB","UC","UD","UE","UF","UG","UH","UI","UM","UN","UO","UP","UQ","US","UV","VA","VB","VC","VE","VI","VM","VN","VO","VP","VS","VU","VV","VX","WL","WS","XC","ZZ"],"type":"string","format":"X12_ID_235"},"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"},"ADJ":{"required":["AdjustmentApplicationCode_01","Date_04","Date_05","MonetaryAmount_02","MonetaryAmount_03"],"type":"object","properties":{"AdjustmentApplicationCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_952"}],"x-openedi-element-id":"952"},"MonetaryAmount_02":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"MonetaryAmount_03":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"Date_04":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"Date_05":{"maxLength":6,"minLength":6,"type":"string","format":"X12_DT","x-openedi-element-id":"373"},"NumberofDays_06":{"maxLength":3,"minLength":1,"type":"string","format":"X12_N0","x-openedi-element-id":"607"},"Description_07":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"352"},"ProductServiceIDQualifier_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_235"}],"x-openedi-element-id":"235"},"ProductServiceID_09":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"234"},"Amount_10":{"maxLength":9,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"610"},"Amount_11":{"maxLength":9,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"610"},"Amount_12":{"maxLength":9,"minLength":1,"type":"string","format":"X12_N2","x-openedi-element-id":"610"},"Quantity_13":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"Quantity_14":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"Quantity_15":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"ReferenceNumberQualifier_16":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_128"}],"x-openedi-element-id":"128"},"ReferenceNumber_17":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"127"}},"x-openedi-syntax":["P0809","C1309","C1409","C1509","P1617"],"x-openedi-segment-id":"ADJ"},"X12_ID_951":{"enum":["A","AM","C","CD","M","N","P","Q","Y"],"type":"string","format":"X12_ID_951"},"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"},"BAL":{"required":["AmountQualifierCode_02","BalanceTypeCode_01","MonetaryAmount_03"],"type":"object","properties":{"BalanceTypeCode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_951"}],"x-openedi-element-id":"951"},"AmountQualifierCode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_522"}],"x-openedi-element-id":"522"},"MonetaryAmount_03":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"}},"x-openedi-segment-id":"BAL"},"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"},"Loop_BAL_822":{"required":["BAL"],"type":"object","properties":{"BAL":{"$ref":"#/components/schemas/BAL","description":"Balance Detail"},"AMT":{"maxItems":25,"type":"array","items":{"$ref":"#/components/schemas/AMT"},"description":"Monetary Amount"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"}},"x-openedi-loop-id":"BAL"},"SER":{"required":["ProductServiceID_02","ProductServiceIDQualifier_01"],"type":"object","properties":{"ProductServiceIDQualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/X12_ID_235"}],"x-openedi-element-id":"235"},"ProductServiceID_02":{"maxLength":30,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"234"},"MonetaryAmount_03":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"MonetaryAmount_04":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"782"},"UnitPrice_05":{"maxLength":14,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"212"},"Quantity_06":{"maxLength":15,"minLength":1,"type":"string","format":"X12_R","x-openedi-element-id":"380"},"Description_07":{"maxLength":80,"minLength":1,"type":"string","format":"X12_AN","x-openedi-element-id":"352"}},"x-openedi-syntax":["R0304"],"x-openedi-segment-id":"SER"},"Loop_SER_822":{"required":["SER"],"type":"object","properties":{"SER":{"$ref":"#/components/schemas/SER","description":"Service Charges"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"}},"x-openedi-loop-id":"SER"},"Loop_ACT_822":{"required":["ACT"],"type":"object","properties":{"ACT":{"$ref":"#/components/schemas/ACT","description":"Account Identification"},"ADJ":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/ADJ"},"description":"Adjustments to balances or services."},"RTE":{"maxItems":13,"type":"array","items":{"$ref":"#/components/schemas/RTE"},"description":"Rate Information"},"BALLoop":{"maxItems":100,"type":"array","items":{"$ref":"#/components/schemas/Loop_BAL_822"}},"SERLoop":{"maxItems":1000,"type":"array","items":{"$ref":"#/components/schemas/Loop_SER_822"}}},"x-openedi-loop-id":"ACT"},"Loop_N1_822":{"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"},"PER":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/PER"},"description":"Administrative Communications Contact"},"CUR":{"$ref":"#/components/schemas/CUR","description":"Currency"},"ACTLoop":{"maxItems":500,"type":"array","items":{"$ref":"#/components/schemas/Loop_ACT_822"}}},"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"},"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"},"TS822":{"required":["BGN","CTT","DTM","N1","N1Loop"],"type":"object","properties":{"ST":{"$ref":"#/components/schemas/ST"},"BGN":{"$ref":"#/components/schemas/BGN","description":"Beginning Segment"},"DTM":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/DTM"},"description":"Date/Time Reference"},"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"},"PER":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/PER"},"description":"Administrative Communications Contact"},"RTE":{"maxItems":13,"type":"array","items":{"$ref":"#/components/schemas/RTE"},"description":"Rate Information"},"CUR":{"$ref":"#/components/schemas/CUR","description":"Currency"},"N1Loop":{"maxItems":500,"type":"array","items":{"$ref":"#/components/schemas/Loop_N1_822"}},"CTT":{"$ref":"#/components/schemas/CTT","description":"Transaction Totals"},"SE":{"$ref":"#/components/schemas/SE"}},"x-openedi-message-id":"822","x-openedi-message-standard":"X12"}}}}