{"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_17":{"enum":["82","83","84","325","380","381","383","385","386","393","938"],"type":"string","format":"EDIFACT_ID_1001_17"},"EDIFACT_ID_1131":{"enum":["23","25","106","132","154","157","166","174","1E","2E","ADR","BR","CA","CO","FL","HMT","SRN","ST","SZ","ZZZ"],"type":"string","format":"EDIFACT_ID_1131"},"EDIFACT_ID_3055":{"enum":["2","3","5","6","7","8","9","10","17","28","60","65","68","83","84","86","87","88","89","90","91","92","112","113","116","131","136","182","200","245","246","260","281","286","CEN","PMS","RAL","TGA","X4","X5","X6","X7","ZZZ"],"type":"string","format":"EDIFACT_ID_3055"},"C002_16":{"type":"object","properties":{"Documentnamecode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1001_17"}],"x-openedi-element-id":"1001"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Documentname_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1000"}},"x-openedi-composite-id":"C002"},"C106":{"type":"object","properties":{"Documentidentifier_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1004"},"Versionidentifier_02":{"maxLength":9,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1056"},"Revisionidentifier_03":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1060"}},"x-openedi-composite-id":"C106"},"EDIFACT_ID_1225_10":{"enum":["9","31"],"type":"string","format":"EDIFACT_ID_1225_10"},"EDIFACT_ID_4343":{"enum":["AA","AB","AC","AI","AP","AS","CA","NA","PE","RE","YW7"],"type":"string","format":"EDIFACT_ID_4343"},"BGM_45":{"type":"object","properties":{"DOCUMENTMESSAGENAME_01":{"$ref":"#/components/schemas/C002_16"},"DOCUMENTMESSAGEIDENTIFICATION_02":{"$ref":"#/components/schemas/C106"},"Messagefunctioncode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1225_10"}],"x-openedi-element-id":"1225"},"Responsetypecode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4343"}],"x-openedi-element-id":"4343"}},"x-openedi-segment-id":"BGM"},"EDIFACT_ID_2005_43":{"enum":["137","155","156","165","166","171","263","322","325"],"type":"string","format":"EDIFACT_ID_2005_43"},"EDIFACT_ID_2379_4":{"enum":["102","203","718"],"type":"string","format":"EDIFACT_ID_2379_4"},"C507_42":{"required":["Dateortimeorperiodfunctioncodequalifier_01"],"type":"object","properties":{"Dateortimeorperiodfunctioncodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2005_43"}],"x-openedi-element-id":"2005"},"Dateortimeorperiodvalue_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"2380"},"Dateortimeorperiodformatcode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_2379_4"}],"x-openedi-element-id":"2379"}},"x-openedi-composite-id":"C507"},"DTM_42":{"required":["DATETIMEPERIOD_01"],"type":"object","properties":{"DATETIMEPERIOD_01":{"$ref":"#/components/schemas/C507_42"}},"x-openedi-segment-id":"DTM"},"EDIFACT_ID_1153_40":{"enum":["ALL","ALT","FC","GN","VA","XA","YC1"],"type":"string","format":"EDIFACT_ID_1153_40"},"C506_6":{"required":["Referencecodequalifier_01"],"type":"object","properties":{"Referencecodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1153_40"}],"x-openedi-element-id":"1153"},"Referenceidentifier_02":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1154"},"Documentlineidentifier_03":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1156"},"Referenceversionidentifier_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"4000"},"Revisionidentifier_05":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1060"}},"x-openedi-composite-id":"C506"},"RFF_6":{"required":["REFERENCE_01"],"type":"object","properties":{"REFERENCE_01":{"$ref":"#/components/schemas/C506_6"}},"x-openedi-segment-id":"RFF"},"Loop_RFF_TAXCON":{"required":["RFF"],"type":"object","properties":{"RFF":{"$ref":"#/components/schemas/RFF_6"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM_42"}}},"x-openedi-loop-id":"RFF"},"EDIFACT_ID_3035_43":{"enum":["AB","BY","SR","SU","TC"],"type":"string","format":"EDIFACT_ID_3035_43"},"C082":{"required":["Partyidentifier_01"],"type":"object","properties":{"Partyidentifier_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3039"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C082"},"C058":{"required":["Nameandaddressdescription_01"],"type":"object","properties":{"Nameandaddressdescription_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressdescription_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressdescription_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressdescription_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"},"Nameandaddressdescription_05":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3124"}},"x-openedi-composite-id":"C058"},"EDIFACT_ID_3045":{"enum":["1"],"type":"string","format":"EDIFACT_ID_3045"},"C080":{"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"},"Partynameformatcode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3045"}],"x-openedi-element-id":"3045"}},"x-openedi-composite-id":"C080"},"C059":{"required":["Streetandnumberorpostofficeboxidentifier_01"],"type":"object","properties":{"Streetandnumberorpostofficeboxidentifier_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"},"Streetandnumberorpostofficeboxidentifier_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"},"Streetandnumberorpostofficeboxidentifier_03":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"},"Streetandnumberorpostofficeboxidentifier_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3042"}},"x-openedi-composite-id":"C059"},"C819":{"type":"object","properties":{"Countrysubentitynamecode_01":{"maxLength":9,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3229"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Countrysubentityname_04":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3228"}},"x-openedi-composite-id":"C819"},"EDIFACT_ID_3207":{"enum":["AD","AE","AF","AG","AI","AL","AM","AN","AO","AQ","AR","AS","AT","AU","AW","AZ","BA","BB","BD","BE","BF","BG","BH","BI","BJ","BM","BN","BO","BR","BS","BT","BV","BW","BY","BZ","CA","CC","CD","CF","CG","CH","CI","CK","CL","CM","CN","CO","CR","CU","CV","CX","CY","CZ","DE","DJ","DK","DM","DO","DZ","EC","EE","EG","EH","ER","ES","ET","FI","FJ","FK","FM","FO","FR","GA","GB","GD","GE","GF","GH","GI","GL","GM","GN","GP","GQ","GR","GS","GT","GU","GW","GY","HK","HM","HN","HR","HT","HU","ID","IE","IL","IN","IO","IQ","IR","IS","IT","JM","JO","JP","KE","KG","KH","KI","KM","KN","KP","KR","KW","KY","KZ","LA","LB","LC","LI","LK","LR","LS","LT","LU","LV","LY","MA","MC","MD","MG","MH","MK","ML","MM","MN","MO","MP","MQ","MR","MS","MT","MU","MV","MW","MX","MY","MZ","NA","NC","NE","NF","NG","NI","NL","NO","NP","NR","NU","NZ","OM","PA","PE","PF","PG","PH","PK","PL","PM","PN","PR","PS","PT","PW","PY","QA","RE","RO","RU","RW","SA","SB","SC","SD","SE","SG","SH","SI","SJ","SK","SL","SM","SN","SO","SR","ST","SV","SY","SZ","TC","TD","TF","TG","TH","TJ","TK","TM","TN","TO","TP","TR","TT","TV","TW","TZ","UA","UG","UM","US","UY","UZ","VA","VC","VE","VG","VI","VN","VU","WF","WS","YE","YT","YU","ZA","ZM","ZW"],"type":"string","format":"EDIFACT_ID_3207"},"NAD_43":{"required":["Partyfunctioncodequalifier_01"],"type":"object","properties":{"Partyfunctioncodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3035_43"}],"x-openedi-element-id":"3035"},"PARTYIDENTIFICATIONDETAILS_02":{"$ref":"#/components/schemas/C082"},"NAMEANDADDRESS_03":{"$ref":"#/components/schemas/C058"},"PARTYNAME_04":{"$ref":"#/components/schemas/C080"},"STREET_05":{"$ref":"#/components/schemas/C059"},"Cityname_06":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3164"},"COUNTRYSUBENTITYDETAILS_07":{"$ref":"#/components/schemas/C819"},"Postalidentificationcode_08":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3251"},"Countrynamecode_09":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3207"}],"x-openedi-element-id":"3207"}},"x-openedi-segment-id":"NAD"},"Loop_NAD_TAXCON":{"required":["NAD"],"type":"object","properties":{"NAD":{"$ref":"#/components/schemas/NAD_43"},"RFF":{"$ref":"#/components/schemas/RFF_6"}},"x-openedi-loop-id":"NAD"},"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"},"EDIFACT_ID_1373":{"enum":["1","2","3","4","5","6","7","8","9","17"],"type":"string","format":"EDIFACT_ID_1373"},"EDIFACT_ID_3453":{"enum":["AA","AB","AF","AM","AR","AS","AY","AZ","BA","BE","BG","BH","BI","BN","BO","BR","CA","CO","CS","CY","DA","DE","DZ","EL","EN","EO","ES","ET","EU","FA","FI","FJ","FO","FR","FY","GA","GD","GL","GN","GU","HA","HE","HI","HR","HU","HY","IA","ID","IE","IK","IS","IT","IU","JA","JW","KA","KK","KL","KM","KN","KO","KS","KU","KY","LA","LN","LO","LT","LV","MG","MI","MK","ML","MN","MO","MR","MS","MT","NA","NE","NL","NO","OC","OM","OR","PA","PL","PS","PT","QU","RM","RN","RO","RU","RW","SA","SD","SG","SH","SI","SK","SL","SM","SN","SO","SQ","SR","SS","ST","SU","SV","SW","TA","TE","TG","TH","TI","TK","TL","TN","TO","TR","TS","TT","TW","UG","UK","UR","UZ","VI","VO","WO","YI","YO","ZA","ZH","ZU"],"type":"string","format":"EDIFACT_ID_3453"},"C503":{"type":"object","properties":{"Documentidentifier_01":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1004"},"Documentstatuscode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1373"}],"x-openedi-element-id":"1373"},"Documentsourcedescription_03":{"maxLength":70,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1366"},"Languagenamecode_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3453"}],"x-openedi-element-id":"3453"},"Versionidentifier_05":{"maxLength":9,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1056"},"Revisionidentifier_06":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"1060"}},"x-openedi-composite-id":"C503"},"EDIFACT_ID_3153":{"enum":["AA","EI","MA","TE"],"type":"string","format":"EDIFACT_ID_3153"},"DOC_16":{"required":["DOCUMENTMESSAGENAME_01"],"type":"object","properties":{"DOCUMENTMESSAGENAME_01":{"$ref":"#/components/schemas/C002_16"},"DOCUMENTMESSAGEDETAILS_02":{"$ref":"#/components/schemas/C503"},"Communicationmediumtypecode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3153"}],"x-openedi-element-id":"3153"},"Documentcopiesrequiredquantity_04":{"maxLength":2,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"1220"},"Documentoriginalsrequiredquantity_05":{"maxLength":2,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"1218"}},"x-openedi-segment-id":"DOC"},"EDIFACT_ID_5025_20":{"enum":["39","124","125","128"],"type":"string","format":"EDIFACT_ID_5025_20"},"EDIFACT_ID_6345":{"enum":["ADP","AED","AFA","ALL","AMD","ANG","AOA","AOK","ARA","ARS","ATS","AUD","AWG","AZM","BAM","BBD","BDT","BEC","BEF","BEL","BGL","BGN","BHD","BIF","BMD","BND","BOB","BOV","BRC","BRL","BSD","BTN","BUK","BWP","BYB","BYR","BZD","CAD","CDF","CHF","CLF","CLP","CNY","COP","CRC","CUP","CVE","CYP","CZK","DEM","DJF","DKK","DOP","DZD","ECS","ECV","EEK","EGP","ERN","ESP","ETB","EUR","FIM","FJD","FKP","FRF","GBP","GEL","GHC","GIP","GMD","GNF","GRD","GTQ","GWP","GYD","HKD","HNL","HRD","HRK","HTG","HUF","IDR","IEP","ILS","INR","IQD","IRR","ISK","ITL","JMD","JOD","JPY","KES","KGS","KHR","KMF","KPW","KRW","KWD","KYD","KZT","LAK","LBP","LKR","LRD","LSL","LTL","LUC","LUF","LUL","LVL","LYD","MAD","MDL","MGF","MKD","MNT","MOP","MRO","MTL","MUR","MVR","MWK","MXN","MXV","MYR","MZM","NAD","NGN","NIC","NIO","NLG","NOK","NPR","NZD","OMR","PAB","PEI","PEN","PGK","PHP","PKR","PLN","PTE","PYG","QAR","ROL","RUB","RWF","SAR","SBD","SCR","SDD","SEK","SGD","SHP","SIT","SKK","SLL","SOS","SRG","STD","SVC","SYP","SZL","THB","TJR","TMM","TND","TOP","TPE","TRL","TTD","TWD","TZS","UAH","UGX","USD","USN","USS","UYU","UZS","VEB","VND","VUV","WST","XAF","XAG","XAU","XBA","XBB","XBC","XBD","XCD","XDR","XEU","XFO","XFU","XOF","XPD","XPF","XTS","XXX","YDD","YER","YUM","YUN","ZAR","ZMK","ZWD"],"type":"string","format":"EDIFACT_ID_6345"},"EDIFACT_ID_6343_3":{"enum":["4"],"type":"string","format":"EDIFACT_ID_6343_3"},"EDIFACT_ID_4405":{"enum":["1","3","4","5","6","7","8","9","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","45","46","47","48","49","50","58","59","60","63","64","65","66","67","68","70","71","72","73","74","77","78","79","80","81","82","83","84","85","86","88","89","90","91","92","93","94","95","96","97","98","99","100","101","102","103","110","314","315","316","317","319","324","326","327","328","329","330","355","356","357","1E","20E","21E","22B","22E","23E","24E","26E","27E","28E","29E","2E","30E","31E","32E","34E","35E","36E","37B","37E","38E","39E","49E","4E","50E","57E","58E","59E","5E","60E","62E","64B","64E","65E","69E","6E","70E","71B","71E","72B","72E","73E","74B","74E","75E","76E","77B","77E","78E","79E","7E","80E","81E","82E","83E","84E","85E","86E","87E","8E","9E","CSA","CSC","CSD","CSE","X33","X34","X35","X37","X38","X39","X40","X41"],"type":"string","format":"EDIFACT_ID_4405"},"C516_18":{"required":["Monetaryamounttypecodequalifier_01"],"type":"object","properties":{"Monetaryamounttypecodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5025_20"}],"x-openedi-element-id":"5025"},"Monetaryamount_02":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"5004"},"Currencyidentificationcode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6345"}],"x-openedi-element-id":"6345"},"Currencytypecodequalifier_04":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6343_3"}],"x-openedi-element-id":"6343"},"Statusdescriptioncode_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_4405"}],"x-openedi-element-id":"4405"}},"x-openedi-composite-id":"C516"},"MOA_18":{"required":["MONETARYAMOUNT_01"],"type":"object","properties":{"MONETARYAMOUNT_01":{"$ref":"#/components/schemas/C516_18"}},"x-openedi-segment-id":"MOA"},"EDIFACT_ID_6069_3":{"enum":["31"],"type":"string","format":"EDIFACT_ID_6069_3"},"EDIFACT_ID_6411":{"enum":["1","2","3","4","25","28","59","2N","2X","4K","4L","4O","4P","A25","A86","ACR","AD","AMH","AMP","AMT","ANN","APX","ASM","ASU","BAR","BTU","C0","C60","CDL","CEL","CLT","CMK","CMQ","CMT","D21","DAY","DD","DMQ","DMT","DOS","DZN","EA","EV","FAH","FOT","FTQ","GL","GLI","GM","GRM","GRO","GV","GWH","HLT","HTZ","HUR","INH","JOU","KAH","KB","KBA","KEL","KGM","KHZ","KJO","KL","KMH","KMQ","KPA","KTM","KVA","KVT","KWH","KWT","L2","LIH","LNE","LTR","LUX","MAL","MAW","MC","MCU","MGM","MHZ","MIN","MLT","MMK","MMQ","MMT","MON","MPA","MTA","MTK","MTQ","MTR","MWH","NAR","NEW","NRL","ONZ","OZA","OZI","P1","PA","PAL","PCE","PF","PND","PR","PTI","PTN","QAN","QTI","RPM","RTO","SEC","SML","ST","TNE","UI","VI","VLT","WHR","WRD","WTT","YRD","ZE","ZP"],"type":"string","format":"EDIFACT_ID_6411"},"C270_2":{"required":["Controltotaltypecodequalifier_01","Controltotalvalue_02"],"type":"object","properties":{"Controltotaltypecodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6069_3"}],"x-openedi-element-id":"6069"},"Controltotalvalue_02":{"maxLength":18,"minLength":1,"type":"string","format":"EDIFACT_N","x-openedi-element-id":"6066"},"Measurementunitcode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_6411"}],"x-openedi-element-id":"6411"}},"x-openedi-composite-id":"C270"},"CNT_2":{"required":["CONTROL_01"],"type":"object","properties":{"CONTROL_01":{"$ref":"#/components/schemas/C270_2"}},"x-openedi-segment-id":"CNT"},"EDIFACT_ID_5283_3":{"enum":["7"],"type":"string","format":"EDIFACT_ID_5283_3"},"EDIFACT_ID_5153_2":{"enum":["GST","VAT"],"type":"string","format":"EDIFACT_ID_5153_2"},"C241":{"type":"object","properties":{"Dutyortaxorfeetypenamecode_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5153_2"}],"x-openedi-element-id":"5153"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Dutyortaxorfeetypename_04":{"maxLength":35,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5152"}},"x-openedi-composite-id":"C241"},"C533":{"required":["Dutyortaxorfeeaccountcode_01"],"type":"object","properties":{"Dutyortaxorfeeaccountcode_01":{"maxLength":6,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5289"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"}},"x-openedi-composite-id":"C533"},"EDIFACT_ID_5273":{"enum":["1","2","3"],"type":"string","format":"EDIFACT_ID_5273"},"C243":{"type":"object","properties":{"Dutyortaxorfeeratecode_01":{"maxLength":7,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5279"},"Codelistidentificationcode_02":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_03":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_3055"}],"x-openedi-element-id":"3055"},"Dutyortaxorfeerate_04":{"maxLength":17,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5278"},"Dutyortaxorfeeratebasiscode_05":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5273"}],"x-openedi-element-id":"5273"},"Codelistidentificationcode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1131"}],"x-openedi-element-id":"1131"},"Codelistresponsibleagencycode_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"},"EDIFACT_ID_1227":{"enum":["1","2","3","4","5","6","7","8","9"],"type":"string","format":"EDIFACT_ID_1227"},"TAX_7":{"required":["Dutyortaxorfeefunctioncodequalifier_01"],"type":"object","properties":{"Dutyortaxorfeefunctioncodequalifier_01":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5283_3"}],"x-openedi-element-id":"5283"},"DUTYTAXFEETYPE_02":{"$ref":"#/components/schemas/C241"},"DUTYTAXFEEACCOUNTDETAIL_03":{"$ref":"#/components/schemas/C533"},"Dutyortaxorfeeassessmentbasisvalue_04":{"maxLength":15,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"5286"},"DUTYTAXFEEDETAIL_05":{"$ref":"#/components/schemas/C243"},"Dutyortaxorfeecategorycode_06":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_5305"}],"x-openedi-element-id":"5305"},"Partytaxidentifier_07":{"maxLength":20,"minLength":1,"type":"string","format":"EDIFACT_AN","x-openedi-element-id":"3446"},"Calculationsequencecode_08":{"type":"string","allOf":[{"$ref":"#/components/schemas/EDIFACT_ID_1227"}],"x-openedi-element-id":"1227"}},"x-openedi-segment-id":"TAX"},"Loop_TAX_TAXCON":{"required":["MOA","TAX"],"type":"object","properties":{"TAX":{"$ref":"#/components/schemas/TAX_7"},"MOA":{"maxItems":3,"type":"array","items":{"$ref":"#/components/schemas/MOA_18"}}},"x-openedi-loop-id":"TAX"},"Loop_DOC_TAXCON":{"required":["CNT","DOC","TAXLoop"],"type":"object","properties":{"DOC":{"$ref":"#/components/schemas/DOC_16"},"MOA":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/MOA_18"}},"CNT":{"$ref":"#/components/schemas/CNT_2"},"TAXLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_TAX_TAXCON"}}},"x-openedi-loop-id":"DOC"},"Loop_RFF_TAXCON_2":{"required":["DOCLoop","RFF"],"type":"object","properties":{"RFF":{"$ref":"#/components/schemas/RFF_6"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM_42"}},"DOCLoop":{"maxItems":9,"type":"array","items":{"$ref":"#/components/schemas/Loop_DOC_TAXCON"}}},"x-openedi-loop-id":"RFF"},"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"},"TSTAXCON":{"required":["BGM","DTM","NADLoop","RFFLoop2","UNS"],"type":"object","properties":{"UNH":{"$ref":"#/components/schemas/UNH","description":"Message Header"},"BGM":{"$ref":"#/components/schemas/BGM_45"},"DTM":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/DTM_42"}},"RFFLoop":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Loop_RFF_TAXCON"}},"NADLoop":{"maxItems":5,"type":"array","items":{"$ref":"#/components/schemas/Loop_NAD_TAXCON"}},"UNS":{"$ref":"#/components/schemas/UNS","description":"Section control"},"RFFLoop2":{"maxItems":9999,"type":"array","items":{"$ref":"#/components/schemas/Loop_RFF_TAXCON_2"}},"UNT":{"$ref":"#/components/schemas/UNT","description":"Message Trailer"}},"x-openedi-message-id":"TAXCON","x-openedi-message-standard":"EDIFACT"}}}}