confirm
Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/confirm_base_v1_schema.json
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Stored in this form's x-linkedContent. Publishing emits the country schema patch DigitalOnboardingSvc already seeds.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.
Confirmation
4 options
3 options
2 options
Blocking the CTA (8)
state— State / region is requiredaddress— Address is requiredzipCode— ZIP / postal code is requiredcity— City is requiredprimarySourceOfIncome— Primary source of income is requiredconfirmTermsAccepted— I accept the terms and conditions is required.employmentStatus— Employment status is required.profession— Profession is required
Not shown to the customer
countryOfResidence— in the schema, but no layout row places itcrsTaxIdentificationNumber— hidden until crsHasTaxpayerIdentificationNumber = YEScrsTinUnavailableReason— hidden until crsHasTaxpayerIdentificationNumber = NOfatcaSocialSecurityNumber— hidden until fatcaSocialSecurityNumber has a valuefatcaProofOfAddressDocument— hidden until fatcaProofOfAddressDocument has a value
[
{
"op": "remove",
"path": "/x-crossFieldRules/secondarySourceOfIncome"
},
{
"op": "remove",
"path": "/x-crossFieldRules/secondaryMonthlyIncome"
},
{
"op": "remove",
"path": "/required/13"
},
{
"op": "remove",
"path": "/required/12"
},
{
"op": "remove",
"path": "/required/11"
},
{
"op": "remove",
"path": "/required/10"
},
{
"op": "remove",
"path": "/required/9"
},
{
"op": "remove",
"path": "/required/8"
},
{
"op": "replace",
"path": "/required/7",
"value": "confirmTermsAccepted"
},
{
"op": "replace",
"path": "/required/6",
"value": "profession"
},
{
"op": "replace",
"path": "/required/5",
"value": "employmentStatus"
},
{
"op": "replace",
"path": "/required/4",
"value": "primarySourceOfIncome"
},
{
"op": "replace",
"path": "/required/3",
"value": "city"
},
{
"op": "replace",
"path": "/required/2",
"value": "zipCode"
},
{
"op": "replace",
"path": "/required/1",
"value": "address"
},
{
"op": "replace",
"path": "/required/0",
"value": "state"
},
{
"op": "remove",
"path": "/properties/crsTinReasonUnavailableOption"
},
{
"op": "remove",
"path": "/properties/email"
},
{
"op": "remove",
"path": "/properties/documentNumber"
},
{
"op": "remove",
"path": "/properties/documentType"
},
{
"op": "remove",
"path": "/properties/phoneNumber"
},
{
"op": "remove",
"path": "/properties/relationship"
},
{
"op": "remove",
"path": "/properties/lastName"
},
{
"op": "remove",
"path": "/properties/middleName"
},
{
"op": "remove",
"path": "/properties/firstName"
},
{
"op": "remove",
"path": "/properties/secondaryMonthlyIncome"
},
{
"op": "remove",
"path": "/properties/secondarySourceOfIncome"
},
{
"op": "remove",
"path": "/properties/primaryMonthlyIncome"
},
{
"op": "remove",
"path": "/properties/primarySourceOfIncome/x-enumLabels/NONE"
},
{
"op": "remove",
"path": "/properties/primarySourceOfIncome/x-enumLabels/SELF_EMPLOYED"
},
{
"op": "remove",
"path": "/properties/primarySourceOfIncome/x-enumLabels/EMPLOYED_SALARIED"
},
{
"op": "add",
"path": "/properties/primarySourceOfIncome/x-enumLabels/EMPLOYMENT",
"value": "occupation.sourceOfIncome.employment"
},
{
"op": "add",
"path": "/properties/primarySourceOfIncome/x-enumLabels/BUSINESS",
"value": "occupation.sourceOfIncome.business"
},
{
"op": "add",
"path": "/properties/primarySourceOfIncome/x-enumLabels/REMITTANCE",
"value": "occupation.sourceOfIncome.remittance"
},
{
"op": "add",
"path": "/properties/primarySourceOfIncome/x-enumLabels/OTHER",
"value": "occupation.sourceOfIncome.other"
},
{
"op": "replace",
"path": "/properties/primarySourceOfIncome/enum/2",
"value": "REMITTANCE"
},
{
"op": "replace",
"path": "/properties/primarySourceOfIncome/enum/1",
"value": "BUSINESS"
},
{
"op": "replace",
"path": "/properties/primarySourceOfIncome/enum/0",
"value": "EMPLOYMENT"
},
{
"op": "add",
"path": "/properties/primarySourceOfIncome/enum/3",
"value": "OTHER"
},
{
"op": "add",
"path": "/properties/employmentStatus",
"value": {
"type": "string",
"enum": [
"EMPLOYED",
"SELF_EMPLOYED",
"UNEMPLOYED"
],
"x-labelKey": "confirm.employmentStatus.label",
"x-placeholderKey": "confirm.employmentStatus.placeholder",
"x-popoverTitleKey": "confirm.employmentStatus.popoverTitle.label",
"x-source": "occupation.employmentStatus",
"x-enumLabels": {
"EMPLOYED": "occupation.employmentStatus.employed",
"SELF_EMPLOYED": "occupation.employmentStatus.selfEmployed",
"UNEMPLOYED": "occupation.employmentStatus.unemployed"
},
"x-errorMessages": {
"type": "confirm.error.employmentStatus.type",
"enum": "confirm.error.employmentStatus.enum"
}
}
},
{
"op": "add",
"path": "/properties/profession",
"value": {
"type": "string",
"minLength": 2,
"maxLength": 100,
"x-labelKey": "confirm.profession.label",
"x-placeholderKey": "confirm.profession.placeholder",
"x-source": "occupation.profession",
"x-errorMessages": {
"type": "confirm.error.profession.type",
"required": "confirm.error.profession.required",
"minLength": "confirm.error.profession.minLength",
"maxLength": "confirm.error.profession.maxLength"
}
}
},
{
"op": "add",
"path": "/properties/crsDeclarationAccepted",
"value": {
"type": "boolean",
"x-labelKey": "crsTaxDetails.declarationAccepted.label",
"x-source": "crs_tax_details.declarationAccepted",
"x-errorMessages": {
"type": "crsTaxDetails.error.declarationAccepted.type"
}
}
}
][
{
"op": "remove",
"path": "/widgets/crsTinReasonUnavailableOption"
},
{
"op": "remove",
"path": "/widgets/email"
},
{
"op": "remove",
"path": "/widgets/documentNumber"
},
{
"op": "remove",
"path": "/widgets/documentType"
},
{
"op": "remove",
"path": "/widgets/phoneNumber"
},
{
"op": "remove",
"path": "/widgets/relationship"
},
{
"op": "remove",
"path": "/widgets/lastName"
},
{
"op": "remove",
"path": "/widgets/middleName"
},
{
"op": "remove",
"path": "/widgets/firstName"
},
{
"op": "remove",
"path": "/widgets/secondaryMonthlyIncome"
},
{
"op": "remove",
"path": "/widgets/secondarySourceOfIncome"
},
{
"op": "remove",
"path": "/widgets/primaryMonthlyIncome"
},
{
"op": "remove",
"path": "/widgets/countryOfResidence"
},
{
"op": "add",
"path": "/widgets/employmentStatus",
"value": "selector"
},
{
"op": "add",
"path": "/widgets/profession",
"value": "text"
},
{
"op": "add",
"path": "/widgets/crsDeclarationAccepted",
"value": "checkbox"
},
{
"op": "remove",
"path": "/visibilityRules/crsTinReasonUnavailableOption"
},
{
"op": "remove",
"path": "/layout/6"
},
{
"op": "replace",
"path": "/layout/5/fields/0/0",
"value": "confirmTermsAccepted"
},
{
"op": "remove",
"path": "/layout/5/x-editTargetStepId"
},
{
"op": "remove",
"path": "/layout/5/x-sectionTitle"
},
{
"op": "replace",
"path": "/layout/4/fields/0/0",
"value": "fatcaProofOfAddressDocument"
},
{
"op": "replace",
"path": "/layout/4/x-editTargetStepId",
"value": "fatca_documents"
},
{
"op": "replace",
"path": "/layout/4/x-sectionTitle",
"value": "confirm.fatcaDocumentsSection.title"
},
{
"op": "remove",
"path": "/layout/3/fields/3"
},
{
"op": "remove",
"path": "/layout/3/fields/2"
},
{
"op": "remove",
"path": "/layout/3/fields/1"
},
{
"op": "replace",
"path": "/layout/3/fields/0/0",
"value": "fatcaSocialSecurityNumber"
},
{
"op": "replace",
"path": "/layout/3/x-editTargetStepId",
"value": "fatca_tax_details"
},
{
"op": "replace",
"path": "/layout/3/x-sectionTitle",
"value": "confirm.fatcaTaxDetailsSection.title"
},
{
"op": "remove",
"path": "/layout/2/fields/7"
},
{
"op": "remove",
"path": "/layout/2/fields/6"
},
{
"op": "remove",
"path": "/layout/2/fields/5"
},
{
"op": "remove",
"path": "/layout/2/fields/4"
},
{
"op": "replace",
"path": "/layout/2/fields/3/0",
"value": "crsDeclarationAccepted"
},
{
"op": "replace",
"path": "/layout/2/fields/2/0",
"value": "crsTinUnavailableReason"
},
{
"op": "replace",
"path": "/layout/2/fields/1/0",
"value": "crsTaxIdentificationNumber"
},
{
"op": "replace",
"path": "/layout/2/fields/0/0",
"value": "crsHasTaxpayerIdentificationNumber"
},
{
"op": "replace",
"path": "/layout/2/x-editTargetStepId",
"value": "crs_tax_details"
},
{
"op": "replace",
"path": "/layout/2/x-sectionTitle",
"value": "confirm.crsTaxDetailsSection.title"
},
{
"op": "remove",
"path": "/layout/1/fields/3"
},
{
"op": "replace",
"path": "/layout/1/fields/2/0",
"value": "profession"
},
{
"op": "replace",
"path": "/layout/1/fields/1/0",
"value": "employmentStatus"
},
{
"op": "remove",
"path": "/layout/0/fields/4"
},
{
"op": "replace",
"path": "/layout/0/fields/3/0",
"value": "city"
},
{
"op": "replace",
"path": "/layout/0/fields/2/0",
"value": "zipCode"
},
{
"op": "replace",
"path": "/layout/0/fields/1/0",
"value": "address"
},
{
"op": "replace",
"path": "/layout/0/fields/0/0",
"value": "state"
}
]