occupation
Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/occupation_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)EMPLOYED_SALARIED occupation.sourceOfIncome.employedSalariedSELF_EMPLOYED occupation.sourceOfIncome.selfEmployedNONE occupation.sourceOfIncome.none
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)KES_0_50000 occupation.monthlyIncome.ke.range0_50000KES_51000_100000 occupation.monthlyIncome.ke.range51000_100000KES_101000_500000 occupation.monthlyIncome.ke.range101000_500000KES_500000_1000000 occupation.monthlyIncome.ke.range500000_1000000
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)EMPLOYED_SALARIED occupation.sourceOfIncome.employedSalariedSELF_EMPLOYED occupation.sourceOfIncome.selfEmployedNONE occupation.sourceOfIncome.none
Validation
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)KES_0_50000 occupation.monthlyIncome.ke.range0_50000KES_51000_100000 occupation.monthlyIncome.ke.range51000_100000KES_101000_500000 occupation.monthlyIncome.ke.range101000_500000KES_500000_1000000 occupation.monthlyIncome.ke.range500000_1000000
Validation
Error message keys (i18n)
Live preview
Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.
occupation
Occupation
Source of income
3 options
Monthly income
4 options
Secondary source of income (Optional)
3 options
Secondary monthly income (Optional)
4 options
Blocking the CTA (2)
primarySourceOfIncome— Source of income is requiredprimaryMonthlyIncome— Monthly income is required
Generated change (1 file)
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/KE/occupation_ke_v1_schema_patch.json
[
{
"op": "remove",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RANGE_500000_1000000"
},
{
"op": "remove",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RANGE_101000_500000"
},
{
"op": "remove",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RANGE_51000_100000"
},
{
"op": "remove",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RANGE_0_50000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/KES_0_50000",
"value": "occupation.monthlyIncome.ke.range0_50000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/KES_51000_100000",
"value": "occupation.monthlyIncome.ke.range51000_100000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/KES_101000_500000",
"value": "occupation.monthlyIncome.ke.range101000_500000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/KES_500000_1000000",
"value": "occupation.monthlyIncome.ke.range500000_1000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/3",
"value": "KES_500000_1000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/2",
"value": "KES_101000_500000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/1",
"value": "KES_51000_100000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/0",
"value": "KES_0_50000"
},
{
"op": "remove",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RANGE_500000_1000000"
},
{
"op": "remove",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RANGE_101000_500000"
},
{
"op": "remove",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RANGE_51000_100000"
},
{
"op": "remove",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RANGE_0_50000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/KES_0_50000",
"value": "occupation.monthlyIncome.ke.range0_50000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/KES_51000_100000",
"value": "occupation.monthlyIncome.ke.range51000_100000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/KES_101000_500000",
"value": "occupation.monthlyIncome.ke.range101000_500000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/KES_500000_1000000",
"value": "occupation.monthlyIncome.ke.range500000_1000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/3",
"value": "KES_500000_1000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/2",
"value": "KES_101000_500000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/1",
"value": "KES_51000_100000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/0",
"value": "KES_0_50000"
}
] Downloads a zip to apply to a clone and raise as a PR.