Onboarding configuration
esc
Country
Forms
↑↓ navigate↵ open40 results
Countries/KE/basic_info

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)
NATIDidentity.documentType.nationalId
PASPOidentity.documentType.passport
MAISHAidentity.documentType.maishaId
ALIENidentity.documentType.alienId
REFUGEE_IDidentity.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.

EQUITY
basic_info

Your details

Enter your identity details

Document type

5 options

Document number
Phone number

Blocking the CTA (2)

  • documentNumber — Document number is required
  • phoneNumber — Phone number is required

Not shown to the customer

  • countryOfResidence — in the schema, but no layout row places it
  • countryOfResidence — 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.