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)RWF_0_500000 occupation.monthlyIncome.rw.range0_500000RWF_500000_1000000 occupation.monthlyIncome.rw.range500000_1000000RWF_1000000_5000000 occupation.monthlyIncome.rw.range1000000_5000000RWF_5000000_10000000 occupation.monthlyIncome.rw.range5000000_10000000
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)RWF_0_500000 occupation.monthlyIncome.rw.range0_500000RWF_500000_1000000 occupation.monthlyIncome.rw.range500000_1000000RWF_1000000_5000000 occupation.monthlyIncome.rw.range1000000_5000000RWF_5000000_10000000 occupation.monthlyIncome.rw.range5000000_10000000
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/RW/occupation_rw_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/RWF_0_500000",
"value": "occupation.monthlyIncome.rw.range0_500000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_500000_1000000",
"value": "occupation.monthlyIncome.rw.range500000_1000000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_1000000_5000000",
"value": "occupation.monthlyIncome.rw.range1000000_5000000"
},
{
"op": "add",
"path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_5000000_10000000",
"value": "occupation.monthlyIncome.rw.range5000000_10000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/3",
"value": "RWF_5000000_10000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/2",
"value": "RWF_1000000_5000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/1",
"value": "RWF_500000_1000000"
},
{
"op": "replace",
"path": "/properties/secondaryMonthlyIncome/enum/0",
"value": "RWF_0_500000"
},
{
"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/RWF_0_500000",
"value": "occupation.monthlyIncome.rw.range0_500000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_500000_1000000",
"value": "occupation.monthlyIncome.rw.range500000_1000000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_1000000_5000000",
"value": "occupation.monthlyIncome.rw.range1000000_5000000"
},
{
"op": "add",
"path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_5000000_10000000",
"value": "occupation.monthlyIncome.rw.range5000000_10000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/3",
"value": "RWF_5000000_10000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/2",
"value": "RWF_1000000_5000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/1",
"value": "RWF_500000_1000000"
},
{
"op": "replace",
"path": "/properties/primaryMonthlyIncome/enum/0",
"value": "RWF_0_500000"
}
] Downloads a zip to apply to a clone and raise as a PR.