basic_info
Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/basic_info_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.nationalIdPASPO identity.documentType.passportMAISHA identity.documentType.maishaIdALIEN identity.documentType.alienIdREFUGEE_ID identity.documentType.refugeeId
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.
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.
Options (enum)
Validationrequired
Error message keys (i18n)
Live preview
Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.
basic_info
Your details
Enter your identity details
Document type
5 options
Document number
Phone number
Blocking the CTA (2)
documentNumber— Document number is requiredphoneNumber— Phone number is required
Not shown to the customer
countryOfResidence— in the schema, but no layout row places itcountryOfResidence— x-hidden — sent in the payload, never displayed
Generated change (2 files)
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/KE/basic_info_ke_v1_schema_patch.json
[
{
"op": "add",
"path": "/required/3",
"value": "countryOfResidence"
},
{
"op": "remove",
"path": "/properties/email"
},
{
"op": "add",
"path": "/properties/documentType/x-enumLabels/MAISHA",
"value": "identity.documentType.maishaId"
},
{
"op": "replace",
"path": "/properties/documentType/enum/3",
"value": "ALIEN"
},
{
"op": "replace",
"path": "/properties/documentType/enum/2",
"value": "MAISHA"
},
{
"op": "add",
"path": "/properties/documentType/enum/4",
"value": "REFUGEE_ID"
},
{
"op": "add",
"path": "/properties/countryOfResidence",
"value": {
"type": "string",
"minLength": 2,
"maxLength": 2,
"pattern": "^[A-Z]{2}$",
"default": "KE",
"x-hidden": true,
"x-labelKey": "address.countryOfResidence.label",
"x-placeholderKey": "address.countryOfResidence.placeholder",
"x-errorMessages": {
"type": "address.error.countryOfResidence.type",
"required": "address.error.countryOfResidence.required",
"minLength": "address.error.countryOfResidence.minLength",
"maxLength": "address.error.countryOfResidence.maxLength",
"pattern": "address.error.countryOfResidence.pattern"
}
}
}
]src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/KE/basic_info_ke_v1_ui_patch.json
[
{
"op": "remove",
"path": "/widgets/email"
},
{
"op": "remove",
"path": "/layout/0/fields/3"
}
] Downloads a zip to apply to a clone and raise as a PR.