ekyc
Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/ekyc_base_v1_schema.json
Scope
Prefill from journey data
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Options (enum)NATID identity.documentType.nationalIdREFUGEE_ID identity.documentType.refugeeIdFOREIGN_ID identity.documentType.foreignId
Validationrequired
Error message keys (i18n)
Prefill from journey data
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Options (enum)
Validationrequired
Error message keys (i18n)
Prefill from journey data
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Validationrequired
Only “Required” applies to object fields.
Error message keys (i18n)
Prefill from journey data
The service uses the first non-empty source. Use a dot path beginning with the source step id.
Validationrequired
Only “Required” applies to object fields.
Error message keys (i18n)
Live preview
Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.
ekyc
Identity verification
Scan your document and take a selfie.
Scan document
Take a selfie
Blocking the CTA (2)
documentData— Document data is requiredselfieData— A selfie is required
Not shown to the customer
documentNumber— in the schema, but no layout row places itdocumentType— x-hidden — sent in the payload, never displayeddocumentNumber— x-hidden — sent in the payload, never displayed
Generated change (1 file)
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/RW/ekyc_rw_v1_schema_patch.json
[
{
"op": "replace",
"path": "/properties/selfieData/x-errorMessages/required",
"value": "ekyc.error.selfieData.rw.required"
},
{
"op": "add",
"path": "/properties/documentData/properties/backDocumentData/x-errorMessages",
"value": {
"type": "ekyc.error.backDocumentData.type",
"required": "ekyc.error.backDocumentData.rw.required"
}
},
{
"op": "add",
"path": "/properties/documentData/properties/frontDocumentData/properties/ocrData/properties/fullName",
"value": {
"type": "string",
"minLength": 1,
"maxLength": 200
}
},
{
"op": "remove",
"path": "/properties/documentData/properties/frontDocumentData/properties/ocrData/required/2"
},
{
"op": "replace",
"path": "/properties/documentData/properties/frontDocumentData/properties/ocrData/required/1",
"value": "documentNumber"
},
{
"op": "replace",
"path": "/properties/documentData/properties/frontDocumentData/properties/ocrData/required/0",
"value": "fullName"
},
{
"op": "add",
"path": "/properties/documentData/properties/frontDocumentData/x-errorMessages",
"value": {
"type": "ekyc.error.frontDocumentData.type",
"required": "ekyc.error.frontDocumentData.rw.required"
}
},
{
"op": "remove",
"path": "/properties/documentType/x-enumLabels/ALIEN"
},
{
"op": "remove",
"path": "/properties/documentType/x-enumLabels/PASPO"
},
{
"op": "add",
"path": "/properties/documentType/x-enumLabels/FOREIGN_ID",
"value": "identity.documentType.foreignId"
},
{
"op": "remove",
"path": "/properties/documentType/enum/3"
},
{
"op": "replace",
"path": "/properties/documentType/enum/2",
"value": "FOREIGN_ID"
},
{
"op": "replace",
"path": "/properties/documentType/enum/1",
"value": "REFUGEE_ID"
}
] Downloads a zip to apply to a clone and raise as a PR.