review_information
Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/review_information_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 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 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 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.
Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.
Review your information
Confirm that your information is correct
Blocking the CTA (3)
firstName— First name is requiredlastName— Last name is requiredconfirmInformationAccepted— Information confirmation is required
Not shown to the customer
serialNumber— hidden until documentType = NATID | MAISHA | ALIEN | REFUGEE_IDexpiryDate— hidden until documentType = PASPOplaceOfIssue— hidden until documentType = NATID | MAISHA | ALIEN | REFUGEE_IDnationality— hidden until documentType = PASPO
[
{
"op": "remove",
"path": "/properties/email"
},
{
"op": "replace",
"path": "/properties/phoneNumber/x-errorMessages/pattern",
"value": "review.error.phoneNumber.ke.pattern"
},
{
"op": "replace",
"path": "/properties/phoneNumber/x-errorMessages/required",
"value": "review.error.phoneNumber.ke.required"
},
{
"op": "replace",
"path": "/properties/gender/x-source",
"value": "ekyc.documentData.backDocumentData.ocrData.mrzSex"
},
{
"op": "add",
"path": "/properties/gender/x-sourceFallbacks",
"value": [
"ekyc.documentData.frontDocumentData.ocrData.sex"
]
},
{
"op": "replace",
"path": "/properties/documentNumber/x-errorMessages/required",
"value": "review.error.documentNumber.ke.required"
},
{
"op": "replace",
"path": "/properties/documentType/x-errorMessages/required",
"value": "review.error.documentType.ke.required"
},
{
"op": "replace",
"path": "/properties/lastName/x-errorMessages/required",
"value": "review.error.lastName.ke.required"
},
{
"op": "replace",
"path": "/properties/firstName/x-errorMessages/required",
"value": "review.error.firstName.ke.required"
},
{
"op": "add",
"path": "/properties/expiryDate",
"value": {
"type": "string",
"x-labelKey": "review.expiryDate.ke.label",
"x-source": "ekyc.documentData.frontDocumentData.ocrData.expiryYear",
"x-sourceFallbacks": [
"ekyc.documentData.frontDocumentData.ocrData.expiryDate"
],
"x-readOnly": true,
"x-errorMessages": {
"type": "review.error.expiryDate.ke.type"
}
}
},
{
"op": "add",
"path": "/properties/nationality",
"value": {
"type": "string",
"x-labelKey": "review.nationality.label",
"x-source": "ekyc.documentData.frontDocumentData.ocrData.nationality",
"x-readOnly": true,
"x-errorMessages": {
"type": "review.error.nationality.type"
}
}
}
][
{
"op": "remove",
"path": "/widgets/email"
},
{
"op": "add",
"path": "/widgets/expiryDate",
"value": "text"
},
{
"op": "add",
"path": "/widgets/nationality",
"value": "text"
},
{
"op": "replace",
"path": "/layout/0/fields/11/0",
"value": "phoneNumber"
},
{
"op": "replace",
"path": "/layout/0/fields/10/0",
"value": "nationality"
},
{
"op": "replace",
"path": "/layout/0/fields/9/0",
"value": "placeOfIssue"
},
{
"op": "replace",
"path": "/layout/0/fields/8/0",
"value": "gender"
},
{
"op": "replace",
"path": "/layout/0/fields/7/0",
"value": "dateOfBirth"
},
{
"op": "replace",
"path": "/layout/0/fields/6/0",
"value": "lastName"
},
{
"op": "replace",
"path": "/layout/0/fields/5/0",
"value": "middleName"
},
{
"op": "replace",
"path": "/layout/0/fields/4/0",
"value": "firstName"
},
{
"op": "replace",
"path": "/layout/0/fields/3/0",
"value": "expiryDate"
},
{
"op": "add",
"path": "/layout/0/fields/12",
"value": [
"confirmInformationAccepted"
]
},
{
"op": "add",
"path": "/visibilityRules",
"value": {
"serialNumber": {
"dependsOn": "documentType",
"showWhen": [
"NATID",
"MAISHA",
"ALIEN",
"REFUGEE_ID"
]
},
"expiryDate": {
"dependsOn": "documentType",
"showWhen": [
"PASPO"
]
},
"placeOfIssue": {
"dependsOn": "documentType",
"showWhen": [
"NATID",
"MAISHA",
"ALIEN",
"REFUGEE_ID"
]
},
"nationality": {
"dependsOn": "documentType",
"showWhen": [
"PASPO"
]
}
}
}
]