aboutsummaryrefslogtreecommitdiff
path: root/packages/aml-backoffice-ui/src/forms.json
diff options
context:
space:
mode:
Diffstat (limited to 'packages/aml-backoffice-ui/src/forms.json')
-rw-r--r--packages/aml-backoffice-ui/src/forms.json903
1 files changed, 449 insertions, 454 deletions
diff --git a/packages/aml-backoffice-ui/src/forms.json b/packages/aml-backoffice-ui/src/forms.json
index ed556307b..ef8001f91 100644
--- a/packages/aml-backoffice-ui/src/forms.json
+++ b/packages/aml-backoffice-ui/src/forms.json
@@ -13,222 +13,199 @@
"fields": [
{
"type": "choiceStacked",
- "properties": {
- "name": "customerType",
- "id": ".customerType",
- "label": "Type of customer",
- "help": "Select one and complete the next form",
- "required": true,
- "choices": [
- {
- "label": "Natural person",
- "value": "natural"
- },
- {
- "label": "Legal entity",
- "value": "legal"
- }
- ]
- }
+
+ "name": "customerType",
+ "id": ".customerType",
+ "label": "Type of customer",
+ "help": "Select one and complete the next form",
+ "required": true,
+ "choices": [
+ {
+ "label": "Natural person",
+ "value": "natural"
+ },
+ {
+ "label": "Legal entity",
+ "value": "legal"
+ }
+ ]
},
{
"type": "group",
- "properties": {
- "label": "Natural customer form",
- "name": "algo",
- "id": "algo",
- "before": "a) Country risk (nationality)",
- "after": "a) Country risk (nationality)",
- "fields": [
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.fullName",
- "id": ".naturalCustomer.fullName",
- "label": "Full name",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.address",
- "id": ".naturalCustomer.address",
- "label": "Residential address",
- "required": true
- }
- },
- {
- "type": "integer",
- "properties": {
- "name": "naturalCustomer.telephone",
- "id": ".naturalCustomer.telephone",
- "label": "Telephone"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.email",
- "id": ".naturalCustomer.email",
- "label": "E-mail"
- }
- },
- {
- "type": "absoluteTime",
- "properties": {
- "pattern": "dd/MM/yyyy",
- "name": "naturalCustomer.dateOfBirth",
- "id": ".naturalCustomer.dateOfBirth",
- "label": "Date of birth",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.nationality",
- "id": ".naturalCustomer.nationality",
- "label": "Nationality",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.document",
- "id": ".naturalCustomer.document",
- "label": "Identification document",
- "required": true
- }
- },
- {
- "type": "file",
- "properties": {
- "name": "naturalCustomer.documentAttachment",
- "id": ".naturalCustomer.documentAttachment",
- "label": "Document attachment",
- "required": true,
- "maxBites": 2097152,
- "accept": ".pdf",
- "help": "PDF file with max size of 2 mega bytes"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.companyName",
- "id": ".naturalCustomer.companyName",
- "label": "Company name"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.office",
- "id": ".naturalCustomer.office",
- "label": "Registered office"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "naturalCustomer.companyDocument",
- "id": ".naturalCustomer.companyDocument",
- "label": "Company identification document"
- }
- },
- {
- "type": "file",
- "properties": {
- "name": "naturalCustomer.companyDocumentAttachment",
- "id": ".naturalCustomer.companyDocumentAttachment",
- "label": "Document attachment",
- "required": true,
- "maxBites": 2097152,
- "accept": ".png",
- "help": "PNG file with max size of 2 mega bytes"
- }
- }
- ]
- }
+
+ "label": "Natural customer form",
+ "name": "algo",
+ "id": "algo",
+ "before": "a) Country risk (nationality)",
+ "after": "a) Country risk (nationality)",
+ "fields": [
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.fullName",
+ "id": ".naturalCustomer.fullName",
+ "label": "Full name",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.address",
+ "id": ".naturalCustomer.address",
+ "label": "Residential address",
+ "required": true
+ },
+ {
+ "type": "integer",
+
+ "name": "naturalCustomer.telephone",
+ "id": ".naturalCustomer.telephone",
+ "label": "Telephone"
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.email",
+ "id": ".naturalCustomer.email",
+ "label": "E-mail"
+ },
+ {
+ "type": "absoluteTime",
+
+ "pattern": "dd/MM/yyyy",
+ "name": "naturalCustomer.dateOfBirth",
+ "id": ".naturalCustomer.dateOfBirth",
+ "label": "Date of birth",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.nationality",
+ "id": ".naturalCustomer.nationality",
+ "label": "Nationality",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.document",
+ "id": ".naturalCustomer.document",
+ "label": "Identification document",
+ "required": true
+ },
+ {
+ "type": "file",
+
+ "name": "naturalCustomer.documentAttachment",
+ "id": ".naturalCustomer.documentAttachment",
+ "label": "Document attachment",
+ "required": true,
+ "maxBites": 2097152,
+ "accept": ".pdf",
+ "help": "PDF file with max size of 2 mega bytes"
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.companyName",
+ "id": ".naturalCustomer.companyName",
+ "label": "Company name"
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.office",
+ "id": ".naturalCustomer.office",
+ "label": "Registered office"
+ },
+ {
+ "type": "text",
+
+ "name": "naturalCustomer.companyDocument",
+ "id": ".naturalCustomer.companyDocument",
+ "label": "Company identification document"
+ },
+ {
+ "type": "file",
+
+ "name": "naturalCustomer.companyDocumentAttachment",
+ "id": ".naturalCustomer.companyDocumentAttachment",
+ "label": "Document attachment",
+ "required": true,
+ "maxBites": 2097152,
+ "accept": ".png",
+ "help": "PNG file with max size of 2 mega bytes"
+ }
+ ]
},
-
-
+
{
"type": "group",
- "properties": {
- "label": "Natural customer form",
- "name": "algo",
- "id": "algo",
- "before": "a) Country risk (nationality)",
- "after": "a) Country risk (nationality)",
- "fields": [
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.companyName",
- "id": ".legalCustomer.companyName",
- "label": "Company name",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.domicile",
- "id": ".legalCustomer.domicile",
- "label": "Domicile",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.contactPerson",
- "id": ".legalCustomer.contactPerson",
- "label": "Contact person"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.telephone",
- "id": ".legalCustomer.telephone",
- "label": "Telephone"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.email",
- "id": ".legalCustomer.email",
- "label": "E-mail"
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "legalCustomer.document",
- "id": ".legalCustomer.document",
- "label": "Identification document",
- "help": "Not older than 12 month"
- }
- },
- {
- "type": "file",
- "properties": {
- "name": "legalCustomer.documentAttachment",
- "id": ".legalCustomer.documentAttachment",
- "label": "Document attachment",
- "required": true,
- "maxBites": 2097152,
- "accept": ".png",
- "help": "PNG file with max size of 2 mega bytes"
- }
- }
- ]
- }
+
+ "label": "Natural customer form",
+ "name": "algo",
+ "id": "algo",
+ "before": "a) Country risk (nationality)",
+ "after": "a) Country risk (nationality)",
+ "fields": [
+ {
+ "type": "text",
+
+ "name": "legalCustomer.companyName",
+ "id": ".legalCustomer.companyName",
+ "label": "Company name",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "legalCustomer.domicile",
+ "id": ".legalCustomer.domicile",
+ "label": "Domicile",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "legalCustomer.contactPerson",
+ "id": ".legalCustomer.contactPerson",
+ "label": "Contact person"
+ },
+ {
+ "type": "text",
+
+ "name": "legalCustomer.telephone",
+ "id": ".legalCustomer.telephone",
+ "label": "Telephone"
+ },
+ {
+ "type": "text",
+
+ "name": "legalCustomer.email",
+ "id": ".legalCustomer.email",
+ "label": "E-mail"
+ },
+ {
+ "type": "text",
+
+ "name": "legalCustomer.document",
+ "id": ".legalCustomer.document",
+ "label": "Identification document",
+ "help": "Not older than 12 month"
+ },
+ {
+ "type": "file",
+
+ "name": "legalCustomer.documentAttachment",
+ "id": ".legalCustomer.documentAttachment",
+ "label": "Document attachment",
+ "required": true,
+ "maxBites": 2097152,
+ "accept": ".png",
+ "help": "PNG file with max size of 2 mega bytes"
+ }
+ ]
}
]
},
@@ -238,108 +215,99 @@
"fields": [
{
"type": "array",
- "properties": {
- "name": "businessEstablisher",
- "id": ".businessEstablisher",
- "label": "Persons",
- "required": true,
- "labelFieldId": "fullName",
- "placeholder": "this is the placeholder",
- "fields": [
- {
- "type": "text",
- "properties": {
- "name": "fullName",
- "id": ".fullName",
- "label": "Full name",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "address",
- "id": ".address",
- "label": "Residential address",
- "required": true
- }
- },
- {
- "type": "absoluteTime",
- "properties": {
- "pattern": "dd/MM/yyyy",
- "name": "dateOfBirth",
- "id": ".dateOfBirth",
- "label": "Date of birth",
- "required": true
- }
- },
-
- {
- "type": "text",
- "properties": {
- "name": "nationality",
- "id": ".nationality",
- "label": "Nationality",
- "required": true
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "typeOfAuthorization",
- "id": ".typeOfAuthorization",
- "label": "Type of authorization (signatory of representation)",
- "required": true
- }
- },
- {
- "type": "file",
- "properties": {
- "name": "documentAttachment",
- "id": ".documentAttachment",
- "label": "Identification document attachment",
- "required": true,
- "maxBites": 2097152,
- "accept": ".pdf",
- "help": "PDF file with max size of 2 mega bytes"
- }
- },
- {
- "type": "choiceStacked",
- "properties": {
- "name": "powerOfAttorneyArrangements",
- "id": ".powerOfAttorneyArrangements",
- "label": "Power of attorney arrangements",
- "required": true,
- "choices": [
- {
- "label": "CR extract",
- "value": "cr"
- },
- {
- "label": "Mandate",
- "value": "mandate"
- },
- {
- "label": "Other",
- "value": "other"
- }
- ]
- }
- },
- {
- "type": "text",
- "properties": {
- "name": "powerOfAttorneyArrangementsOther",
- "id": ".powerOfAttorneyArrangementsOther",
- "label": "Power of attorney arrangements",
- "required": true
+
+ "name": "businessEstablisher",
+ "id": ".businessEstablisher",
+ "label": "Persons",
+ "required": true,
+ "labelFieldId": "fullName",
+ "placeholder": "this is the placeholder",
+ "fields": [
+ {
+ "type": "text",
+
+ "name": "fullName",
+ "id": ".fullName",
+ "label": "Full name",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "address",
+ "id": ".address",
+ "label": "Residential address",
+ "required": true
+ },
+ {
+ "type": "absoluteTime",
+
+ "pattern": "dd/MM/yyyy",
+ "name": "dateOfBirth",
+ "id": ".dateOfBirth",
+ "label": "Date of birth",
+ "required": true
+ },
+
+ {
+ "type": "text",
+
+ "name": "nationality",
+ "id": ".nationality",
+ "label": "Nationality",
+ "required": true
+ },
+ {
+ "type": "text",
+
+ "name": "typeOfAuthorization",
+ "id": ".typeOfAuthorization",
+ "label": "Type of authorization (signatory of representation)",
+ "required": true
+ },
+ {
+ "type": "file",
+
+ "name": "documentAttachment",
+ "id": ".documentAttachment",
+ "label": "Identification document attachment",
+ "required": true,
+ "maxBites": 2097152,
+ "accept": ".pdf",
+ "help": "PDF file with max size of 2 mega bytes"
+ },
+ {
+ "type": "choiceStacked",
+
+ "name": "powerOfAttorneyArrangements",
+ "id": ".powerOfAttorneyArrangements",
+ "label": "Power of attorney arrangements",
+ "required": true,
+ "choices": [
+ {
+ "label": "CR extract",
+ "value": "cr"
+ },
+ {
+ "label": "Mandate",
+ "value": "mandate"
+ },
+ {
+ "label": "Other",
+ "value": "other"
}
- }
- ],
- "labelField": "fullName"
- }
+ ]
+ },
+ {
+ "type": "text",
+
+ "name": "powerOfAttorneyArrangementsOther",
+ "id": ".powerOfAttorneyArrangementsOther",
+ "label": "Power of attorney arrangements",
+ "required": true
+ }
+ ],
+ "labelField": "fullName"
}
]
},
@@ -348,103 +316,96 @@
"fields": [
{
"type": "absoluteTime",
- "properties": {
- "name": "acceptance.when",
- "id": ".acceptance.when",
- "pattern": "dd/MM/yyyy",
- "converterId": "Taler.AbsoluteTime",
- "label": "Date (conclusion of contract)"
- }
+
+ "name": "acceptance.when",
+ "id": ".acceptance.when",
+ "pattern": "dd/MM/yyyy",
+ "converterId": "Taler.AbsoluteTime",
+ "label": "Date (conclusion of contract)"
},
{
"type": "choiceStacked",
- "properties": {
- "name": "acceptance.acceptedBy",
- "id": ".acceptance.acceptedBy",
- "label": "Accepted by",
- "required": true,
- "choices": [
- {
- "label": "Face-to-face meeting with customer",
- "value": "face-to-face"
- },
- {
- "label": "Correspondence: authenticated copy of identification document obtained",
- "value": "correspondence-document"
- },
- {
- "label": "Correspondence: residential address validated",
- "value": "correspondence-address"
- }
- ]
- }
+
+ "name": "acceptance.acceptedBy",
+ "id": ".acceptance.acceptedBy",
+ "label": "Accepted by",
+ "required": true,
+ "choices": [
+ {
+ "label": "Face-to-face meeting with customer",
+ "value": "face-to-face"
+ },
+ {
+ "label": "Correspondence: authenticated copy of identification document obtained",
+ "value": "correspondence-document"
+ },
+ {
+ "label": "Correspondence: residential address validated",
+ "value": "correspondence-address"
+ }
+ ]
},
{
"type": "choiceStacked",
- "properties": {
- "name": "acceptance.typeOfCorrespondence",
- "id": ".acceptance.typeOfCorrespondence",
- "label": "Type of correspondence service",
- "choices": [
- {
- "label": "to the customer",
- "value": "customer"
- },
- {
- "label": "hold at bank",
- "value": "bank"
- },
- {
- "label": "to the member",
- "value": "member"
- },
- {
- "label": "to a third party",
- "value": "third-party"
- }
- ]
- }
+
+ "name": "acceptance.typeOfCorrespondence",
+ "id": ".acceptance.typeOfCorrespondence",
+ "label": "Type of correspondence service",
+ "choices": [
+ {
+ "label": "to the customer",
+ "value": "customer"
+ },
+ {
+ "label": "hold at bank",
+ "value": "bank"
+ },
+ {
+ "label": "to the member",
+ "value": "member"
+ },
+ {
+ "label": "to a third party",
+ "value": "third-party"
+ }
+ ]
},
{
"type": "text",
- "properties": {
- "name": "acceptance.thirdPartyFullName",
- "id": ".acceptance.thirdPartyFullName",
- "label": "Third party full name",
- "required": true
- }
+
+ "name": "acceptance.thirdPartyFullName",
+ "id": ".acceptance.thirdPartyFullName",
+ "label": "Third party full name",
+ "required": true
},
{
"type": "text",
- "properties": {
- "name": "acceptance.thirdPartyAddress",
- "id": ".acceptance.thirdPartyAddress",
- "label": "Third party address",
- "required": true
- }
+
+ "name": "acceptance.thirdPartyAddress",
+ "id": ".acceptance.thirdPartyAddress",
+ "label": "Third party address",
+ "required": true
},
{
"type": "selectMultiple",
- "properties": {
- "name": "acceptance.language",
- "id": ".acceptance.language",
- "label": "Languages",
- "choices": [
- {
- "label": "Espanol",
- "value": "es"
- }
- ],
- "unique": true
- }
+
+ "name": "acceptance.language",
+ "id": ".acceptance.language",
+ "label": "Languages",
+ "choices": [
+ {
+ "label": "Espanol",
+ "value": "es"
+ }
+ ],
+ "unique": true
},
{
"type": "textArea",
- "properties": {
- "name": "acceptance.furtherInformation",
- "id": ".acceptance.furtherInformation",
- "label": "Further information"
- }
+
+ "name": "acceptance.furtherInformation",
+ "id": ".acceptance.furtherInformation",
+ "label": "Further information"
}
]
},
@@ -454,34 +415,33 @@
"fields": [
{
"type": "choiceStacked",
- "properties": {
- "name": "establishment",
- "id": ".establishment",
- "label": "The customer is",
- "required": true,
- "choices": [
- {
- "label": "a natural person and there are no doubts that this person is the sole beneficial owner of the assets",
- "value": "natural"
- },
- {
- "label": "a foundation (or a similar construct; incl. underlying companies)",
- "value": "foundation"
- },
- {
- "label": "a trust (incl. underlying companies)",
- "value": "trust"
- },
- {
- "label": "a life insurance policy with separately managed accounts/securities accounts",
- "value": "insurance-wrapper"
- },
- {
- "label": "all other cases",
- "value": "other"
- }
- ]
- }
+
+ "name": "establishment",
+ "id": ".establishment",
+ "label": "The customer is",
+ "required": true,
+ "choices": [
+ {
+ "label": "a natural person and there are no doubts that this person is the sole beneficial owner of the assets",
+ "value": "natural"
+ },
+ {
+ "label": "a foundation (or a similar construct; incl. underlying companies)",
+ "value": "foundation"
+ },
+ {
+ "label": "a trust (incl. underlying companies)",
+ "value": "trust"
+ },
+ {
+ "label": "a life insurance policy with separately managed accounts/securities accounts",
+ "value": "insurance-wrapper"
+ },
+ {
+ "label": "all other cases",
+ "value": "other"
+ }
+ ]
}
]
},
@@ -491,12 +451,11 @@
"fields": [
{
"type": "textArea",
- "properties": {
- "name": "embargoEvaluation",
- "id": ".embargoEvaluation",
- "help": "The evaluation must be made at the beginning of the business relationship and has to be repeated in the case of permanent business relationship every time the according lists are updated.",
- "label": "Evaluation"
- }
+
+ "name": "embargoEvaluation",
+ "id": ".embargoEvaluation",
+ "help": "The evaluation must be made at the beginning of the business relationship and has to be repeated in the case of permanent business relationship every time the according lists are updated.",
+ "label": "Evaluation"
}
]
},
@@ -506,42 +465,78 @@
"fields": [
{
"type": "choiceStacked",
- "properties": {
- "name": "cashTransactions.typeOfBusiness",
- "id": ".cashTransactions.typeOfBusiness",
- "label": "Type of business relationship",
- "choices": [
- {
- "label": "Money exchange",
- "value": "money-exchange"
- },
- {
- "label": "Money and asset transfer",
- "value": "money-and-asset-transfer"
- },
- {
- "label": "Other cash transactions. Specify below",
- "value": "other"
- }
- ]
- }
+
+ "name": "cashTransactions.typeOfBusiness",
+ "id": ".cashTransactions.typeOfBusiness",
+ "label": "Type of business relationship",
+ "choices": [
+ {
+ "label": "Money exchange",
+ "value": "money-exchange"
+ },
+ {
+ "label": "Money and asset transfer",
+ "value": "money-and-asset-transfer"
+ },
+ {
+ "label": "Other cash transactions. Specify below",
+ "value": "other"
+ }
+ ]
},
{
"type": "text",
- "properties": {
- "name": "cashTransactions.otherTypeOfBusiness",
- "id": ".cashTransactions.otherTypeOfBusiness",
- "required": true,
- "label": "Specify other cash transactions:"
- }
+
+ "name": "cashTransactions.otherTypeOfBusiness",
+ "id": ".cashTransactions.otherTypeOfBusiness",
+ "required": true,
+ "label": "Specify other cash transactions:"
},
{
"type": "textArea",
- "properties": {
- "name": "cashTransactions.purpose",
- "id": ".cashTransactions.purpose",
- "label": "Purpose of the business relationship (purpose of service requested)"
- }
+ "name": "cashTransactions.purpose",
+ "id": ".cashTransactions.purpose",
+ "label": "Purpose of the business relationship (purpose of service requested)"
+ }
+ ]
+ }
+ ]
+ }
+ },
+ {
+ "label": "Example form",
+ "id": "example",
+ "version": 1,
+ "config": {
+ "type": "double-column",
+ "design": [
+ {
+ "title": "Decorative elements",
+ "description": "This is an example UI of a form with decorative elements",
+ "fields": [
+ {
+ "type": "caption",
+ "name": "cap",
+ "label": "This is a caption"
+ },
+ {
+ "type": "group",
+ "name": "group",
+ "label": "The first name and last name are in a group",
+ "fields": [
+ {
+ "type": "text",
+ "name": "firstName",
+ "id": ".person.name",
+ "label": "First name"
+ },
+ {
+ "type": "text",
+ "name": "lastName",
+ "id": ".person.lastName",
+ "label": "Last name"
+ }
+ ]
}
]
}