Commit 9bea3e94 by lixinyi

模板保存逻辑修改

parent 2bc8d1bb
...@@ -65,14 +65,7 @@ ...@@ -65,14 +65,7 @@
> >
{{ node.data.name }}</span {{ node.data.name }}</span
> >
<!--添加 报文模板保存功能 -->
<template-infos
:mty="mty"
:obj="templateData"
:loginUser="loginUser"
ref="templateInfos"
>
</template-infos>
<el-button <el-button
v-if=" v-if="
data.array && data.array &&
...@@ -149,6 +142,14 @@ ...@@ -149,6 +142,14 @@
</div> </div>
</el-dialog> </el-dialog>
<el-backtop style="right: 18px" /> <el-backtop style="right: 18px" />
<!--添加 报文模板保存功能 -->
<template-infos
:mty="mty"
:obj="templateData"
:loginUser="loginUser"
ref="templateInfos"
>
</template-infos>
</div> </div>
</template> </template>
......
export default [
{
path: "0",
name: "Business Application Header V02 (head.001.001.02)",
label: "Business Application Header V02 (head.001.001.02)",
tag: "appHdr",
type: "Head_001_001_02",
status: "M",
}, {
path : "1",
name : "Assignment",
label : "Assignment",
tag : "assgnmt",
status : "M",
children : [ {
path : "1.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "35"
}, {
path : "1.1",
name : "Assigner",
label : "Assigner",
tag : "assgnr",
status : "M",
type : "Choice",
children : [ {
path : "1.1.0",
name : "Agent",
label : "Agent",
tag : "agt",
status : "M",
children : [ {
path : "1.1.0.0",
name : "Financial Institution Identification",
label : "Financial Institution Identification",
tag : "finInstnId",
status : "M",
children : [ {
path : "1.1.0.0.0",
name : "BICFI",
label : "BICFI",
tag : "bicfi",
status : "M",
type : "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength : "11"
}, {
path : "1.1.0.0.1",
name : "Clearing System Member Identification",
label : "Clearing System Member Identification",
tag : "clrSysMmbId",
status : "O",
children : [ {
path : "1.1.0.0.1.0",
name : "Clearing System Identification",
label : "Clearing System Identification",
tag : "clrSysId",
status : "M",
type : "Choice",
children : [ {
path : "1.1.0.0.1.0.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "5"
} ]
}, {
path : "1.1.0.0.1.1",
name : "Member Identification",
label : "Member Identification",
tag : "mmbId",
status : "M",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "28"
} ]
}, {
path : "1.1.0.0.2",
name : "LEI",
label : "LEI",
tag : "lei",
status : "O",
type : "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength : "20"
} ]
} ]
} ]
}, {
path : "1.2",
name : "Assignee",
label : "Assignee",
tag : "assgne",
status : "M",
type : "Choice",
children : [ {
path : "1.2.0",
name : "Agent",
label : "Agent",
tag : "agt",
status : "M",
children : [ {
path : "1.2.0.0",
name : "Financial Institution Identification",
label : "Financial Institution Identification",
tag : "finInstnId",
status : "M",
children : [ {
path : "1.2.0.0.0",
name : "BICFI",
label : "BICFI",
tag : "bicfi",
status : "O",
type : "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength : "11"
}, {
path : "1.2.0.0.1",
name : "Clearing System Member Identification",
label : "Clearing System Member Identification",
tag : "clrSysMmbId",
status : "O",
children : [ {
path : "1.2.0.0.1.0",
name : "Clearing System Identification",
label : "Clearing System Identification",
tag : "clrSysId",
status : "M",
type : "Choice",
children : [ {
path : "1.2.0.0.1.0.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "5"
} ]
}, {
path : "1.2.0.0.1.1",
name : "Member Identification",
label : "Member Identification",
tag : "mmbId",
status : "M",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "28"
} ]
}, {
path : "1.2.0.0.2",
name : "LEI",
label : "LEI",
tag : "lei",
status : "O",
type : "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength : "20"
} ]
} ]
} ]
}, {
path : "1.3",
name : "Creation Date Time",
label : "Creation Date Time",
tag : "creDtTm",
status : "M",
type : "DateTime"
} ]
}, {
path : "2",
name : "Underlying",
label : "Underlying",
tag : "undrlyg",
status : "M",
children : [ {
path : "2.0",
name : "Original Payment Information And Cancellation",
label : "Original Payment Information And Cancellation",
tag : "orgnlPmtInfAndCxl",
status : "M",
children : [ {
path : "2.0.0",
name : "Original Payment Information Identification",
label : "Original Payment Information Identification",
tag : "orgnlPmtInfId",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.1",
name : "Original Group Information",
label : "Original Group Information",
tag : "orgnlGrpInf",
status : "M",
children : [ {
path : "2.0.1.0",
name : "Original Message Identification",
label : "Original Message Identification",
tag : "orgnlMsgId",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.1.1",
name : "Original Message Name Identification",
label : "Original Message Name Identification",
tag : "orgnlMsgNmId",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.1.2",
name : "Original Creation Date Time",
label : "Original Creation Date Time",
tag : "orgnlCreDtTm",
status : "O",
type : "DateTime"
} ]
}, {
path : "2.0.2",
name : "Transaction Information",
label : "Transaction Information",
tag : "txInf",
status : "M",
children : [ {
path : "2.0.2.0",
name : "Cancellation Identification",
label : "Cancellation Identification",
tag : "cxlId",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1",
name : "Case",
label : "Case",
tag : "_case",
status : "M",
children : [ {
path : "2.0.2.1.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "16"
}, {
path : "2.0.2.1.1",
name : "Creator",
label : "Creator",
tag : "cretr",
status : "M",
type : "Choice",
children : [ {
path : "2.0.2.1.1.0",
name : "Party",
label : "Party",
tag : "pty",
status : "M",
children : [ {
path : "2.0.2.1.1.0.0",
name : "Name",
label : "Name",
tag : "nm",
status : "O",
type : "TextInput",
maxLength : "140"
}, {
path : "2.0.2.1.1.0.1",
name : "Postal Address",
label : "Postal Address",
tag : "pstlAdr",
status : "O",
children : [ {
path : "2.0.2.1.1.0.1.0",
name : "Department",
label : "Department",
tag : "dept",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.1.1.0.1.1",
name : "Sub Department",
label : "Sub Department",
tag : "subDept",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.1.1.0.1.2",
name : "Street Name",
label : "Street Name",
tag : "strtNm",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.1.1.0.1.3",
name : "Building Number",
label : "Building Number",
tag : "bldgNb",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.1.1.0.1.4",
name : "Building Name",
label : "Building Name",
tag : "bldgNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.1.5",
name : "Floor",
label : "Floor",
tag : "flr",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.1.1.0.1.6",
name : "Post Box",
label : "Post Box",
tag : "pstBx",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.1.1.0.1.7",
name : "Room",
label : "Room",
tag : "room",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.1.1.0.1.8",
name : "Post Code",
label : "Post Code",
tag : "pstCd",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.1.1.0.1.9",
name : "Town Name",
label : "Town Name",
tag : "twnNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.1.10",
name : "Town Location Name",
label : "Town Location Name",
tag : "twnLctnNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.1.11",
name : "District Name",
label : "District Name",
tag : "dstrctNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.1.12",
name : "Country Sub Division",
label : "Country Sub Division",
tag : "ctrySubDvsn",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.1.13",
name : "Country",
label : "Country",
tag : "ctry",
status : "M",
type : "Select#countryCode",
maxLength : "2"
}, {
path : "2.0.2.1.1.0.1.14",
name : "Address Line",
label : "Address Line",
tag : "adrLine",
status : "O",
type : "List#[0-9a-zA-Z/-?:().,'+ !#$%&*=^_`{|}~\";<>@\[\\\]]+",
maxLength : "35,3"
} ]
}, {
path : "2.0.2.1.1.0.2",
name : "Identification",
label : "Identification",
tag : "id",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.1.1.0.2.0",
name : "Organisation Identification",
label : "Organisation Identification",
tag : "orgId",
status : "M",
children : [ {
path : "2.0.2.1.1.0.2.0.0",
name : "Any BIC",
label : "Any BIC",
tag : "anyBIC",
status : "O",
type : "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength : "11"
}, {
path : "2.0.2.1.1.0.2.0.1",
name : "LEI",
label : "LEI",
tag : "lei",
status : "O",
type : "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength : "20"
}, {
path : "2.0.2.1.1.0.2.0.2",
name : "Other",
label : "Other",
tag : "othr",
array : true,
status : "O",
maxLength : "2",
children : [ {
path : "2.0.2.1.1.0.2.0.2.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.2.0.2.1",
name : "Scheme Name",
label : "Scheme Name",
tag : "schmeNm",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.1.1.0.2.0.2.1.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "4"
}, {
path : "2.0.2.1.1.0.2.0.2.1.1",
name : "Proprietary",
label : "Proprietary",
tag : "prtry",
status : "M",
type : "TextInput",
maxLength : "35"
} ]
}, {
path : "2.0.2.1.1.0.2.0.2.2",
name : "Issuer",
label : "Issuer",
tag : "issr",
status : "O",
type : "TextInput",
maxLength : "35"
} ]
} ]
}, {
path : "2.0.2.1.1.0.2.1",
name : "Private Identification",
label : "Private Identification",
tag : "prvtId",
status : "M",
children : [ {
path : "2.0.2.1.1.0.2.1.0",
name : "Date And Place Of Birth",
label : "Date And Place Of Birth",
tag : "dtAndPlcOfBirth",
status : "O",
children : [ {
path : "2.0.2.1.1.0.2.1.0.0",
name : "Birth Date",
label : "Birth Date",
tag : "birthDt",
status : "M",
type : "Date"
}, {
path : "2.0.2.1.1.0.2.1.0.1",
name : "Province Of Birth",
label : "Province Of Birth",
tag : "prvcOfBirth",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.2.1.0.2",
name : "City Of Birth",
label : "City Of Birth",
tag : "cityOfBirth",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.2.1.0.3",
name : "Country Of Birth",
label : "Country Of Birth",
tag : "ctryOfBirth",
status : "M",
type : "Select#countryCode",
maxLength : "2"
} ]
}, {
path : "2.0.2.1.1.0.2.1.1",
name : "Other",
label : "Other",
tag : "othr",
array : true,
status : "O",
maxLength : "2",
children : [ {
path : "2.0.2.1.1.0.2.1.1.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.1.1.0.2.1.1.1",
name : "Scheme Name",
label : "Scheme Name",
tag : "schmeNm",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.1.1.0.2.1.1.1.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "4"
}, {
path : "2.0.2.1.1.0.2.1.1.1.1",
name : "Proprietary",
label : "Proprietary",
tag : "prtry",
status : "M",
type : "TextInput",
maxLength : "35"
} ]
}, {
path : "2.0.2.1.1.0.2.1.1.2",
name : "Issuer",
label : "Issuer",
tag : "issr",
status : "O",
type : "TextInput",
maxLength : "35"
} ]
} ]
} ]
}, {
path : "2.0.2.1.1.0.3",
name : "Country Of Residence",
label : "Country Of Residence",
tag : "ctryOfRes",
status : "O",
type : "Select#countryCode",
maxLength : "2"
} ]
}, {
path : "2.0.2.1.1.1",
name : "Agent",
label : "Agent",
tag : "agt",
status : "M",
children : [ {
path : "2.0.2.1.1.1.0",
name : "Financial Institution Identification",
label : "Financial Institution Identification",
tag : "finInstnId",
status : "M",
children : [ {
path : "2.0.2.1.1.1.0.0",
name : "BICFI",
label : "BICFI",
tag : "bicfi",
status : "O",
type : "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength : "11"
}, {
path : "2.0.2.1.1.1.0.1",
name : "Clearing System Member Identification",
label : "Clearing System Member Identification",
tag : "clrSysMmbId",
status : "O",
children : [ {
path : "2.0.2.1.1.1.0.1.0",
name : "Clearing System Identification",
label : "Clearing System Identification",
tag : "clrSysId",
status : "M",
type : "Choice",
children : [ {
path : "2.0.2.1.1.1.0.1.0.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "5"
} ]
}, {
path : "2.0.2.1.1.1.0.1.1",
name : "Member Identification",
label : "Member Identification",
tag : "mmbId",
status : "M",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "28"
} ]
}, {
path : "2.0.2.1.1.1.0.2",
name : "LEI",
label : "LEI",
tag : "lei",
status : "O",
type : "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength : "20"
}, {
path : "2.0.2.1.1.1.0.3",
name : "Name",
label : "Name",
tag : "nm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "140"
}, {
path : "2.0.2.1.1.1.0.4",
name : "Postal Address",
label : "Postal Address",
tag : "pstlAdr",
status : "O",
children : [ {
path : "2.0.2.1.1.1.0.4.0",
name : "Department",
label : "Department",
tag : "dept",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "70"
}, {
path : "2.0.2.1.1.1.0.4.1",
name : "Sub Department",
label : "Sub Department",
tag : "subDept",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "70"
}, {
path : "2.0.2.1.1.1.0.4.2",
name : "Street Name",
label : "Street Name",
tag : "strtNm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "70"
}, {
path : "2.0.2.1.1.1.0.4.3",
name : "Building Number",
label : "Building Number",
tag : "bldgNb",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "16"
}, {
path : "2.0.2.1.1.1.0.4.4",
name : "Building Name",
label : "Building Name",
tag : "bldgNm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "35"
}, {
path : "2.0.2.1.1.1.0.4.5",
name : "Floor",
label : "Floor",
tag : "flr",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "70"
}, {
path : "2.0.2.1.1.1.0.4.6",
name : "Post Box",
label : "Post Box",
tag : "pstBx",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "16"
}, {
path : "2.0.2.1.1.1.0.4.7",
name : "Room",
label : "Room",
tag : "room",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "70"
}, {
path : "2.0.2.1.1.1.0.4.8",
name : "Post Code",
label : "Post Code",
tag : "pstCd",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "16"
}, {
path : "2.0.2.1.1.1.0.4.9",
name : "Town Name",
label : "Town Name",
tag : "twnNm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "35"
}, {
path : "2.0.2.1.1.1.0.4.10",
name : "Town Location Name",
label : "Town Location Name",
tag : "twnLctnNm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "35"
}, {
path : "2.0.2.1.1.1.0.4.11",
name : "District Name",
label : "District Name",
tag : "dstrctNm",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "35"
}, {
path : "2.0.2.1.1.1.0.4.12",
name : "Country Sub Division",
label : "Country Sub Division",
tag : "ctrySubDvsn",
status : "O",
type : "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength : "35"
}, {
path : "2.0.2.1.1.1.0.4.13",
name : "Country",
label : "Country",
tag : "ctry",
status : "O",
type : "Select#countryCode",
maxLength : "2"
}, {
path : "2.0.2.1.1.1.0.4.14",
name : "Address Line",
label : "Address Line",
tag : "adrLine",
status : "O",
type : "List#[0-9a-zA-Z/-?:().,'+ !#$%&*=^_`{|}~\";<>@\[\\\]]+",
maxLength : "35,3"
} ]
} ]
} ]
} ]
} ]
}, {
path : "2.0.2.2",
name : "Original Instruction Identification",
label : "Original Instruction Identification",
tag : "orgnlInstrId",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.3",
name : "Original End To End Identification",
label : "Original End To End Identification",
tag : "orgnlEndToEndId",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.4",
name : "Original UETR",
label : "Original UETR",
tag : "orgnlUETR",
status : "M",
type : "TextInput#[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}",
maxLength : "36"
}, {
path : "2.0.2.5",
name : "Original Instructed Amount",
label : "Original Instructed Amount",
tag : "orgnlInstdAmt",
status : "M",
type : "Amount#18,5"
}, {
path : "2.0.2.6",
name : "Original Requested Execution Date",
label : "Original Requested Execution Date",
tag : "orgnlReqdExctnDt",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.6.0",
name : "Date",
label : "Date",
tag : "dt",
status : "M",
type : "Date"
}, {
path : "2.0.2.6.1",
name : "Date Time",
label : "Date Time",
tag : "dtTm",
status : "M",
type : "DateTime"
} ]
}, {
path : "2.0.2.7",
name : "Original Requested Collection Date",
label : "Original Requested Collection Date",
tag : "orgnlReqdColltnDt",
status : "O",
type : "Date"
}, {
path : "2.0.2.8",
name : "Cancellation Reason Information",
label : "Cancellation Reason Information",
tag : "cxlRsnInf",
status : "M",
children : [ {
path : "2.0.2.8.0",
name : "Originator",
label : "Originator",
tag : "orgtr",
status : "O",
children : [ {
path : "2.0.2.8.0.0",
name : "Name",
label : "Name",
tag : "nm",
status : "O",
type : "TextInput",
maxLength : "140"
}, {
path : "2.0.2.8.0.1",
name : "Postal Address",
label : "Postal Address",
tag : "pstlAdr",
status : "O",
children : [ {
path : "2.0.2.8.0.1.0",
name : "Department",
label : "Department",
tag : "dept",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.8.0.1.1",
name : "Sub Department",
label : "Sub Department",
tag : "subDept",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.8.0.1.2",
name : "Street Name",
label : "Street Name",
tag : "strtNm",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.8.0.1.3",
name : "Building Number",
label : "Building Number",
tag : "bldgNb",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.8.0.1.4",
name : "Building Name",
label : "Building Name",
tag : "bldgNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.1.5",
name : "Floor",
label : "Floor",
tag : "flr",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.8.0.1.6",
name : "Post Box",
label : "Post Box",
tag : "pstBx",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.8.0.1.7",
name : "Room",
label : "Room",
tag : "room",
status : "O",
type : "TextInput",
maxLength : "70"
}, {
path : "2.0.2.8.0.1.8",
name : "Post Code",
label : "Post Code",
tag : "pstCd",
status : "O",
type : "TextInput",
maxLength : "16"
}, {
path : "2.0.2.8.0.1.9",
name : "Town Name",
label : "Town Name",
tag : "twnNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.1.10",
name : "Town Location Name",
label : "Town Location Name",
tag : "twnLctnNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.1.11",
name : "District Name",
label : "District Name",
tag : "dstrctNm",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.1.12",
name : "Country Sub Division",
label : "Country Sub Division",
tag : "ctrySubDvsn",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.1.13",
name : "Country",
label : "Country",
tag : "ctry",
status : "M",
type : "Select#countryCode",
maxLength : "2"
}, {
path : "2.0.2.8.0.1.14",
name : "Address Line",
label : "Address Line",
tag : "adrLine",
status : "O",
type : "List#[0-9a-zA-Z/-?:().,'+ !#$%&*=^_`{|}~\";<>@\[\\\]]+",
maxLength : "35,3"
} ]
}, {
path : "2.0.2.8.0.2",
name : "Identification",
label : "Identification",
tag : "id",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.8.0.2.0",
name : "Organisation Identification",
label : "Organisation Identification",
tag : "orgId",
status : "M",
children : [ {
path : "2.0.2.8.0.2.0.0",
name : "Any BIC",
label : "Any BIC",
tag : "anyBIC",
status : "O",
type : "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength : "11"
}, {
path : "2.0.2.8.0.2.0.1",
name : "LEI",
label : "LEI",
tag : "lei",
status : "O",
type : "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength : "20"
}, {
path : "2.0.2.8.0.2.0.2",
name : "Other",
label : "Other",
tag : "othr",
array : true,
status : "O",
maxLength : "2",
children : [ {
path : "2.0.2.8.0.2.0.2.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.2.0.2.1",
name : "Scheme Name",
label : "Scheme Name",
tag : "schmeNm",
status : "O",
type : "Choice",
children : [ {
path : "2.0.2.8.0.2.0.2.1.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "4"
} ]
}, {
path : "2.0.2.8.0.2.0.2.2",
name : "Issuer",
label : "Issuer",
tag : "issr",
status : "O",
type : "TextInput",
maxLength : "35"
} ]
} ]
}, {
path : "2.0.2.8.0.2.1",
name : "Private Identification",
label : "Private Identification",
tag : "prvtId",
status : "M",
children : [ {
path : "2.0.2.8.0.2.1.0",
name : "Date And Place Of Birth",
label : "Date And Place Of Birth",
tag : "dtAndPlcOfBirth",
status : "O",
children : [ {
path : "2.0.2.8.0.2.1.0.0",
name : "Birth Date",
label : "Birth Date",
tag : "birthDt",
status : "M",
type : "Date"
}, {
path : "2.0.2.8.0.2.1.0.1",
name : "Province Of Birth",
label : "Province Of Birth",
tag : "prvcOfBirth",
status : "O",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.2.1.0.2",
name : "City Of Birth",
label : "City Of Birth",
tag : "cityOfBirth",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.2.1.0.3",
name : "Country Of Birth",
label : "Country Of Birth",
tag : "ctryOfBirth",
status : "M",
type : "Select#countryCode",
maxLength : "2"
} ]
}, {
path : "2.0.2.8.0.2.1.1",
name : "Other",
label : "Other",
tag : "othr",
array : true,
status : "O",
maxLength : "2",
children : [ {
path : "2.0.2.8.0.2.1.1.0",
name : "Identification",
label : "Identification",
tag : "id",
status : "M",
type : "TextInput",
maxLength : "35"
}, {
path : "2.0.2.8.0.2.1.1.1",
name : "Scheme Name",
label : "Scheme Name",
tag : "schmeNm",
status : "M",
type : "Choice",
children : [ {
path : "2.0.2.8.0.2.1.1.1.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "TextInput",
maxLength : "4"
} ]
}, {
path : "2.0.2.8.0.2.1.1.2",
name : "Issuer",
label : "Issuer",
tag : "issr",
status : "O",
type : "TextInput",
maxLength : "35"
} ]
} ]
} ]
}, {
path : "2.0.2.8.0.3",
name : "Country Of Residence",
label : "Country Of Residence",
tag : "ctryOfRes",
status : "O",
type : "Select#countryCode",
maxLength : "2"
} ]
}, {
path : "2.0.2.8.1",
name : "Reason",
label : "Reason",
tag : "rsn",
status : "M",
type : "Choice",
children : [ {
path : "2.0.2.8.1.0",
name : "Code",
label : "Code",
tag : "cd",
status : "M",
type : "Select#codeCode055",
maxLength : "4"
} ]
}, {
path : "2.0.2.8.2",
name : "Additional Information",
label : "Additional Information",
tag : "addtlInf",
status : "O",
type : "List#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength : "105,2"
} ]
} ]
} ]
} ]
},
{
path: "3",
name: "Identifier",
tag: "identifier",
type: "HiddenInput",
status: "O",
defaultValue: "camt.055.001.08",
},
{
path: "4",
name: "Type",
tag: "type",
type: "HiddenInput",
status: "O",
defaultValue: "cbpr",
}, ]
export default [{
path: "0",
name: "Business Application Header V02 (head.001.001.02)",
label: "Business Application Header V02 (head.001.001.02)",
tag: "appHdr",
status: "M",
type: "Head_001_001_02"
}, {
path: "1",
name: "Group Header",
label: "Group Header",
tag: "grpHdr",
status: "M",
children: [{
path: "1.0",
name: "Message Identification",
label: "Message Identification",
tag: "msgId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "16"
}, {
path: "1.1",
name: "Creation Date Time",
label: "Creation Date Time",
tag: "creDtTm",
status: "M",
type: "DateTime"
}, {
path: "1.2",
name: "Message Sender",
label: "Message Sender",
tag: "msgSndr",
status: "O",
type: "Choice",
children: [{
path: "1.2.0",
name: "Party",
label: "Party",
tag: "pty",
status: "M",
children: [{
path: "1.2.0.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "1.2.0.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "1.2.0.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.0.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.0.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.0.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.0.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.0.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.0.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.0.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.0.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "1.2.0.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "1.2.0.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "1.2.0.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "1.2.0.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "1.2.0.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "1.2.0.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "1.2.0.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "1.2.0.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "1.2.0.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "1.2.0.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "1.2.0.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "1.2.0.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "1.2.0.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "1.2.0.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "1.2.0.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.0.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "1.2.0.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "1.2.0.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "1.2.0.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "1.2.0.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "1.2.0.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "1.2.0.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "1.2.0.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "1.2.1",
name: "Agent",
label: "Agent",
tag: "agt",
status: "M",
children: [{
path: "1.2.1.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "1.2.1.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "1.2.1.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "1.2.1.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "1.2.1.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "1.2.1.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "1.2.1.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "1.2.1.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "1.2.1.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "1.2.1.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.1.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.1.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.1.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.1.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.1.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.1.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.1.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "1.2.1.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "1.2.1.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.1.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.1.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.1.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "1.2.1.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "1.2.1.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}]
}]
}, {
path: "2",
name: "Original Notification",
label: "Original Notification",
tag: "orgnlNtfctn",
status: "M",
children: [{
path: "2.0",
name: "Original Message Identification",
label: "Original Message Identification",
tag: "orgnlMsgId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.1",
name: "Original Creation Date Time",
label: "Original Creation Date Time",
tag: "orgnlCreDtTm",
status: "O",
type: "DateTime"
}, {
path: "2.2",
name: "Original Notification Identification",
label: "Original Notification Identification",
tag: "orgnlNtfctnId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3",
name: "Original Notification Reference",
label: "Original Notification Reference",
tag: "orgnlNtfctnRef",
status: "M",
children: [{
path: "2.3.0",
name: "Debtor",
label: "Debtor",
tag: "dbtr",
status: "O",
type: "Choice",
children: [{
path: "2.3.0.0",
name: "Party",
label: "Party",
tag: "pty",
status: "M",
children: [{
path: "2.3.0.0.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.0.0.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.0.0.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.0.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.0.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.0.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.0.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.0.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.0.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.0.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.0.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.0.0.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "2.3.0.0.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.3.0.0.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "2.3.0.0.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.0.0.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.0.0.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.3.0.0.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3.0.0.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.3.0.0.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.3.0.0.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.3.0.0.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.3.0.0.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "2.3.0.0.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "2.3.0.0.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "2.3.0.0.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.0.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.3.0.0.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.3.0.0.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3.0.0.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.3.0.0.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.3.0.0.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.3.0.0.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "2.3.0.0.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.3.0.1",
name: "Agent",
label: "Agent",
tag: "agt",
status: "M",
children: [{
path: "2.3.0.1.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "2.3.0.1.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.0.1.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "2.3.0.1.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "2.3.0.1.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "2.3.0.1.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "2.3.0.1.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.0.1.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.0.1.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.0.1.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.1.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.1.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.1.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.1.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.1.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.1.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.1.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.0.1.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.0.1.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.1.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.1.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.1.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.0.1.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.0.1.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}]
}, {
path: "2.3.1",
name: "Debtor Agent",
label: "Debtor Agent",
tag: "dbtrAgt",
status: "O",
children: [{
path: "2.3.1.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "2.3.1.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.1.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "2.3.1.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "2.3.1.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "2.3.1.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "2.3.1.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.1.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.1.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.1.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.1.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.1.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.1.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.1.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.1.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.1.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.1.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.1.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.1.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.1.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.1.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.1.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.1.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.1.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}, {
path: "2.3.2",
name: "Original Item",
label: "Original Item",
tag: "orgnlItm",
array: true,
status: "M",
children: [{
path: "2.3.2.0",
name: "Original Item Identification",
label: "Original Item Identification",
tag: "orgnlItmId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "16"
}, {
path: "2.3.2.1",
name: "Original End To End Identification",
label: "Original End To End Identification",
tag: "orgnlEndToEndId",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3.2.2",
name: "UETR",
label: "UETR",
tag: "uetr",
status: "O",
type: "TextInput#[a-f0-9]{8}-[a-f0-9]{4}-4[a-f0-9]{3}-[89ab][a-f0-9]{3}-[a-f0-9]{12}",
maxLength: "36"
}, {
path: "2.3.2.3",
name: "Amount",
label: "Amount",
tag: "amt",
status: "M",
type: "Amount#14,5"
}, {
path: "2.3.2.4",
name: "Expected Value Date",
label: "Expected Value Date",
tag: "xpctdValDt",
status: "O",
type: "Date"
}, {
path: "2.3.2.5",
name: "Original Item Reference",
label: "Original Item Reference",
tag: "orgnlItmRef",
status: "O",
children: [{
path: "2.3.2.5.0",
name: "Debtor",
label: "Debtor",
tag: "dbtr",
status: "O",
type: "Choice",
children: [{
path: "2.3.2.5.0.0",
name: "Party",
label: "Party",
tag: "pty",
status: "M",
children: [{
path: "2.3.2.5.0.0.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.2.5.0.0.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.2.5.0.0.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.0.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.0.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.0.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.0.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.0.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.0.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.0.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.0.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.2.5.0.0.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "2.3.2.5.0.0.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.3.2.5.0.0.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "2.3.2.5.0.0.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.2.5.0.0.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.2.5.0.0.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.3.2.5.0.0.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.3.2.5.0.0.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.3.2.5.0.0.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.3.2.5.0.0.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.3.2.5.0.0.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "2.3.2.5.0.0.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "2.3.2.5.0.0.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "2.3.2.5.0.0.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.3.2.5.0.0.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.3.2.5.0.0.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.0.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.3.2.5.0.0.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.3.2.5.0.0.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.3.2.5.0.0.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "2.3.2.5.0.0.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.3.2.5.0.1",
name: "Agent",
label: "Agent",
tag: "agt",
status: "M",
children: [{
path: "2.3.2.5.0.1.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "2.3.2.5.0.1.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.2.5.0.1.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "2.3.2.5.0.1.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "2.3.2.5.0.1.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "2.3.2.5.0.1.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "2.3.2.5.0.1.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.2.5.0.1.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.2.5.0.1.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.2.5.0.1.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.1.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.1.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.1.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.1.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.1.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.1.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.1.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.0.1.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.0.1.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.1.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.1.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.1.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.0.1.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.2.5.0.1.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}]
}, {
path: "2.3.2.5.1",
name: "Debtor Agent",
label: "Debtor Agent",
tag: "dbtrAgt",
status: "O",
children: [{
path: "2.3.2.5.1.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "2.3.2.5.1.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.3.2.5.1.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "2.3.2.5.1.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "2.3.2.5.1.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "2.3.2.5.1.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "2.3.2.5.1.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.3.2.5.1.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.3.2.5.1.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.3.2.5.1.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.1.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.1.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.1.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.1.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.1.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.1.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.1.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.3.2.5.1.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.3.2.5.1.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.1.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.1.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.1.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.3.2.5.1.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.3.2.5.1.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}]
}]
}]
}]
}, {
path: "3",
name: "Cancellation Reason",
label: "Cancellation Reason",
tag: "cxlRsn",
status: "M",
children: [{
path: "3.0",
name: "Originator",
label: "Originator",
tag: "orgtr",
status: "O",
children: [{
path: "3.0.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "3.0.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "3.0.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "3.0.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "3.0.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "3.0.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "3.0.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "3.0.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "3.0.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "3.0.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "3.0.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "3.0.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "3.0.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "3.0.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "3.0.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "3.0.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "3.0.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "3.0.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "3.0.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "3.0.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "3.0.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "3.0.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "3.0.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "3.0.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "3.0.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "3.0.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "3.0.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "3.0.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "3.0.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "3.0.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "3.0.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "3.0.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "3.0.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "3.0.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "3.1",
name: "Reason",
label: "Reason",
tag: "rsn",
status: "M",
type: "Choice",
children: [{
path: "3.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "Select#codeCode058",
maxLength: "4"
}]
}, {
path: "3.2",
name: "Additional Information",
label: "Additional Information",
tag: "addtlInf",
status: "O",
type: "List#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "105,2"
}]
},
{
path: "4",
name: "Identifier",
tag: "identifier",
type: "HiddenInput",
status: "O",
defaultValue: "camt.058.001.08",
},
{
path: "5",
name: "Type",
tag: "type",
type: "HiddenInput",
status: "O",
defaultValue: "cbpr",
},
]
export default [{
path: "0",
name: "Business Application Header V02 (head.001.001.02)",
label: "Business Application Header V02 (head.001.001.02)",
tag: "appHdr",
status: "M",
type: "Head_001_001_02"
}, {
path: "1",
name: "Group Header",
label: "Group Header",
tag: "grpHdr",
status: "M",
children: [{
path: "1.0",
name: "Message Identification",
label: "Message Identification",
tag: "msgId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "16"
}, {
path: "1.1",
name: "Creation Date Time",
label: "Creation Date Time",
tag: "creDtTm",
status: "M",
type: "DateTime"
}, {
path: "1.2",
name: "Number Of Cheques",
label: "Number Of Cheques",
tag: "nbOfChqs",
status: "M",
type: "TextInput#[0-9]{1,15}",
maxLength: "15"
}]
},{
path: "2",
name: "Cheque",
label: "Cheque",
tag: "chq",
status: "M",
children: [{
path: "2.0",
name: "Instruction Identification",
label: "Instruction Identification",
tag: "instrId",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35",
unable: true,
}, {
path: "2.1",
name: "Cheque Number",
label: "Cheque Number",
tag: "chqNb",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "16"
}, {
path: "2.2",
name: "Issue Date",
label: "Issue Date",
tag: "isseDt",
status: "M",
type: "Date"
}, {
path: "2.3",
name: "Stale Date",
label: "Stale Date",
tag: "stlDt",
status: "O",
type: "Date"
}, {
path: "2.4",
name: "Amount",
label: "Amount",
tag: "amt",
status: "M",
type: "Amount#14,5"
}, {
path: "2.5",
name: "Value Date",
label: "Value Date",
tag: "valDt",
status: "O",
type: "Choice",
children: [{
path: "2.5.0",
name: "Date",
label: "Date",
tag: "dt",
status: "M",
type: "Date"
}]
}, {
path: "2.6",
name: "Payer",
label: "Payer",
tag: "pyer",
status: "M",
children: [{
path: "2.6.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.6.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "M",
children: [{
path: "2.6.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.6.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.6.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.6.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.6.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.6.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.6.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.6.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.6.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.6.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "2.6.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.6.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "2.6.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.6.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.6.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.6.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.6.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.6.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.6.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.6.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.6.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "2.6.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "2.6.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "2.6.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.6.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.6.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.6.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.6.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.6.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.6.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.6.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "2.6.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.7",
name: "Payer Account",
label: "Payer Account",
tag: "pyerAcct",
status: "O",
children: [{
path: "2.7.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.7.0.0",
name: "IBAN",
label: "IBAN",
tag: "iBAN",
status: "M",
type: "TextInput#[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}",
maxLength: "34"
}, {
path: "2.7.0.1",
name: "Other",
label: "Other",
tag: "othr",
status: "M",
children: [{
path: "2.7.0.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#([0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ]([0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ]*(/[0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ])?)*)",
maxLength: "34"
}, {
path: "2.7.0.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.7.0.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.7.0.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.7.0.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.7.1",
name: "Type",
label: "Type",
tag: "tp",
status: "O",
type: "Choice",
children: [{
path: "2.7.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.7.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.7.2",
name: "Currency",
label: "Currency",
tag: "ccy",
status: "O",
type: "Select#ccy"
}, {
path: "2.7.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "70"
}, {
path: "2.7.4",
name: "Proxy",
label: "Proxy",
tag: "prxy",
status: "O",
children: [{
path: "2.7.4.0",
name: "Type",
label: "Type",
tag: "tp",
status: "O",
type: "Choice",
children: [{
path: "2.7.4.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.7.4.0.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.7.4.1",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "320"
}]
}]
}, {
path: "2.8",
name: "Drawer Agent",
label: "Drawer Agent",
tag: "drwrAgt",
status: "O",
children: [{
path: "2.8.0",
name: "Financial Institution Identification",
label: "Financial Institution Identification",
tag: "finInstnId",
status: "M",
children: [{
path: "2.8.0.0",
name: "BICFI",
label: "BICFI",
tag: "bicfi",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.8.0.1",
name: "Clearing System Member Identification",
label: "Clearing System Member Identification",
tag: "clrSysMmbId",
status: "O",
children: [{
path: "2.8.0.1.0",
name: "Clearing System Identification",
label: "Clearing System Identification",
tag: "clrSysId",
status: "M",
type: "Choice",
children: [{
path: "2.8.0.1.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "5"
}]
}, {
path: "2.8.0.1.1",
name: "Member Identification",
label: "Member Identification",
tag: "mmbId",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "28"
}]
}, {
path: "2.8.0.2",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.8.0.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.8.0.4",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "O",
children: [{
path: "2.8.0.4.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.8.0.4.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.8.0.4.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.8.0.4.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.8.0.4.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.8.0.4.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.8.0.4.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.8.0.4.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.8.0.4.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.8.0.4.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.8.0.4.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.8.0.4.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.8.0.4.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.8.0.4.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.8.0.4.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}]
}]
}, {
path: "2.9",
name: "Drawer Agent Account",
label: "Drawer Agent Account",
tag: "drwrAgtAcct",
status: "O",
children: [{
path: "2.9.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.9.0.0",
name: "IBAN",
label: "IBAN",
tag: "iBAN",
status: "M",
type: "TextInput#[A-Z]{2,2}[0-9]{2,2}[a-zA-Z0-9]{1,30}",
maxLength: "34"
}, {
path: "2.9.0.1",
name: "Other",
label: "Other",
tag: "othr",
status: "M",
children: [{
path: "2.9.0.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#([0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ]([0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ]*(/[0-9a-zA-Z\\-\\?:\\(\\)\\.,'\\+ ])?)*)",
maxLength: "34"
}, {
path: "2.9.0.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.9.0.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.9.0.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.9.0.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.9.1",
name: "Type",
label: "Type",
tag: "tp",
status: "O",
type: "Choice",
children: [{
path: "2.9.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.9.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.9.2",
name: "Currency",
label: "Currency",
tag: "ccy",
status: "O",
type: "Select#ccy"
}, {
path: "2.9.3",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "70"
}, {
path: "2.9.4",
name: "Proxy",
label: "Proxy",
tag: "prxy",
status: "O",
children: [{
path: "2.9.4.0",
name: "Type",
label: "Type",
tag: "tp",
status: "O",
type: "Choice",
children: [{
path: "2.9.4.0.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.9.4.0.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.9.4.1",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "320"
}]
}]
}, {
path: "2.10",
name: "Payee",
label: "Payee",
tag: "pyee",
status: "M",
children: [{
path: "2.10.0",
name: "Name",
label: "Name",
tag: "nm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "140"
}, {
path: "2.10.1",
name: "Postal Address",
label: "Postal Address",
tag: "pstlAdr",
status: "M",
children: [{
path: "2.10.1.0",
name: "Department",
label: "Department",
tag: "dept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.10.1.1",
name: "Sub Department",
label: "Sub Department",
tag: "subDept",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.10.1.2",
name: "Street Name",
label: "Street Name",
tag: "strtNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.10.1.3",
name: "Building Number",
label: "Building Number",
tag: "bldgNb",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.10.1.4",
name: "Building Name",
label: "Building Name",
tag: "bldgNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.1.5",
name: "Floor",
label: "Floor",
tag: "flr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.10.1.6",
name: "Post Box",
label: "Post Box",
tag: "pstBx",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.10.1.7",
name: "Room",
label: "Room",
tag: "room",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "70"
}, {
path: "2.10.1.8",
name: "Post Code",
label: "Post Code",
tag: "pstCd",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "16"
}, {
path: "2.10.1.9",
name: "Town Name",
label: "Town Name",
tag: "twnNm",
status: "O",
type: "TextInput",
maxLength: "35"
}, {
path: "2.10.1.10",
name: "Town Location Name",
label: "Town Location Name",
tag: "twnLctnNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.1.11",
name: "District Name",
label: "District Name",
tag: "dstrctNm",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.1.12",
name: "Country Sub Division",
label: "Country Sub Division",
tag: "ctrySubDvsn",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.1.13",
name: "Country",
label: "Country",
tag: "ctry",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}, {
path: "2.10.1.14",
name: "Address Line",
label: "Address Line",
tag: "adrLine",
status: "O",
type: "List",
maxLength: "35,3"
}]
}, {
path: "2.10.2",
name: "Identification",
label: "Identification",
tag: "id",
status: "O",
type: "Choice",
children: [{
path: "2.10.2.0",
name: "Organisation Identification",
label: "Organisation Identification",
tag: "orgId",
status: "M",
children: [{
path: "2.10.2.0.0",
name: "Any BIC",
label: "Any BIC",
tag: "anyBIC",
status: "O",
type: "TextInput#[A-Z0-9]{4,4}[A-Z]{2,2}[A-Z0-9]{2,2}([A-Z0-9]{3,3}){0,1}",
maxLength: "11"
}, {
path: "2.10.2.0.1",
name: "LEI",
label: "LEI",
tag: "lei",
status: "O",
type: "TextInput#[A-Z0-9]{18,18}[0-9]{2,2}",
maxLength: "20"
}, {
path: "2.10.2.0.2",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.10.2.0.2.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.10.2.0.2.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.10.2.0.2.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.10.2.0.2.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.10.2.0.2.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}, {
path: "2.10.2.1",
name: "Private Identification",
label: "Private Identification",
tag: "prvtId",
status: "M",
children: [{
path: "2.10.2.1.0",
name: "Date And Place Of Birth",
label: "Date And Place Of Birth",
tag: "dtAndPlcOfBirth",
status: "O",
children: [{
path: "2.10.2.1.0.0",
name: "Birth Date",
label: "Birth Date",
tag: "birthDt",
status: "M",
type: "Date"
}, {
path: "2.10.2.1.0.1",
name: "Province Of Birth",
label: "Province Of Birth",
tag: "prvcOfBirth",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.2.1.0.2",
name: "City Of Birth",
label: "City Of Birth",
tag: "cityOfBirth",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ !#$%&\\*=^_`\\{\\|\\}~\";<>@\\[\\\\\\]]+",
maxLength: "35"
}, {
path: "2.10.2.1.0.3",
name: "Country Of Birth",
label: "Country Of Birth",
tag: "ctryOfBirth",
status: "M",
type: "Select#countryCode",
maxLength: "2"
}]
}, {
path: "2.10.2.1.1",
name: "Other",
label: "Other",
tag: "othr",
array: true,
status: "O",
maxLength: "2",
children: [{
path: "2.10.2.1.1.0",
name: "Identification",
label: "Identification",
tag: "id",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}, {
path: "2.10.2.1.1.1",
name: "Scheme Name",
label: "Scheme Name",
tag: "schmeNm",
status: "O",
type: "Choice",
children: [{
path: "2.10.2.1.1.1.0",
name: "Code",
label: "Code",
tag: "cd",
status: "M",
type: "TextInput",
maxLength: "4"
}, {
path: "2.10.2.1.1.1.1",
name: "Proprietary",
label: "Proprietary",
tag: "prtry",
status: "M",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}, {
path: "2.10.2.1.1.2",
name: "Issuer",
label: "Issuer",
tag: "issr",
status: "O",
type: "TextInput#[0-9a-zA-Z/\\-\\?:\\(\\)\\.,'\\+ ]+",
maxLength: "35"
}]
}]
}]
}, {
path: "2.10.3",
name: "Country Of Residence",
label: "Country Of Residence",
tag: "ctryOfRes",
status: "O",
type: "Select#countryCode",
maxLength: "2"
}]
}]
},
{
path: "3",
name: "Identifier",
tag: "identifier",
type: "HiddenInput",
status: "O",
defaultValue: "camt.107.001.01",
},
{
path: "4",
name: "Type",
tag: "type",
type: "HiddenInput",
status: "O",
defaultValue: "cbpr",
},
]
import message from '../Message.js'
import { isEmpty, isNotEmpty } from '../BeanUtil.js'
import commonRule from './commonRule.js';
export default function validator(obj) {
console.log("Execult camt055 validatorRule");
//r1
if (!CBPR_From_To_Assigner_Assignee_BIC_1_FormalRule(obj.appHdr, obj.assgnmt, "Business Application Header/From&To/BIC")) {
return false;
}
//r2
if (!CBPR_From_To_Assigner_Assignee_BIC_2_FormalRule(obj.appHdr, obj.assgnmt, "Business Application Header/From&To/BIC")) {
return false;
}
//r7
if (!CBPR_Business_Service_Usage_TextualRule(obj.appHdr)) {
return false;
}
//r13
if (!CBPR_Case_Identification_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case)) {
return false;
}
//r15 //r17//r18//r14
if(isNotEmpty(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.pty)){
if (!CBPR_Party_Name_Postal_Address_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.pty, "Creator/Party/Name") ||
!CBPR_Structured_vs_Unstructured_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.pty.pstlAdr, "Transaction Information/Case/Creator/Party/Postal Address") ||
!CBPR_Town_Name_And_Country_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.pty.pstlAdr, "Transaction Information/Case/Creator/Party/Postal Address") ||
!CBPR_Party_Name_Any_BIC_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.pty,"Transaction Information/Case/Creator/Party/Name")) {
return false;
}
}
//r23
if(!CBPR_Co_existence_Postal_Address_TextualRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf)){
return false;
}
//r25r26
if(isNotEmpty(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.agt)){
if(!CBPR_Structured_vs_Unstructured_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.agt.pstlAdr, "Transaction Information/Case/Creator/Agent/Postal Address") ||
!CBPR_Town_Name_And_Country_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.agt.pstlAdr, "Transaction Information/Case/Creator/Agent/Postal Address")){
return false;
}
//r24
if (!CBPR_Agent_Name_Postal_Address_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf._case.cretr.agt.finInstnId)){
return false;
}
}
//r41
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf.cxlRsnInf.orgtr.pstlAdr, "Cancellation Reason Information/Originator/Postal Address")) {
return false;
}
//r40
if (!CBPR_Town_Name_And_Country_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf.cxlRsnInf.orgtr.pstlAdr, "Cancellation Reason Information/Originator/Postal Address")) {
return false;
}
//r16
if (!CBPR_OriginalRequestedExecutionDate_OriginalRequestedCollectionDate_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf, "Original Requested Execution Date / Original Requested Collection Date")) {
return false;
}
//r11
if(!CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj.undrlyg.orgnlPmtInfAndCxl.txInf.cxlRsnInf,"Cancellation Reason Information")){
return false;
}
return true;
}
// OriginalRequestedExecutionDate或OriginalRequestedCollectionDate必须存在,但两者不能同时存在。
function CBPR_OriginalRequestedExecutionDate_OriginalRequestedCollectionDate_FormalRule(obj1,position){
const msg = "Either OriginalRequestedExecutionDate or OriginalRequestedCollectionDate must be present, but both can't be present.";
const orgnlReqdExctnDt = obj1.orgnlReqdExctnDt;
const orgnlReqdColltnDt = obj1.orgnlReqdColltnDt;
if (isEmpty(orgnlReqdExctnDt) && isEmpty(orgnlReqdColltnDt)){
message(position, msg);
return false;
}
if (isNotEmpty(orgnlReqdExctnDt) && isNotEmpty(orgnlReqdColltnDt)){
message(position, msg);
return false;
}
return true;
}
//首选表示为UTC偏移格式的本地时间(YYYY-MM-DDThh:mm:ss.sss+/-hh:mm)。否则使用UTC时间格式(YYYY-MM-DDThh:mm:ss.sssZ)。用3位数字表示的秒的十进制分数。
function CGI_MP_ISODateTime_TextualRule(){
const msg = "Preferred representation is Local time with UTC offset format (YYYY-MM-DDThh:mm:ss.sss+/-hh:mm). Otherwise use UTC time format (YYYY-MM-DDThh:mm:ss.sssZ). Decimal fractions of seconds with 3 digits.";
return true
}
// r1 BAH "From" BIC必须匹配"Assigner" BIC,除非BAH CopyDuplicate = COPY或= CODU
// BAH "To" BIC必须与"Assignee" BIC匹配,除非BAH CopyDuplicate = COPY或= CODU
function CBPR_From_To_Assigner_Assignee_BIC_1_FormalRule(obj1, obj2, position) {
const msg = "BAH 'From' BIC must match 'Assigner' BIC, except where BAH CopyDuplicate = COPY or = CODUBAH 'To' BIC must match 'Assignee' BIC, except where BAH CopyDuplicate = COPY or = CODU";
const frombic = obj1.fr.fiId.finInstnId.bicfi;
const tobic = obj1.to.fiId.finInstnId.bicfi;
const cpyDplct = obj1.cpyDplct;
const AssignerBic = obj2.assgnr.agt.finInstnId.bicfi;
const AssigneeBic = obj2.assgne.agt.finInstnId.bicfi;
if (isNotEmpty(frombic)) {
if (frombic != AssignerBic) {
if (cpyDplct != 'COPY' && cpyDplct != 'CODU') {
message(position, msg);
return false;
}
}
}
if (isNotEmpty(tobic)) {
if (tobic != AssigneeBic) {
if (cpyDplct != 'COPY' && cpyDplct != 'CODU') {
message(position, msg);
return false;
}
}
}
return true;
}
// r2 如果没有副本,“BIC”中的“BAH”必须匹配“Assigner”BIC。
//如果没有副本,BAH "To" BIC必须与"受让人" BIC匹配
function CBPR_From_To_Assigner_Assignee_BIC_2_FormalRule(obj1, obj2, position) {
const msg = "BAH 'From' BIC must match 'Assigner' BIC if CopyDuplicate is absent." +
"BAH 'To' BIC must match 'Assignee' BIC if CopyDuplicate is absent.";
const frombic = obj1.fr.fiId.finInstnId.bicfi;
const tobic = obj1.to.fiId.finInstnId.bicfi;
const cpyDplct = obj1.cpyDplct;
const AssignerBic = obj2.assgnr.agt.finInstnId.bicfi;
const AssigneeBic = obj2.assgne.agt.finInstnId.bicfi;
if (isEmpty(cpyDplct)) {
if (frombic != AssignerBic || tobic != AssigneeBic) {
message(position, msg);
return false;
}
}
return true;
}
// r9 有关该字段用法的进一步说明,请参阅CBPR Plus UHB。
function CBPR_Character_Set_Usage_TextualRule() {
const msg = "For further description on the usage of the field, pls refer to the CBPR Plus UHB.";
return true;
}
//r4 业务消息标识符是与此标头一起传输的业务消息实例的唯一标识符,由发送应用程序或系统定义。必须包含底层消息的Group Header中的Message Identification元素(如果可用)(例如,pacs、pain和camt消息通常是这样)。如果消息标识在基础消息中不可用,则此字段必须包含业务消息实例的唯一标识符。
function CBPR_Business_Message_Identifier_TextualRule() {
const msg = "The Business Message Identifier is the unique identifier of the Business Message instance that is being transported with this header, as defined by the sending application or system. Must contain the Message Identification element from the Group Header of the underlying message, where available (as is typically the case with pacs, pain, and camt messages, for example). If Message Identification is not available in the underlying message, then this field must contain the unique identifier of the Business Message instance.";
return true;
}
// r5 与此标头一起传输的业务消息实例的消息定义标识符。通常,它的格式必须与Business Message实例的命名空间的格式完全一致。
function CBPR_Message_Definition_Identifier_TextualRule() {
const msg = "The Message Definition Identifier of the Business Message instance that is being transported with this header. In general, it must be formatted exactly as it appears in the namespace of the Business Message instance.";
return true;
}
// r6 SWIFT可以使用该字段来支持SWIFT管理的业务(如FINplus)上的差异化处理。有关保留值的描述,请参阅您的服务的服务描述。
// 例如,为了支持CBPRPlus的差异化处理,SWIFT保留了一组符合特定格式的值。
// 可以使用用户特定的值,但在这样做之前请联系您的服务管理员,以确保与您的服务的一般做法保持一致。
function CBPR_Business_Service_TextualRule() {
const msg = "This field may be used by SWIFT to support differentiated processing on SWIFT-administered services such as FINplus. For a description of reserved values, please refer to the Service Description for your service. To support differentiated processing on CBPRPlus, for example, SWIFT reserves a set of values that conform to a specific format.A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r7 必须使用值“swift.cbprpplus.01”。
function CBPR_Business_Service_Usage_TextualRule(obj) {
const position = "Business Service";
const msg = "The value 'swift.cbprplus.01' must be used.";
var bizSvc = obj.bizSvc;
if (bizSvc != 'swift.cbprplus.01') {
message(position, msg);
return false;
}
return true;
}
//r8 SWIFT可以在SWIFT管理的业务上使用该字段。有关保留值的描述,请参阅您的服务的服务描述。如有必要,请联系您的服务管理员以进一步澄清。
// 可以使用用户特定的值,但在这样做之前请联系您的服务管理员,以确保与您的服务的一般做法保持一致。
function CBPR_Market_Practice_TextualRule() {
const msg = "This field may be used by SWIFT on SWIFT-administered services. For a description of reserved values, please refer to the Service Description for your service. Contact your Service Administrator for further clarification, if necessary." +
"<br/>A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r9 如果使用,相关BAH必须传输与相关消息的BAH完全相同的信息。
function CBPR_Related_Business_Application_Header_TextualRule() {
//If used, the Related BAH must transport the exact same information as in the BAH of the related message.
}
function CBPR_Related_BAH_Business_Service_TextualRule() {
//r10 如果存在相关的BAH,它应该传输元素“业务服务”。
//If related BAH is present, it should transport the element Business Service.
}
//r11 如果 Reason code= NARR,则附加信息是必填的。
function CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj,position) {
const msg = "If Reason code = Narrative, then Additional Information is mandatory.";
if(obj.rsn.cd == 'NARR'){
if(isEmpty(obj.addtlInf)){
message(position,msg);
return false;
}
}
return true;
}
//r13 对于用例/身份证明,以下限制适用于前16个字符:
// —第一个和第16个参数不能为“/”和
// —长度为16个字符,不能包含“//”。
function CBPR_Case_Identification_FormalRule(obj) {
const msg = "For the Case/Identification, the below restrictions apply to the first 16 characters:" +
"<br/>- The first one and the 16th one cannot be “/” and" +
"<br/>- The string of 16 characters cannot contain “//”";
if (isNotEmpty(obj)) {
var id = obj.id;
const position = " Case Identification";
if (isNotEmpty(id)) {
if (id.startsWith('/') || id.endsWith('/') || id.indexOf('//') >= 0) {
message(position, msg);
return false;
}
}
}
return true;
}
//r15/r37 如果邮政地址是现在,那么Name是必填项。
// 建议:如果存在,在信息冲突的情况下,BIC (AnyBIC)将始终优先。
function CBPR_Party_Name_Postal_Address_FormalRule(PartyIdentification, position) {
const msg = "If Postal Address is present then Name is mandatory." +
"<br/>Recommendation: If present, the BIC (AnyBIC) will always take precedence in case of conflicting information.";
if (isNotEmpty(PartyIdentification)) {
var nm = PartyIdentification.nm;
var pstlAdr = PartyIdentification.pstlAdr;
if (isNotEmpty(pstlAdr)) {
if (isEmpty(nm)) {
message(position, msg);
return false;
}
}
}
return true;
}
function CBPR_Creator_Identification_TextualRule() {
//r16 如果除了任何其他可选元素之外还存在任何bic,则在信息冲突的情况下,它将始终优先。
//If AnyBIC is present in addition to any other optional elements, in case of conflicting information it will always take precedence.
}
//r17/r25/r41 如果使用PostalAddress并且存在AddressLine,则PostalAddress中的所有其他可选元素都必须不存在。
function CBPR_Structured_vs_Unstructured_FormalRule(pstlAdr, position) {
const msg = "If PostalAddress is used and if AddressLine is present, then all other optional elements in PostalAddress must be absent."
if (isNotEmpty(pstlAdr) && isNotEmpty(pstlAdr.adrLine)) {
var temp = pstlAdr.adrLine
pstlAdr.adrLine = null;
if (isNotEmpty(pstlAdr)) {
message(position, msg);
pstlAdr.adrLine = temp;
return false;
}
pstlAdr.adrLine = temp;
}
return true;
}
//r18/r26/r40 如果使用了“邮寄地址”,并且没有AddressLine,则必须提供国家和城镇名称。
function CBPR_Town_Name_And_Country_FormalRule(pstlAdr, position) {
const msg = "If 'PostalAddress' is used, and if AddressLine is absent, then Country and Town name must be present.";
if (isNotEmpty(pstlAdr)) {
var adrLine = pstlAdr.adrLine;
var ctry = pstlAdr.ctry;
var twnNm = pstlAdr.twnNm;
if (isEmpty(adrLine)) {
if (isEmpty(ctry) || isEmpty(twnNm)) {
message(position, msg);
return false;
}
}
}
return true;
}
//r19 当债务人代理人和债权人代理人位于同一国家时,只能使用清算代码。
function CBPR_Agent_National_only_TextualRule() {
const msg = "Whenever Debtor Agent and Creditor Agent are located within the same country, the clearing code only may be used.";
return true;
}
//r20 BICFI,可选补充LEI(首选)
function CBPR_Agent_Option_1_TextualRule() {
const msgp = "BICFI, complemented optionally with a LEI (preferred option)";
return true;
}
//r21 (清算代码OR LEI)AND(名称AND(非结构化邮政地址OR[具有最小城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option_2_TextualRule() {
const msg = "(Clearing Code OR LEI) AND (Name AND (Unstructured postal address OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
//r22 地址行(非结构化地址)仅在FIN中或MI在共存期间启动付款的情况下才可用。结构化邮寄地址仍然是首选选项。因此:-如果在FIN或MI上发起付款,并且邮寄地址是非结构化的,则发出的ISO 20022消息将传输非结构化邮寄地址,直到债权人代理。-如果付款是在ISO 20022中发起的,则必须结构化邮政地址。
function CBPR_Co_existence_Postal_Address_TextualRule(obj) {
const msg = "Address Line (Unstructured Address) remains available only for cases when the payment is initiated in FIN, or by an MI, during coexistence only. The Structured PostalAddress remains the prefered option.Therefore:- If a payment is initiated on FIN, or by an MI, and the postal address is unstructured, the outgoing ISO 20022 message will transport unstructured postal address, up to the Creditor Agent.- If a payment is initiated in ISO 20022, postal address must be structured.";
if(isNotEmpty(obj._case.cretr.pty)){
var cdtrAddr = obj._case.cretr.pty.pstlAdr;
if (isNotEmpty(cdtrAddr)) {
if (isNotEmpty(cdtrAddr.adrLine) ) {
message("Creditor/Party", msg);
return false;
}
}
}
if(isNotEmpty(obj._case.cretr.agt)){
var dbtrAddr = obj._case.cretr.agt.finInstnId.pstlAdr;
if (isNotEmpty(dbtrAddr)) {
if (isNotEmpty(dbtrAddr.adrLine) ) {
message("Creditor/Agent", msg);
return false;
}
}
}
var instdRmbrsmntAgtAddr = obj.cxlRsnInf.orgtr.pstlAdr;
if (isNotEmpty(instdRmbrsmntAgtAddr)) {
if (isNotEmpty(instdRmbrsmntAgtAddr.adrLine) ) {
message("Cancellation Reason Information/Originator", msg);
return false;
}
}
return true;
}
//r23 Name AND(非结构化OR[至少包含城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option_3_TextualRule() {
const msg = "Name AND (Unstructured OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
//r24 姓名和地址必须同时出现
function CBPR_Agent_Name_Postal_Address_FormalRule(na) {
const msg = "Name and Address must always be present together.";
const position = "Creator/Agent/Financial Institution Identification";
var name = na.nm;
var addr = na.pstlAdr
if ((isNotEmpty(name) && isEmpty(addr)) || (isNotEmpty(addr) && isEmpty(name))) {
message(position, msg);
return false;
}
return true;
}
//r27 此要素应该只由“发起人”填充,否则可以用“未提供”填充。
function CBPR_Original_Message_Identification_2_TextualRule() {
const msg = "This element should be only populated by the 'Originator' otherwise can be populated with 'Not provided'.";
return true;
}
//r28 原始消息标识应该传输基础付款的消息标识(例如:pacs.008 / pacs.009)s
function CBPR_Original_Message_Identification_1_TextualRule() {
const msg = "Original Message Identification should transport the Message Identification of the underlying payment (eg. pacs.008/pacs.009)";
return true;
}
function CBPR_Original_Message_Name_Identification_1_TextualRule() {
//r29 原始消息名称标识应传输基础付款的消息名称标识(例如:pacs.008 / pacs.009)
//Original Message Name Identification should transport the Message Name Identification of the underlying payment (eg. pacs.008/pacs.009)
}
//r30 是否必须传输底层pacs.008/pacs.009的指令标识
function CBPR_Original_Instruction_Identification_TextualRule() {
const msg = "Must transport the Instruction Identification of the underlying pacs.008/pacs.009 ";
return true;
}
//r31 此字段不能以斜杠“/”开头或结尾,并且不能包含两个连续的斜杠“//”。
function CBPR_Original_Instruction_Identification_FormalRule(obj) {
const msg = "This field must not start or end with a slash '/' and must not contain two consecutive slashes '//'.";
const position = "Original Instruction Identification";
if (isNotEmpty(obj)){
var orgnlInstrId = obj.orgnlInstrId;
if (isNotEmpty(orgnlInstrId)) {
if (orgnlInstrId.startsWith('/') || orgnlInstrId.endsWith("/") || orgnlInstrId.indexOf("//") >= 0) {
message(position, msg);
return false;
}
}
}
return true;
}
//r32 必须传输请求取消的基础事务的EndToEnd标识。
function CBPR_Original_End_To_End_Identification_TextualRule() {
const msg = "Must transport the EndToEnd Identification of the underlying transaction that is requested to be cancelled.";
return true;
}
//r33 应传输请求取消的基础事务的事务标识。
function CBPR_Original_Transaction_Identification_TextualRule() {
const msg = "Should transport the Transaction Identification of the underlying transaction that is requested to be cancelled.";
return true;
}
//r34 必须传输请求取消的基础事务的UETR。
function CBPR_Original_UETR_TextualRule() {
const msg = "Must transport the UETR of the underlying transaction that is requested to be cancelled.";
return true;
}
function CBPR_Original_Clearing_System_Reference_TextualRule() {
//r35 目前必须传输底层pacs.008/pacs的清算系统参考
//Must transport the Clearing System Reference of the underlying pacs.008/pacs.009 when present.
}
//r14/r36 如果AnyBIC不存在,则名称为必填项。
function CBPR_Party_Name_Any_BIC_FormalRule(Party, position) {
const msg = "If AnyBIC is Absent Then Name is mandatory.";
var nm = Party.nm;
var anyBIC = Party.id.orgId.anyBIC;
if (isNotEmpty(Party)) {
if (isEmpty(anyBIC)) {
if (isEmpty(nm)) {
message(position, msg);
return false;
}
}
}
return true;
}
//r38 如果除了任何其他可选元素之外还存在任何bic,则在信息冲突的情况下,它将始终优先。
function CBPR_Originator_Identification_TextualRule() {
const msg = "If AnyBIC is present in addition to any other optional elements, in case of conflicting information it will always take precedence.";
return true;
}
function CBPR_Originator_Presence_TextualRule() {
//r39 Cancellation Reason Information/Originator只有在不同于Case Creator时才会被填充。
//CancellationReasonInformation/Originator will be populated only if different from Case Creator.
}
...@@ -70,6 +70,10 @@ export default function validator(obj) { ...@@ -70,6 +70,10 @@ export default function validator(obj) {
if (!CBPR_Party_Name_Any_BIC_FormalRule(obj.undrlyg.txInf.cxlRsnInf.orgtr,"Cancellation Reason Information/Originator/Name")){ if (!CBPR_Party_Name_Any_BIC_FormalRule(obj.undrlyg.txInf.cxlRsnInf.orgtr,"Cancellation Reason Information/Originator/Name")){
return false; return false;
} }
if(!CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj.undrlyg.txInf.cxlRsnInf,"Cancellation Reason Information")){
return false;
}
return true; return true;
...@@ -180,9 +184,16 @@ function CBPR_Related_BAH_Business_Service_TextualRule() { ...@@ -180,9 +184,16 @@ function CBPR_Related_BAH_Business_Service_TextualRule() {
//If related BAH is present, it should transport the element Business Service. //If related BAH is present, it should transport the element Business Service.
} }
function CBPR_Reason_Code_NARR_Additional_Information_FormalRule() { function CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj,position) {
//r11 如果 Reason code= NARR,则附加信息是必填的。 //r11 如果 Reason code= NARR,则附加信息是必填的。
const msg = "If Reason code = Narrative, then Additional Information is mandatory.";
if(obj.rsn.cd == 'NARR'){
if(isEmpty(obj.addtlInf)){
message(position,msg);
return false;
}
}
return true;
//If Reason code = NARR, then Additional Information is mandatory. //If Reason code = NARR, then Additional Information is mandatory.
} }
......
import message from '../Message.js'
import { isEmpty, isNotEmpty } from '../BeanUtil.js'
import { version } from 'less';
export default function validator(obj) {
console.log("Execult camt058 validatorRule");
//r5
if (!CBPR_Business_Service_Usage_TextualRule(obj.appHdr)) {
return false;
}
//r9
if (!CBPR_Message_Identification_FormalRule(obj.grpHdr.msgId, `Group Header/Message Identification`)) {
return false;
}
if(isNotEmpty(obj.grpHdr.msgSndr.pty)){
//r11
if (!CBPR_Party_Name_Postal_Address_FormalRule(obj.grpHdr.msgSndr.pty, `Group Header/Message Sender/Party`)) {
return false;
}
//r12
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.grpHdr.msgSndr.pty.pstlAdr, `Group Header/Message Sender/Party/Postal Address`)) {
return false;
}
//r13
if (!CBPR_Town_Name_And_Country_FormalRule(obj.grpHdr.msgSndr.pty.pstlAdr, `Group Header/Message Sender/Party/Postal Address`)) {
return false;
}
}
if(isNotEmpty(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty)){
//r22
if (!CBPR_Party_Name_Postal_Address_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty, `Original Notification/Original Notification Reference/Debtor/Party`)) {
return false;
}
//r24
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty.pstlAdr, `Original Notification/Original Notification Reference/Debtor/Party/Postal Address`)) {
return false;
}
//r25
if (!CBPR_Town_Name_And_Country_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty.pstlAdr, `Original Notification/Original Notification Reference/Debtor/Party/Postal Address`)) {
return false;
}
//r21
if (!CBPR_Name_Any_BIC_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty, `Original Notification/Original Notification Reference/Debtor/Party`)) {
return false;
}
//r23
if (!CBPR_Debtor_BIC_Presence_TextualRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.pty, `Original Notification/Original Notification Reference/Debtor/Party`)) {
return false;
}
}
//r51
if (!CBPR_Party_Name_Postal_Address_FormalRule(obj.cxlRsn.orgtr, `Cancellation Reason/Originator`)) {
return false;
}
if(isNotEmpty(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.agt)){
//r31
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor/Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r32
if (!CBPR_Town_Name_And_Country_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor/Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r30
if (!CBPR_Agent_Name_Postal_Address_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor/Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
}
//r34
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r54
if (!CBPR_Structured_vs_Unstructured_FormalRule(obj.cxlRsn.orgtr.pstlAdr, `Cancellation Reason/Originator/Postal Address`)) {
return false;
}
//r35
if (!CBPR_Town_Name_And_Country_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r55
if (!CBPR_Town_Name_And_Country_FormalRule(obj.cxlRsn.orgtr.pstlAdr, `Cancellation Reason/Originator/Postal Address`)) {
return false;
}
//r18
if(isNotEmpty(obj.grpHdr.msgSndr.agt)){
if (!CBPR_Agent_Name_Postal_Address_FormalRule(obj.grpHdr.msgSndr.agt.finInstnId.pstlAdr, `Group Header/Message Sender/Agent/Financial Institution Identification`)) {
return false;
}
}
//r33
if (!CBPR_Agent_Name_Postal_Address_FormalRule(obj.orgnlNtfctn.orgnlNtfctnRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r50
if (!CBPR_Name_Any_BIC_FormalRule(obj.cxlRsn.orgtr, `Cancellation Reason/Originator`)) {
return false;
}
//r49
if (!CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj.cxlRsn, `Cancellation Reason/Reason/Code`)) {
return false;
}
if (!Mandatory_Debtor_Rule(obj.orgnlNtfctn.orgnlNtfctnRef, `Original Notification/Original Notification Reference`)) {
return false;
}
var orgnlItm = obj.orgnlNtfctn.orgnlNtfctnRef.orgnlItm;
for (var index = 0; index < orgnlItm.length; index++) {
const element = orgnlItm[index];
//r10
if (!CBPR_Message_Identification_FormalRule(element.orgnlItmId, `Original Notification/Original Notification Reference/Original Item/OriginalItem Identification`)) {
return false;
}
if(isNotEmpty(element.orgnlItmRef.dbtr.pty)){
//r40
if (!CBPR_Party_Name_Postal_Address_FormalRule(element.orgnlItmRef.dbtr.pty, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor/Party`)) {
return false;
}
//r41
if (!CBPR_Structured_vs_Unstructured_FormalRule(element.orgnlItmRef.dbtr.pty.pstlAdr, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r42
if (!CBPR_Town_Name_And_Country_FormalRule(element.orgnlItmRef.dbtr.pty.pstlAdr, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r39
if (!CBPR_Name_Any_BIC_FormalRule(element.orgnlItmRef.dbtr.pty, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor/Party`)) {
return false;
}
//r38
if (!CBPR_Debtor_BIC_Presence_TextualRule(element.orgnlItmRef.dbtr.pty, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor/Party`)) {
return false;
}
}
if(isNotEmpty(element.orgnlItmRef.dbtr.agt)){
//r44
if (!CBPR_Structured_vs_Unstructured_FormalRule(element.orgnlItmRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Notification Reference/Original Item/Debtor/Party/Postal Address`)) {
return false;
}
//r45
if (!CBPR_Town_Name_And_Country_FormalRule(element.orgnlItmRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Notification Reference/Original Item/Original Item Reference/Debtor/Party/Postal Address`)) {
return false;
}
//r43
if (!CBPR_Agent_Name_Postal_Address_FormalRule(element.orgnlItmRef.dbtr.agt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor/Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
}
//r47
if (!CBPR_Structured_vs_Unstructured_FormalRule(element.orgnlItmRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Notification Reference/Original Item/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r48
if (!CBPR_Town_Name_And_Country_FormalRule(element.orgnlItmRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Notification Reference/Original Item/Original Item Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r46
if (!CBPR_Agent_Name_Postal_Address_FormalRule(element.orgnlItmRef.dbtrAgt.finInstnId.pstlAdr, `Original Notification/Original Notification Reference/Original Item/Original Item Reference/Debtor Agent/Financial Institution Identification/Postal Address`)) {
return false;
}
}
return true;
}
//r1 有关该字段用法的进一步说明,请参阅CBPR Plus UHB。
function CBPR_Character_Set_Usage_TextualRule() {
const msg = "For further description on the usage of the field, pls refer to the CBPR Plus UHB.";
return true;
}
//r2 业务消息标识符是与此标头一起传输的业务消息实例的唯一标识符,由发送应用程序或系统定义。
function CBPR_Business_Message_Identifier_TextualRule() {
//必须包含底层消息的Group Header中的Message Identification元素(如果可用)(例如,pacs、pain和camt消息通常是这样)。如果消息标识在基础消息中不可用,则此字段必须包含业务消息实例的唯一标识符。
const msg = "The Business Message Identifier is the unique identifier of the Business Message instance that is being transported with this header, as defined by the sending application or system. Must contain the Message Identification element from the Group Header of the underlying message, where available (as is typically the case with pacs, pain, and camt messages, for example). If Message Identification is not available in the underlying message, then this field must contain the unique identifier of the Business Message instance.";
return true;
}
//r3 使用此标头传输的业务消息实例的消息定义标识符。通常,它的格式必须与业务消息实例的命名空间中显示的格式完全相同。
function CBPR_Message_Definition_Identifier_TextualRule() {
const msg = "The Message Definition Identifier of the Business Message instance that is being transported with this header. In general, it must be formatted exactly as it appears in the namespace of the Business Message instance.";
return true;
}
//r4 SWIFT可以使用此字段来支持对SWIFT管理的服务(如FINplus)进行差异化处理。有关保留值的说明,请参阅您的服务的服务说明。例如,为了支持CBPRPlus上的差异化处理,SWIFT保留了一组符合特定格式的值。可能会使用特定于用户的值,但请在这样做之前联系您的服务管理员,以确保与您服务的一般做法保持一致。
function CBPR_Business_Service_TextualRule() {
const msg = "This field may be used by SWIFT to support differentiated processing on SWIFT-administered services such as FINplus. For a description of reserved values, please refer to the Service Description for your service. To support differentiated processing on CBPRPlus, for example, SWIFT reserves a set of values that conform to a specific format.A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r5 必须使用值“swift.cbprpplus.01”。
function CBPR_Business_Service_Usage_TextualRule(obj) {
const position = "Business Service";
const msg = "The value 'swift.cbprplus.01' must be used.";
var bizSvc = obj.bizSvc;
if (bizSvc != 'swift.cbprplus.01') {
message(position, msg);
return false;
}
return true;
}
//r6 此字段可由SWIFT在SWIFT管理的服务中使用。有关保留值的说明,请参阅您的服务的服务说明。如有必要,请与您的服务管理员联系以获得进一步的澄清。
// 可能会使用特定于用户的值,但请在执行此操作之前与您的“服务管理员”联系,以确保与服务的一般做法保持一致。
function CBPR_Market_Practice_TextualRule() {
const msg = "This field may be used by SWIFT on SWIFT-administered services. For a description of reserved values, please refer to the Service Description for your service. Contact your Service Administrator for further clarification, if necessary.A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r7
function CBPR_BusinessService_TextualRule() {
const msg = "This field may be used by SWIFT to support differentiated processing on SWIFT-administered services such as FINplus. For a description of reserved values, please refer to the Service Description for your service. ";
return true;
}
//r8 如果存在相关的BAH,则建议传输元素Business Service。
function CBPR_RelatedBAHBusinessService_TextualRule() {
const msg = "If related BAH is present, then it is recommended to transport the element Business Service. ";
return true;
}
//r12/24/31/34/41/44/47/54 如果使用PostalAddress并且存在AddressLine,则PostalAddress中的所有其他可选元素都必须不存在。
function CBPR_Structured_vs_Unstructured_FormalRule(pstlAdr, position) {
const msg = "If Postal Address is used and if AddressLine is present, then all other optional elements in PostalAddress must be absent.";
if (isNotEmpty(pstlAdr) && isNotEmpty(pstlAdr.adrLine)) {
var temp = pstlAdr.adrLine
pstlAdr.adrLine = null;
if (isNotEmpty(pstlAdr)) {
message(position, msg);
pstlAdr.adrLine = temp;
return false;
}
pstlAdr.adrLine = temp;
}
return true;
}
//r13/25/32/35/42/45/48/55 如果使用了“PostalAddress”,并且没有AddressLine,则必须提供国家和城镇名称。
function CBPR_Town_Name_And_Country_FormalRule(pstlAdr, position) {
const msg = "If “PostalAddress” is used, and if AddressLine is absent, then Country and Town name must be present.";
if (isNotEmpty(pstlAdr)) {
var adrLine = pstlAdr.adrLine;
var ctry = pstlAdr.ctry;
var twnNm = pstlAdr.twnNm;
if (isEmpty(adrLine)) {
if (isEmpty(ctry) || isEmpty(twnNm)) {
message(position, msg);
return false;
}
}
}
return true;
}
//r14/20/ 地址线(非结构化地址)仅在共存期间在FIN中或由MI发起支付的情况下可用。结构化PostalAddress仍然是首选选项。
function CBPR_Co_existence_Postal_Address_TextualRule(pstlAdr, position) {
const msg = "Address Line (Unstructured Address) remains available only for cases when the payment is initiated in FIN, or by an MI, during coexistence only. The Structured PostalAddress remains the prefered option.Therefore:- If a payment is initiated on FIN, or by an MI, and the postal address is unstructured, the outgoing ISO 20022 message will transport unstructured postal address, up to the Creditor Agent.- If a payment is initiated in ISO 20022, postal address must be structured.";
return true;
}
//r15 BICFI, complemented optionally with a LEI (preferred option)
function CBPR_Agent_Option_1_TextualRule() {
const msg = "BICFI, complemented optionally with a LEI (preferred option)";
return true;
}
//r16 (清算代码或LEI)和(名称和(非结构化邮政地址或[具有最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option_2_TextualRule() {
const msg = "(Clearing Code OR LEI) AND (Name AND (Unstructured postal address OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}//r17 名称和(非结构化或[包含最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option_3_TextualRule() {
const msg = "Name AND (Unstructured OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
//r18/30/33/43/46 姓名和地址必须同时出现
function CBPR_Agent_Name_Postal_Address_FormalRule(na, position) {
const msg = "Name and Address must always be present together.";
var name = na.nm;
var addr = na.pstlAdr
if ((isNotEmpty(name) && isEmpty(addr)) || (isNotEmpty(addr) && isEmpty(name))) {
message(position, msg);
return false;
}
return true;
}
//r9/10 此字段不能以斜杠'/'开始或结束,也不能包含两个连续的斜杠'//'。
function CBPR_Message_Identification_FormalRule(obj) {
const msg = "This field must not start or end with a slash '/' and must not contain two consecutive slashes '//'. ";
const position = "Message Identification";
if(isNotEmpty(obj)){
if(obj.startsWith('/') || obj.endsWith('/') || obj.indexOf('//')>=0){
message(position,msg);
return false;
}
}
return true;
}
//r11/22/40/51 如果邮政地址是目前,那么名称是强制性的。
function CBPR_Party_Name_Postal_Address_FormalRule(na, position) {
const msg = "If Postal Address is present then Name is mandatory.";
var name = na.nm;
var addr = na.pstlAdr
if (isNotEmpty(addr) && isEmpty(name)) {
message(position, msg);
return false;
}
return true;
}
//r19 对于有管辖权的交易,债务人/名称必须带有债务人身份证明(即在同一国家或同一立法下的地区-例如EAA)。
function CBPR_Debtor_Option_3_Jurisdictions_only_TextualRule(){
const msg = "For Jurisdictional transactions, Debtor/ Name is mandatory with Debtor Identification (that is within a country or for regions under same legislations - eg EAA)";
return true;
}
//r21/39/50
function CBPR_Name_Any_BIC_FormalRule(PartyIdentification,position) {
const msg = "If AnyBIC is Absent Then Name is mandatory.";
if (isNotEmpty(PartyIdentification)) {
var nm = PartyIdentification.nm;
var anyBIC = PartyIdentification.id.orgId.anyBIC;
if (isEmpty(anyBIC)) {
if (isEmpty(nm)) {
message(position, msg);
return false;
}
}
}
return true;
}
//r23/38 如果存在任何BIC,则不允许使用(名称和邮政地址)(其他元素仍然是可选的)-但是,在信息冲突的情况下,AnyBIC将始终优先。
function CBPR_Debtor_BIC_Presence_TextualRule(obj,position) {
const msg = "If Any BIC is present, then (Name and Postal Address) is NOT allowed (other elements remain optional) - However, in case of conflicting information, AnyBIC will always take precedence. ";
if(isNotEmpty(obj.id)){
if(isNotEmpty(obj.id.orgId)){
if(isNotEmpty(obj.id.orgId.anyBIC)){
if(isNotEmpty(obj.na) || isNotEmpty(obj.pstlAdr)){
message(position,msg);
return false;
}
}
}
}
return true;
}
//r11 如果使用了PostalAddress并且存在AddressLine,那么PostalAddress中的所有其他可选元素必须不存在。。
function CBPR_StructuredvsUnstructured_FormalRule() {
const msg = "If PostalAddress is used and if AddressLine is present, then all other optional elements in PostalAddress must be absent.";
return true;
}
//r12 如果使用“PostalAddress”,并且没有AddressLine,则必须显示国家和城镇名称。
function CBPR_TownNameAndCountry_FormalRule() {
const msg = "If “PostalAddress” is used, and if AddressLine is absent, then Country and Town name must be present.";
return true;
}
//r13 在某些司法管辖区,建议还提供付款人帐户。
function CBPR_Payer_Account_Guideline() {
const msg = "In some jurisdictions, it is recommended to also provide the Payer Account.";
return true;
}
//r14/29 地址线(非结构化地址)仅在共存期间在FIN中或由MI发起支付的情况下可用。结构化PostalAddress仍然是首选选项。
function CBPR_Co_existence_PostalAddress_TextualRule() {
const msg = "Address Line (Unstructured Address) remains available only for cases when the payment is initiated in FIN, or by an MI, during coexistence only. The Structured PostalAddress remains the prefered option.";
return true;
}
//r36 除非双方同意,否则应寄送单件原件。
function CBPR_Original_Item_TextualRule(){
const msg = "Single Original item should be sent unless bilaterally agreed.";
return true;
}
//r49 如果原因码= NARR,则附加信息是必填的。
function CBPR_Reason_Code_NARR_Additional_Information_FormalRule(obj,position){
const msg = "If Reason code = Narrative, then Additional Information is mandatory.";
if(obj.rsn.cd == 'NARR'){
if(isEmpty(obj.addtlInf)){
message(position,msg);
return false;
}
}
return true;
}
//r52 如果除了任何其他可选元素之外还存在任何bic,则在信息冲突的情况下,它将始终优先。
function CBPR_Originator_Identification_TextualRule(){
const msg = "If AnyBIC is present in addition to any other optional elements, in case of conflicting information, it will always take precedence.";
return true;
}//r53 CancellationReasonInformation/Originator只有在与消息发送方不同时才会被填充。
function CBPR_Originator_Presence_TextualRule(){
const msg = "CancellationReasonInformation/Originator will be populated only if different from message sender.";
return true;
}
//r15/26 BICFI,可选地补充LEI(首选选项)
function CBPR_Agent_Option1_TextualRule() {
const msg = "BICFI, complemented optionally with a LEI (preferred option)";
return true;
}
//r16/27 (清算代码或LEI)和(名称和(非结构化邮政地址或[具有最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option2_TextualRule() {
const msg = "(Clearing Code OR LEI) AND (Name AND (Unstructured postal address OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
//r17/28 名称和(非结构化或[包含最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option3_TextualRule() {
const msg = "Name AND (Unstructured OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
function Mandatory_Debtor_Rule(obj,position) {
const msg = "Either Debtor must be present or OriginalItem/Debtor must be present.";
var flag1 = true;
var flag2 = true;
if(isNotEmpty(obj.dbtr)){
flag1 = false;
}
for (var index = 0; index < obj.orgnlItm.length; index++){
if(isNotEmpty(obj.orgnlItm[index].orgnlItmRef.dbtr)){
flag2 = false;
}
}
if(flag1&&flag2||!(flag1||flag2)){
message(position,msg);
return false;
}
return true;
}
import message from '../Message.js'
import { isEmpty, isNotEmpty } from '../BeanUtil.js'
export default function validator(obj) {
console.log("Execult camt107 validatorRule");
//r5
if (!CBPR_Business_Service_Usage_TextualRule(obj.appHdr)) {
return false;
}
var chq = obj.chq;
for (var index = 0; index < chq.length; index++) {
const element = chq[index];
//r9
if (!CBPR_Town_Name_And_Country_FormalRule(element.drwrAgt.finInstnId, `Cheque/DrawerAgent/Financial Institution Identification`)) {
return false;
}
//r10
if (!CBPR_Town_Name_And_Country_FormalRule(element.drwrAgt.finInstnId, `Cheque/DrawerAgent/Financial Institution Identification`)) {
return false;
}
//r21
if (!CBPR_Structured_vs_Unstructured_FormalRule(element.drwrAgt.finInstnId.pstlAdr, `Cheque/DrawerAgent/Financial Institution Identification/Postal Address`)) {
return false;
}
//r19
if (!CBPR_Structured_vs_Unstructured_FormalRule(element.pyee.finInstnId.pstlAdr, `Cheque/Payee/Financial Institution Identification/Postal Address`)) {
return false;
}
//r18
if (!CBPR_Agent_Name_Postal_Address_FormalRule(element.drwrAgt.finInstnId, `Cheque/DrawerAgent/Financial Institution Identification`)) {
return false;
}
//r20
if (!CBPR_Town_Name_And_Country_FormalRule(element.pyee.finInstnId, `Cheque/Payee/Financial Institution Identification`)) {
return false;
}
//r22
if (!CBPR_Town_Name_And_Country_FormalRule(element.drwrAgt.finInstnId, `Cheque/DrawerAgent/Financial Institution Identification`)) {
return false;
}
}
return true;
}
//r1 有关该字段用法的进一步说明,请参阅CBPR Plus UHB。
function CBPR_Character_Set_Usage_TextualRule() {
const msg = "For further description on the usage of the field, pls refer to the CBPR Plus UHB.";
return true;
}
//r2 业务消息标识符是与此标头一起传输的业务消息实例的唯一标识符,由发送应用程序或系统定义。
function CBPR_Business_Message_Identifier_TextualRule() {
//必须包含底层消息的Group Header中的Message Identification元素(如果可用)(例如,pacs、pain和camt消息通常是这样)。如果消息标识在基础消息中不可用,则此字段必须包含业务消息实例的唯一标识符。
const msg = "The Business Message Identifier is the unique identifier of the Business Message instance that is being transported with this header, as defined by the sending application or system. Must contain the Message Identification element from the Group Header of the underlying message, where available (as is typically the case with pacs, pain, and camt messages, for example). If Message Identification is not available in the underlying message, then this field must contain the unique identifier of the Business Message instance.";
return true;
}
//r3 使用此标头传输的业务消息实例的消息定义标识符。通常,它的格式必须与业务消息实例的命名空间中显示的格式完全相同。
function CBPR_Message_Definition_Identifier_TextualRule() {
const msg = "The Message Definition Identifier of the Business Message instance that is being transported with this header. In general, it must be formatted exactly as it appears in the namespace of the Business Message instance.";
return true;
}
//r4 SWIFT可以使用此字段来支持对SWIFT管理的服务(如FINplus)进行差异化处理。有关保留值的说明,请参阅您的服务的服务说明。例如,为了支持CBPRPlus上的差异化处理,SWIFT保留了一组符合特定格式的值。可能会使用特定于用户的值,但请在这样做之前联系您的服务管理员,以确保与您服务的一般做法保持一致。
function CBPR_Business_Service_TextualRule() {
const msg = "This field may be used by SWIFT to support differentiated processing on SWIFT-administered services such as FINplus. For a description of reserved values, please refer to the Service Description for your service. To support differentiated processing on CBPRPlus, for example, SWIFT reserves a set of values that conform to a specific format.A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r5 必须使用值“swift.cbprpplus.01”。
function CBPR_Business_Service_Usage_TextualRule(obj) {
const position = "Business Service";
const msg = "The value 'swift.cbprplus.01' must be used.";
var bizSvc = obj.bizSvc;
if (bizSvc != 'swift.cbprplus.01') {
message(position, msg);
return false;
}
return true;
}
//r6 此字段可由SWIFT在SWIFT管理的服务中使用。有关保留值的说明,请参阅您的服务的服务说明。如有必要,请与您的服务管理员联系以获得进一步的澄清。
// 可能会使用特定于用户的值,但请在执行此操作之前与您的“服务管理员”联系,以确保与服务的一般做法保持一致。
function CBPR_Market_Practice_TextualRule() {
const msg = "This field may be used by SWIFT on SWIFT-administered services. For a description of reserved values, please refer to the Service Description for your service. Contact your Service Administrator for further clarification, if necessary.A user-specific value may be used, but please contact your Service Administrator before doing so to ensure alignment with general practice on your service.";
return true;
}
//r7
function CBPR_BusinessService_TextualRule() {
const msg = "This field may be used by SWIFT to support differentiated processing on SWIFT-administered services such as FINplus. For a description of reserved values, please refer to the Service Description for your service. ";
return true;
}
//r8 如果存在相关的BAH,则建议传输元素Business Service。
function CBPR_RelatedBAHBusinessService_TextualRule() {
const msg = "If related BAH is present, then it is recommended to transport the element Business Service. ";
return true;
}
//r19/21 如果使用PostalAddress并且存在AddressLine,则PostalAddress中的所有其他可选元素都必须不存在。
function CBPR_Structured_vs_Unstructured_FormalRule(pstlAdr, position) {
const msg = "If Postal Address is used and if AddressLine is present, then all other optional elements in PostalAddress must be absent.";
if (isNotEmpty(pstlAdr) && isNotEmpty(pstlAdr.adrLine)) {
var temp = pstlAdr.adrLine
pstlAdr.adrLine = null;
if (isNotEmpty(pstlAdr)) {
message(position, msg);
pstlAdr.adrLine = temp;
return false;
}
pstlAdr.adrLine = temp;
}
return true;
}
//r20/r22 如果使用了“PostalAddress”,并且没有AddressLine,则必须提供国家和城镇名称。
function CBPR_Town_Name_And_Country_FormalRule(pstlAdr, position) {
const msg = "If “PostalAddress” is used, and if AddressLine is absent, then Country and Town name must be present.";
if (isNotEmpty(pstlAdr)) {
var adrLine = pstlAdr.adrLine;
var ctry = pstlAdr.ctry;
var twnNm = pstlAdr.twnNm;
if (isEmpty(adrLine)) {
if (isEmpty(ctry) || isEmpty(twnNm)) {
message(position, msg);
return false;
}
}
}
return true;
}
//r18 姓名和地址必须同时出现
function CBPR_Agent_Name_Postal_Address_FormalRule(na, position) {
const msg = "Name and Address must always be present together.";
var name = na.nm;
var addr = na.pstlAdr
if ((isNotEmpty(name) && isEmpty(addr)) || (isNotEmpty(addr) && isEmpty(name))) {
message(position, msg);
return false;
}
return true;
}
//r9/10 此字段不能以斜杠'/'开始或结束,也不能包含两个连续的斜杠'//'。
function CBPR_Message_Identification_FormalRule() {
const msg = "This field must not start or end with a slash '/' and must not contain two consecutive slashes '//'. ";
return true;
}
//r11 如果使用了PostalAddress并且存在AddressLine,那么PostalAddress中的所有其他可选元素必须不存在。。
function CBPR_StructuredvsUnstructured_FormalRule() {
const msg = "If PostalAddress is used and if AddressLine is present, then all other optional elements in PostalAddress must be absent.";
return true;
}
//r12 如果使用“PostalAddress”,并且没有AddressLine,则必须显示国家和城镇名称。
function CBPR_TownNameAndCountry_FormalRule() {
const msg = "If “PostalAddress” is used, and if AddressLine is absent, then Country and Town name must be present.";
return true;
}
//r13 在某些司法管辖区,建议还提供付款人帐户。
function CBPR_Payer_Account_Guideline() {
const msg = "In some jurisdictions, it is recommended to also provide the Payer Account.";
return true;
}
//r14 地址线(非结构化地址)仅在共存期间在FIN中或由MI发起支付的情况下可用。结构化PostalAddress仍然是首选选项。
function existence_PostalAddress_TextualRule() {
const msg = "Address Line (Unstructured Address) remains available only for cases when the payment is initiated in FIN, or by an MI, during coexistence only. The Structured PostalAddress remains the prefered option.";
return true;
}
//r15 BICFI,可选地补充LEI(首选选项)
function CBPR_Agent_Option1_TextualRule() {
const msg = "BICFI, complemented optionally with a LEI (preferred option)";
return true;
}
//r16 (清算代码或LEI)和(名称和(非结构化邮政地址或[具有最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option2_TextualRule() {
const msg = "(Clearing Code OR LEI) AND (Name AND (Unstructured postal address OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
//r17 名称和(非结构化或[包含最少城镇名称和国家的结构化邮政地址])。建议在可用时也添加邮政编码。
function CBPR_Agent_Option3_TextualRule() {
const msg = "Name AND (Unstructured OR [Structured postal address with minimum Town Name and Country]). It is recommended to also add the post code when available.";
return true;
}
<!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.23ee7bd5.js"></script><script defer="defer" src="js/app.feb464e9.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.acd80123.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html> <!doctype html><html lang=""><head><meta charset="utf-8"/><meta http-equiv="X-UA-Compatible" content="IE=edge"/><meta name="viewport" content="width=device-width,initial-scale=1"/><link rel="icon" href="favicon.ico"/><title>ISO手工拟报</title><script defer="defer" src="js/chunk-vendors.23ee7bd5.js"></script><script defer="defer" src="js/app.90843083.js"></script><script defer="defer" src="js/main.59945214.js"></script><link href="css/chunk-vendors.77489a8d.css" rel="stylesheet"><link href="css/app.d2831041.css" rel="stylesheet"></head><body><noscript><strong>We're sorry but swiftiso-editor doesn't work properly without JavaScript enabled. Please enable it to continue.</strong></noscript><div id="app"></div></body></html>
\ No newline at end of file \ No newline at end of file
...@@ -41,6 +41,6 @@ cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.orgnlReqdColltnDt=orgnlReqdCol ...@@ -41,6 +41,6 @@ cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.orgnlReqdColltnDt=orgnlReqdCol
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.orgnlInstdAmt=orgnlInstdAmt cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.orgnlInstdAmt=orgnlInstdAmt
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.orgtr=orgtr cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.orgtr=orgtr
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.rsn=rsn cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.rsn=rsn
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.AddtlInf=AddtlInf cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlRsnInf*.addtlInf=addtlInf
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*._case=_case cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*._case=_case
cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlId=cxlId cstmrPmtCxlReq.undrlyg*.orgnlPmtInfAndCxl*.txInf*.cxlId=cxlId
\ No newline at end of file
...@@ -38,7 +38,7 @@ fiToFIPmtCxlReq.undrlyg*.txInf*.orgnlIntrBkSttlmAmt=orgnlIntrBkSttlmAmt ...@@ -38,7 +38,7 @@ fiToFIPmtCxlReq.undrlyg*.txInf*.orgnlIntrBkSttlmAmt=orgnlIntrBkSttlmAmt
fiToFIPmtCxlReq.undrlyg*.txInf*.orgnlIntrBkSttlmDt=orgnlIntrBkSttlmDt fiToFIPmtCxlReq.undrlyg*.txInf*.orgnlIntrBkSttlmDt=orgnlIntrBkSttlmDt
fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.orgtr=orgtr fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.orgtr=orgtr
fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.rsn=rsn fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.rsn=rsn
fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.AddtlInf=AddtlInf fiToFIPmtCxlReq.undrlyg*.txInf*.cxlRsnInf*.addtlInf=addtlInf
fiToFIPmtCxlReq.undrlyg*.txInf*._case=_case fiToFIPmtCxlReq.undrlyg*.txInf*._case=_case
#fiToFIPmtCxlReq.undrlyg*.txInf*.case.id=caseId #fiToFIPmtCxlReq.undrlyg*.txInf*.case.id=caseId
fiToFIPmtCxlReq.undrlyg*.txInf*.cxlId=cxlId fiToFIPmtCxlReq.undrlyg*.txInf*.cxlId=cxlId
\ No newline at end of file
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment