{"openapi":"3.0.1","info":{"title":"EdiNation API","version":"2"},"paths":{},"components":{"schemas":{"EDIFACT_ID_0051":{"enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","CC","CE","EC","ED","EE","EN","ER","EU","EW","EX","IA","KE","LI","OD","RI","RT","UN"],"type":"string","format":"EDIFACT_ID_0051"},"EDIFACT_ID_0113":{"enum":["AA","AB","AC","AD","AE","AF","AG","AH","AI","AJ","AK","AL","AM","AN","AO","AP","AQ","AR","AS","SECACK","SECAUT"],"type":"string","format":"EDIFACT_ID_0113"},"S009":{"required":["ControllingAgencyCoded_04","MessageReleaseNumber_03","MessageType_01","MessageVersionNumber_02"],"type":"object","properties":{"MessageType_01":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0065"},"MessageVersionNumber_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0052"},"MessageReleaseNumber_03":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0054"},"ControllingAgencyCoded_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_0051"}],"x-openedi-element-id":"0051"},"AssociationAssignedCode_05":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0057"},"CodelistDirectoryVersionNumber_06":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0110"},"MessageTypeSubfunctionIdentification_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_0113"}],"x-openedi-element-id":"0113"}},"x-openedi-composite-id":"S009"},"S010":{"required":["SequenceMessageTransferNumber_01"],"type":"object","properties":{"SequenceMessageTransferNumber_01":{"maxLength":2,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"0070"},"FirstLastSequenceMessageTransferIndication_02":{"maxLength":1,"minLength":1,"type":"string","format":"EDIFACT_A","x-openedi-element-id":"0073"}},"x-openedi-composite-id":"S010"},"S016":{"required":["MessageSubsetIdentification_01"],"type":"object","properties":{"MessageSubsetIdentification_01":{"maxLength":14,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0115"},"MessageSubsetVersionNumber_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0116"},"MessageSubsetReleaseNumber_03":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0118"},"ControllingAgencyCoded_04":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0051"}},"x-openedi-composite-id":"S016"},"S017":{"required":["MessageImplementationGuidelineIdentification_01"],"type":"object","properties":{"MessageImplementationGuidelineIdentification_01":{"maxLength":14,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0121"},"MessageImplementationGuidelineVersionNumber_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0122"},"MessageImplementationGuidelineReleaseNumber_03":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0124"},"ControllingAgencyCoded_04":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0051"}},"x-openedi-composite-id":"S017"},"S018":{"required":["ScenarioIdentification_01"],"type":"object","properties":{"ScenarioIdentification_01":{"maxLength":14,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0127"},"ScenarioVersionNumber_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0128"},"ScenarioReleaseNumber_03":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0130"},"ControllingAgencyCoded_04":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0051"}},"x-openedi-composite-id":"S018"},"UNH":{"required":["MessageIdentifier_02","MessageReferenceNumber_01"],"type":"object","properties":{"MessageReferenceNumber_01":{"maxLength":14,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0062"},"MessageIdentifier_02":{"$ref":"#/components/schemas/S009"},"CommonAccessReference_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0068"},"StatusoftheTransfer_04":{"$ref":"#/components/schemas/S010"},"MessageSubsetIdentification_05":{"$ref":"#/components/schemas/S016"},"MessageImplementationGuidelineIdentification_06":{"$ref":"#/components/schemas/S017"},"ScenarioIdentification_07":{"$ref":"#/components/schemas/S018"}},"x-openedi-segment-id":"UNH"},"EDIFACT_ID_1001":{"enum":["380","381","383","385","386","389","390","393","481","30E","31E","32E","49E"],"type":"string","format":"EDIFACT_ID_1001"},"EDIFACT_ID_1131":{"enum":["106","ADR"],"type":"string","format":"EDIFACT_ID_1131"},"EDIFACT_ID_3055":{"enum":["3","5","6","7","8","9","10","89","90","91","92","113","116","200","250","251","1U"],"type":"string","format":"EDIFACT_ID_3055"},"C002":{"type":"object","properties":{"Documentmessagenamecoded_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1001"}],"x-openedi-element-id":"1001"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Documentmessagename_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1000"}},"x-openedi-composite-id":"C002"},"EDIFACT_ID_1225":{"type":"string","format":"EDIFACT_ID_1225"},"EDIFACT_ID_4343":{"type":"string","format":"EDIFACT_ID_4343"},"BGM":{"type":"object","properties":{"DOCUMENTMESSAGENAME_01":{"$ref":"#/components/schemas/C002"},"Documentmessagenumber_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1004"},"Messagefunctioncoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1225"}],"x-openedi-element-id":"1225"},"Responsetypecoded_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4343"}],"x-openedi-element-id":"4343"}},"x-openedi-segment-id":"BGM"},"EDIFACT_ID_2005_9":{"enum":["12","13","137","138","140","209","263","315","322","325"],"type":"string","format":"EDIFACT_ID_2005_9"},"EDIFACT_ID_2379_4":{"enum":["102","718","803","804"],"type":"string","format":"EDIFACT_ID_2379_4"},"C507_10":{"required":["Datetimeperiodqualifier_01"],"type":"object","properties":{"Datetimeperiodqualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2005_9"}],"x-openedi-element-id":"2005"},"Datetimeperiod_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"2380"},"Datetimeperiodformatqualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2379_4"}],"x-openedi-element-id":"2379"}},"x-openedi-composite-id":"C507"},"DTM_10":{"required":["DATETIMEPERIOD_01"],"type":"object","properties":{"DATETIMEPERIOD_01":{"$ref":"#/components/schemas/C507_10"}},"x-openedi-segment-id":"DTM"},"EDIFACT_ID_4451_12":{"enum":["ABN","ZZZ"],"type":"string","format":"EDIFACT_ID_4451_12"},"EDIFACT_ID_4453_2":{"enum":["1"],"type":"string","format":"EDIFACT_ID_4453_2"},"EDIFACT_ID_4441":{"enum":["1"],"type":"string","format":"EDIFACT_ID_4441"},"C107_3":{"required":["Freetextcoded_01"],"type":"object","properties":{"Freetextcoded_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4441"}],"x-openedi-element-id":"4441"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C107"},"C108":{"required":["Freetext_01"],"type":"object","properties":{"Freetext_01":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4440"},"Freetext_02":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4440"},"Freetext_03":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4440"},"Freetext_04":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4440"},"Freetext_05":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4440"}},"x-openedi-composite-id":"C108"},"EDIFACT_ID_3453":{"enum":["AF","AR","AZ","BE","BG","BR","CA","CO","CS","CY","DA","DE","E","EL","EN","ES","EU","FA","FI","FR","GA","GD","HR","HU","HY","ID","IS","IT","JA","KA","KM","KO","LT","MK","ML","MN","MO","MT","NL","NO","PL","PT","RO","RU","SK","SL","SR","SV","TH","TR","UK","VI","ZH"],"type":"string","format":"EDIFACT_ID_3453"},"FTX_23":{"required":["TEXTSUBJECTQUALIFIER_01"],"type":"object","properties":{"TEXTSUBJECTQUALIFIER_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4451_12"}],"x-openedi-element-id":"4451"},"TEXTFUNCTIONCODED_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4453_2"}],"x-openedi-element-id":"4453"},"TEXTREFERENCE_03":{"$ref":"#/components/schemas/C107_3"},"TEXTLITERAL_04":{"$ref":"#/components/schemas/C108"},"LANGUAGECODED_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3453"}],"x-openedi-element-id":"3453"}},"x-openedi-segment-id":"FTX"},"EDIFACT_ID_3035":{"enum":["AB","BY","CO","DP","II","IV","PB","PE","PR","RB","SR","SU"],"type":"string","format":"EDIFACT_ID_3035"},"C082":{"required":["Partyididentification_01"],"type":"object","properties":{"Partyididentification_01":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3039"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C082"},"C058":{"required":["Nameandaddressline_01"],"type":"object","properties":{"Nameandaddressline_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressline_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressline_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressline_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressline_05":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"}},"x-openedi-composite-id":"C058"},"C080_2":{"required":["Partyname_01"],"type":"object","properties":{"Partyname_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3036"},"Partyname_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3036"},"Partyname_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3036"},"Partyname_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3036"},"Partyname_05":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3036"},"Partynameformatcoded_06":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3045"}},"x-openedi-composite-id":"C080"},"C059":{"required":["Streetandnumberpobox_01"],"type":"object","properties":{"Streetandnumberpobox_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"},"Streetandnumberpobox_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"},"Streetandnumberpobox_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"}},"x-openedi-composite-id":"C059"},"EDIFACT_ID_3207":{"enum":["AD","AE","AF","AL","AM","AO","AR","AT","AU","AZ","BA","BE","BG","BH","BO","BR","BY","CA","CH","CL","CN","CO","CR","CU","CY","CZ","DE","DK","DZ","EC","EE","EG","ES","FI","FR","GB","GE","GI","GR","GT","HK","HN","HR","HU","ID","IE","IL","IN","IS","IT","JP","KG","KP","KR","KW","KZ","LI","LT","LU","LV","MA","MC","MD","MK","MT","MX","MY","NI","NL","NO","NZ","PA","PE","PG","PH","PK","PL","PR","PT","PY","QA","RO","RU","SA","SE","SG","SI","SK","SM","SV","TH","TJ","TM","TN","TR","UA","US","UY","UZ","VE","YU","ZA"],"type":"string","format":"EDIFACT_ID_3207"},"NAD_4":{"required":["PARTYQUALIFIER_01"],"type":"object","properties":{"PARTYQUALIFIER_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3035"}],"x-openedi-element-id":"3035"},"PARTYIDENTIFICATIONDETAILS_02":{"$ref":"#/components/schemas/C082"},"NAMEANDADDRESS_03":{"$ref":"#/components/schemas/C058"},"PARTYNAME_04":{"$ref":"#/components/schemas/C080_2"},"STREET_05":{"$ref":"#/components/schemas/C059"},"CITYNAME_06":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3164"},"COUNTRYSUBENTITYIDENTIFICATION_07":{"maxLength":9,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3229"},"POSTCODEIDENTIFICATION_08":{"maxLength":9,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3251"},"COUNTRYCODED_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3207"}],"x-openedi-element-id":"3207"}},"x-openedi-segment-id":"NAD"},"EDIFACT_ID_6345":{"enum":["ARS","ATS","AUD","BEF","BGL","BRC","CAD","CHF","CLP","CNY","COP","CRC","CUP","CYP","CZK","DEM","DKK","ECS","EEK","EGP","ESP","FIM","FRF","GBP","GRD","GTQ","HKD","HNL","HRD","HUF","IDR","IEP","ILS","INR","ISK","ITL","JPY","KRW","LUF","LVR","MAD","MTL","MXN","MYR","NIO","NLG","NOK","NZD","PAB","PEN","PHP","PLZ","PTE","PYG","ROL","RUR","SEK","SGD","SIT","SKK","SVC","THB","TND","TRL","TWD","USD","UYU","VEB","YUN","ZAR"],"type":"string","format":"EDIFACT_ID_6345"},"C078":{"type":"object","properties":{"Accountholdernumber_01":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3194"},"Accountholdername_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3192"},"Accountholdername_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3192"},"Currencycoded_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6345"}],"x-openedi-element-id":"6345"}},"x-openedi-composite-id":"C078"},"EDIFACT_ID_3433":{"enum":["BK","PO"],"type":"string","format":"EDIFACT_ID_3433"},"C088":{"type":"object","properties":{"Institutionnameidentification_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3433"}],"x-openedi-element-id":"3433"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Institutionbranchnumber_04":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3434"},"Codelistqualifier_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Institutionname_07":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3432"},"Institutionbranchplace_08":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3436"}},"x-openedi-composite-id":"C088"},"FII_2":{"required":["PARTYQUALIFIER_01"],"type":"object","properties":{"PARTYQUALIFIER_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3035"}],"x-openedi-element-id":"3035"},"ACCOUNTIDENTIFICATION_02":{"$ref":"#/components/schemas/C078"},"INSTITUTIONIDENTIFICATION_03":{"$ref":"#/components/schemas/C088"},"COUNTRYCODED_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3207"}],"x-openedi-element-id":"3207"}},"x-openedi-segment-id":"FII"},"EDIFACT_ID_1153_4":{"enum":["AAK","API","BO","CAN","DQ","GN","ON","PL","RA","RNN","VA","VN","XA"],"type":"string","format":"EDIFACT_ID_1153_4"},"C506_9":{"required":["Referencequalifier_01"],"type":"object","properties":{"Referencequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1153_4"}],"x-openedi-element-id":"1153"},"Referencenumber_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1154"},"Linenumber_03":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1156"},"Referenceversionnumber_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4000"}},"x-openedi-composite-id":"C506"},"RFF_9":{"required":["REFERENCE_01"],"type":"object","properties":{"REFERENCE_01":{"$ref":"#/components/schemas/C506_9"}},"x-openedi-segment-id":"RFF"},"Loop_RFF_COACSU":{"required":["RFF"],"type":"object","properties":{"RFF":{"$ref":"#/components/schemas/RFF_9"}},"x-openedi-loop-id":"RFF"},"EDIFACT_ID_3139_8":{"enum":["AD","AP","AR"],"type":"string","format":"EDIFACT_ID_3139_8"},"C056":{"type":"object","properties":{"Departmentoremployeeidentification_01":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3413"},"Departmentoremployee_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3412"}},"x-openedi-composite-id":"C056"},"CTA_8":{"type":"object","properties":{"CONTACTFUNCTIONCODED_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3139_8"}],"x-openedi-element-id":"3139"},"DEPARTMENTOREMPLOYEEDETAILS_02":{"$ref":"#/components/schemas/C056"}},"x-openedi-segment-id":"CTA"},"EDIFACT_ID_3155_2":{"enum":["EI","EM","FX","TE","TL"],"type":"string","format":"EDIFACT_ID_3155_2"},"C076_2":{"required":["Communicationchannelqualifier_02","Communicationnumber_01"],"type":"object","properties":{"Communicationnumber_01":{"maxLength":25,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3148"},"Communicationchannelqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3155_2"}],"x-openedi-element-id":"3155"}},"x-openedi-composite-id":"C076"},"COM_2":{"required":["COMMUNICATIONCONTACT_01"],"type":"object","properties":{"COMMUNICATIONCONTACT_01":{"$ref":"#/components/schemas/C076_2"}},"x-openedi-segment-id":"COM"},"Loop_CTA_COACSU":{"required":["CTA"],"type":"object","properties":{"CTA":{"$ref":"#/components/schemas/CTA_8"},"COM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/COM_2"}}},"x-openedi-loop-id":"CTA"},"Loop_NAD_COACSU":{"required":["NAD"],"type":"object","properties":{"NAD":{"$ref":"#/components/schemas/NAD_4"},"FII":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/FII_2"}},"RFFLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_RFF_COACSU"}},"CTALoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_CTA_COACSU"}}},"x-openedi-loop-id":"NAD"},"EDIFACT_ID_6347":{"enum":["2"],"type":"string","format":"EDIFACT_ID_6347"},"EDIFACT_ID_6343":{"enum":["4","11"],"type":"string","format":"EDIFACT_ID_6343"},"C504_16":{"required":["Currencydetailsqualifier_01"],"type":"object","properties":{"Currencydetailsqualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6347"}],"x-openedi-element-id":"6347"},"Currencycoded_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6345"}],"x-openedi-element-id":"6345"},"Currencyqualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6343"}],"x-openedi-element-id":"6343"},"Currencyratebase_04":{"maxLength":4,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"6348"}},"x-openedi-composite-id":"C504"},"C504":{"required":["Currencydetailsqualifier_01"],"type":"object","properties":{"Currencydetailsqualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6347"}],"x-openedi-element-id":"6347"},"Currencycoded_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"6345"},"Currencyqualifier_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6343"}],"x-openedi-element-id":"6343"},"Currencyratebase_04":{"maxLength":4,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"6348"}},"x-openedi-composite-id":"C504"},"EDIFACT_ID_6341":{"type":"string","format":"EDIFACT_ID_6341"},"CUX_9":{"type":"object","properties":{"CURRENCYDETAILS_01":{"$ref":"#/components/schemas/C504_16"},"CURRENCYDETAILS_02":{"$ref":"#/components/schemas/C504"},"RATEOFEXCHANGE_03":{"maxLength":12,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"5402"},"CURRENCYMARKETEXCHANGECODED_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6341"}],"x-openedi-element-id":"6341"}},"x-openedi-segment-id":"CUX"},"Loop_CUX_COACSU":{"required":["CUX"],"type":"object","properties":{"CUX":{"$ref":"#/components/schemas/CUX_9"}},"x-openedi-loop-id":"CUX"},"EDIFACT_ID_4279_2":{"enum":["1","3","7","20","21","22"],"type":"string","format":"EDIFACT_ID_4279_2"},"EDIFACT_ID_4277":{"type":"string","format":"EDIFACT_ID_4277"},"C110":{"required":["Termsofpaymentidentification_01"],"type":"object","properties":{"Termsofpaymentidentification_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4277"}],"x-openedi-element-id":"4277"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Termsofpayment_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4276"},"Termsofpayment_05":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4276"}},"x-openedi-composite-id":"C110"},"EDIFACT_ID_2475_2":{"enum":["7"],"type":"string","format":"EDIFACT_ID_2475_2"},"EDIFACT_ID_2009":{"enum":["3"],"type":"string","format":"EDIFACT_ID_2009"},"EDIFACT_ID_2151":{"enum":["D","M","WD","Y"],"type":"string","format":"EDIFACT_ID_2151"},"C112_2":{"required":["Paymenttimereferencecoded_01"],"type":"object","properties":{"Paymenttimereferencecoded_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2475_2"}],"x-openedi-element-id":"2475"},"Timerelationcoded_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2009"}],"x-openedi-element-id":"2009"},"Typeofperiodcoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2151"}],"x-openedi-element-id":"2151"},"Numberofperiods_04":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"2152"}},"x-openedi-composite-id":"C112"},"PAT_2":{"required":["PAYMENTTERMSTYPEQUALIFIER_01"],"type":"object","properties":{"PAYMENTTERMSTYPEQUALIFIER_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4279_2"}],"x-openedi-element-id":"4279"},"PAYMENTTERMS_02":{"$ref":"#/components/schemas/C110"},"TERMSTIMEINFORMATION_03":{"$ref":"#/components/schemas/C112_2"}},"x-openedi-segment-id":"PAT"},"EDIFACT_ID_5025_5":{"enum":["5","9","12","21","23","39","124","125","176","201","263"],"type":"string","format":"EDIFACT_ID_5025_5"},"EDIFACT_ID_4405":{"type":"string","format":"EDIFACT_ID_4405"},"C516_9":{"required":["Monetaryamounttypequalifier_01"],"type":"object","properties":{"Monetaryamounttypequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5025_5"}],"x-openedi-element-id":"5025"},"Monetaryamount_02":{"maxLength":18,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"5004"},"Currencycoded_03":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"6345"},"Currencyqualifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6343"}],"x-openedi-element-id":"6343"},"Statuscoded_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4405"}],"x-openedi-element-id":"4405"}},"x-openedi-composite-id":"C516"},"MOA_9":{"required":["MONETARYAMOUNT_01"],"type":"object","properties":{"MONETARYAMOUNT_01":{"$ref":"#/components/schemas/C516_9"}},"x-openedi-segment-id":"MOA"},"EDIFACT_ID_5245_7":{"enum":["7","12","15","16"],"type":"string","format":"EDIFACT_ID_5245_7"},"EDIFACT_ID_5249_4":{"enum":["13"],"type":"string","format":"EDIFACT_ID_5249_4"},"C501_8":{"required":["Percentagequalifier_01"],"type":"object","properties":{"Percentagequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5245_7"}],"x-openedi-element-id":"5245"},"Percentage_02":{"maxLength":8,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"5482"},"Percentagebasiscoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5249_4"}],"x-openedi-element-id":"5249"},"Codelistqualifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C501"},"PCD_8":{"required":["PERCENTAGEDETAILS_01"],"type":"object","properties":{"PERCENTAGEDETAILS_01":{"$ref":"#/components/schemas/C501_8"}},"x-openedi-segment-id":"PCD"},"EDIFACT_ID_4439_2":{"enum":["1","10","15","17","19","34","35","OA"],"type":"string","format":"EDIFACT_ID_4439_2"},"EDIFACT_ID_4431_2":{"enum":["10","11","12","13","14","20","21","23","41","44","45"],"type":"string","format":"EDIFACT_ID_4431_2"},"EDIFACT_ID_4461_2":{"enum":["42"],"type":"string","format":"EDIFACT_ID_4461_2"},"EDIFACT_ID_4435_2":{"enum":["1","2","3","4","5","6","7"],"type":"string","format":"EDIFACT_ID_4435_2"},"C534_2":{"type":"object","properties":{"Paymentconditionscoded_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4439_2"}],"x-openedi-element-id":"4439"},"Paymentguaranteecoded_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4431_2"}],"x-openedi-element-id":"4431"},"Paymentmeanscoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4461_2"}],"x-openedi-element-id":"4461"},"Codelistqualifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Paymentchannelcoded_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4435_2"}],"x-openedi-element-id":"4435"}},"x-openedi-composite-id":"C534"},"PAI_2":{"required":["PAYMENTINSTRUCTIONDETAILS_01"],"type":"object","properties":{"PAYMENTINSTRUCTIONDETAILS_01":{"$ref":"#/components/schemas/C534_2"}},"x-openedi-segment-id":"PAI"},"Loop_PAT_COACSU":{"required":["PAT"],"type":"object","properties":{"PAT":{"$ref":"#/components/schemas/PAT_2"},"MOA":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/MOA_9"}},"PCD":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/PCD_8"}},"DTM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/DTM_10"}},"FII":{"$ref":"#/components/schemas/FII_2"},"PAI":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/PAI_2"}}},"x-openedi-loop-id":"PAT"},"C503_3":{"type":"object","properties":{"Documentmessagenumber_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1004"},"Documentmessagestatuscoded_02":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1373"},"Documentmessagesource_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1366"},"Languagecoded_04":{"maxLength":3,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3453"}},"x-openedi-composite-id":"C503"},"EDIFACT_ID_3153":{"type":"string","format":"EDIFACT_ID_3153"},"DOC_8":{"required":["DOCUMENTMESSAGENAME_01"],"type":"object","properties":{"DOCUMENTMESSAGENAME_01":{"$ref":"#/components/schemas/C002"},"DOCUMENTMESSAGEDETAILS_02":{"$ref":"#/components/schemas/C503_3"},"COMMUNICATIONCHANNELIDENTIFIERCODED_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3153"}],"x-openedi-element-id":"3153"},"NUMBEROFCOPIESOFDOCUMENTREQUIRED_04":{"maxLength":2,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"1220"},"NUMBEROFORIGINALSOFDOCUMENTREQUIRED_05":{"maxLength":2,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"1218"}},"x-openedi-segment-id":"DOC"},"Loop_RFF_COACSU_2":{"required":["RFF"],"type":"object","properties":{"RFF":{"$ref":"#/components/schemas/RFF_9"},"DTM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/DTM_10"}}},"x-openedi-loop-id":"RFF"},"Loop_NAD_COACSU_2":{"required":["NAD"],"type":"object","properties":{"NAD":{"$ref":"#/components/schemas/NAD_4"},"RFFLoop":{"maxItems":99,"type":"array","items":{"$ref":"#/components/schemas/Loop_RFF_COACSU_2"}}},"x-openedi-loop-id":"NAD"},"EDIFACT_ID_5283":{"enum":["5","7"],"type":"string","format":"EDIFACT_ID_5283"},"EDIFACT_ID_5153":{"enum":["GST","VAT"],"type":"string","format":"EDIFACT_ID_5153"},"C241":{"type":"object","properties":{"Dutytaxfeetypecoded_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5153"}],"x-openedi-element-id":"5153"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Dutytaxfeetype_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5152"}},"x-openedi-composite-id":"C241"},"C533":{"required":["Dutytaxfeeaccountidentification_01"],"type":"object","properties":{"Dutytaxfeeaccountidentification_01":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5289"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C533"},"C243":{"type":"object","properties":{"Dutytaxfeerateidentification_01":{"maxLength":7,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5279"},"Codelistqualifier_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Dutytaxfeerate_04":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5278"},"Dutytaxfeeratebasisidentification_05":{"maxLength":12,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5273"},"Codelistqualifier_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycoded_07":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C243"},"EDIFACT_ID_5305":{"enum":["A","E","S"],"type":"string","format":"EDIFACT_ID_5305"},"TAX":{"required":["Dutytaxfeefunctionqualifier_01"],"type":"object","properties":{"Dutytaxfeefunctionqualifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5283"}],"x-openedi-element-id":"5283"},"DUTYTAXFEETYPE_02":{"$ref":"#/components/schemas/C241"},"DUTYTAXFEEACCOUNTDETAIL_03":{"$ref":"#/components/schemas/C533"},"Dutytaxfeeassessmentbasis_04":{"maxLength":15,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5286"},"DUTYTAXFEEDETAIL_05":{"$ref":"#/components/schemas/C243"},"Dutytaxfeecategorycoded_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5305"}],"x-openedi-element-id":"5305"},"Partytaxidentificationnumber_07":{"maxLength":20,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3446"}},"x-openedi-segment-id":"TAX"},"EDIFACT_ID_4465":{"enum":["1","3","4","5","9"],"type":"string","format":"EDIFACT_ID_4465"},"AJT":{"required":["ADJUSTMENTREASONCODED_01"],"type":"object","properties":{"ADJUSTMENTREASONCODED_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4465"}],"x-openedi-element-id":"4465"},"LINEITEMNUMBER_02":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"1082"}},"x-openedi-segment-id":"AJT"},"Loop_AJT_COACSU":{"required":["AJT"],"type":"object","properties":{"AJT":{"$ref":"#/components/schemas/AJT","description":"ADJUSTMENT DETAILS"},"MOA":{"$ref":"#/components/schemas/MOA_9"},"RFF":{"$ref":"#/components/schemas/RFF_9"}},"x-openedi-loop-id":"AJT"},"Loop_MOA_COACSU":{"required":["MOA"],"type":"object","properties":{"MOA":{"$ref":"#/components/schemas/MOA_9"},"TAX":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/TAX"},"description":"DUTY/TAX/FEE DETAILS"},"AJTLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_AJT_COACSU"}}},"x-openedi-loop-id":"MOA"},"Loop_DOC_COACSU":{"required":["DOC"],"type":"object","properties":{"DOC":{"$ref":"#/components/schemas/DOC_8"},"DTM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/DTM_10"}},"NADLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_NAD_COACSU_2"}},"MOALoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_MOA_COACSU"}}},"x-openedi-loop-id":"DOC"},"UNS":{"required":["SECTIONIDENTIFICATION_01"],"type":"object","properties":{"SECTIONIDENTIFICATION_01":{"maxLength":1,"minLength":1,"type":"string","format":"EDIFACT_A","x-openedi-element-id":"0081"}},"x-openedi-segment-id":"UNS"},"Loop_MOA_COACSU_2":{"required":["MOA"],"type":"object","properties":{"MOA":{"$ref":"#/components/schemas/MOA_9"},"TAX":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/TAX"},"description":"DUTY/TAX/FEE DETAILS"},"DTM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/DTM_10"}}},"x-openedi-loop-id":"MOA"},"UNT":{"required":["MessageReferenceNumber_02","NumberofSegmentsinaMessage_01"],"type":"object","properties":{"NumberofSegmentsinaMessage_01":{"maxLength":10,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"0074"},"MessageReferenceNumber_02":{"maxLength":14,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"0062"}},"x-openedi-segment-id":"UNT"},"TSCOACSU":{"required":["BGM","DTM","UNS"],"type":"object","properties":{"UNH":{"$ref":"#/components/schemas/UNH","description":"Message Header"},"BGM":{"$ref":"#/components/schemas/BGM","description":"BEGINNING OF MESSAGE"},"DTM":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/DTM_10"}},"FTX":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/FTX_23"}},"NADLoop":{"maxItems":99,"type":"array","items":{"$ref":"#/components/schemas/Loop_NAD_COACSU"}},"CUXLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_CUX_COACSU"}},"PATLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_PAT_COACSU"}},"DOCLoop":{"maxItems":9999,"type":"array","items":{"$ref":"#/components/schemas/Loop_DOC_COACSU"}},"UNS":{"$ref":"#/components/schemas/UNS","description":"SECTION CONTROL"},"MOALoop":{"maxItems":99,"type":"array","items":{"$ref":"#/components/schemas/Loop_MOA_COACSU_2"}},"UNT":{"$ref":"#/components/schemas/UNT","description":"Message Trailer"}},"x-openedi-message-id":"COACSU","x-openedi-message-standard":"EDIFACT"}}}}