Onboarding configuration
esc
Country
Forms
↑↓ navigate↵ open40 results
Countries/UG/confirm

confirm

Base v1 · src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Forms/confirm_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)
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)
KAMKampala
JIJJinja
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_SALARIEDconfirm.sourceOfIncome.employedSalaried
SELF_EMPLOYEDconfirm.sourceOfIncome.selfEmployed
NONEconfirm.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)
UGX_0_1500000confirm.monthlyIncome.ug.range0_1500000
UGX_1500000_3000000confirm.monthlyIncome.ug.range1500000_3000000
UGX_3000000_15000000confirm.monthlyIncome.ug.range3000000_15000000
UGX_15000000_30000000confirm.monthlyIncome.ug.range15000000_30000000
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_SALARIEDconfirm.sourceOfIncome.employedSalaried
SELF_EMPLOYEDconfirm.sourceOfIncome.selfEmployed
NONEconfirm.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)
UGX_0_1500000confirm.monthlyIncome.ug.range0_1500000
UGX_1500000_3000000confirm.monthlyIncome.ug.range1500000_3000000
UGX_3000000_15000000confirm.monthlyIncome.ug.range3000000_15000000
UGX_15000000_30000000confirm.monthlyIncome.ug.range15000000_30000000
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)
YEScommon.answer.yes
NOcommon.answer.no
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.

Conditional display

The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.

Options (enum)
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.

Conditional display

The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.

Options (enum)
REASON_AcrsTaxDetails.tinReasonUnavailableOption.reasonA
REASON_BcrsTaxDetails.tinReasonUnavailableOption.reasonB
REASON_CcrsTaxDetails.tinReasonUnavailableOption.reasonC
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.

Conditional display

The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.

Options (enum)
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.

Conditional display

The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.

Options (enum)
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.

Conditional display

The preview reads this rule as you enter answers. The service can project it before returning the form when the dependency comes from an earlier step.

Validation
Only “Required” applies to array 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.

Linked consent content

Stored in this form's x-linkedContent. Publishing emits the country schema patch DigitalOnboardingSvc already seeds.

Validationrequired
Only “Required” applies to boolean 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.

Options (enum)
NANNansana
KIRKira
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)
MUKMukono
NJRNjeru
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)
Validation
Error message keys (i18n)
Live preview

Renders as the web app would. Interactive — pick values to exercise visibility rules and validation.

EQUITY
confirm

Confirmation

State / region

2 options

confirm.town.label

2 options

confirm.village.label

2 options

confirm.street.label (Optional)
Primary source of income

3 options

Primary monthly income

4 options

Secondary source of income (Optional)

3 options

Secondary monthly income (Optional)

4 options

Taxpayer identification number (TIN) (Optional)

2 options

I accept the terms and conditions

Blocking the CTA (6)

  • state — State / region is required
  • primarySourceOfIncome — Primary source of income is required
  • primaryMonthlyIncome — Primary monthly income is required
  • confirmTermsAccepted — I accept the terms and conditions is required.
  • Town — confirm.town.label is required.
  • Village — confirm.village.label 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
  • crsTaxIdentificationNumber — hidden until crsHasTaxpayerIdentificationNumber = YES
  • crsTinUnavailableReason — hidden until crsHasTaxpayerIdentificationNumber = NO
  • crsTinReasonUnavailableOption — hidden until crsHasTaxpayerIdentificationNumber = NO
  • fatcaSocialSecurityNumber — hidden until fatcaSocialSecurityNumber has a value
  • fatcaProofOfAddressDocument — hidden until fatcaProofOfAddressDocument has a value
Generated change (2 files)
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/UG/confirm_ug_v1_schema_patch.json
[
  {
    "op": "remove",
    "path": "/required/13"
  },
  {
    "op": "remove",
    "path": "/required/12"
  },
  {
    "op": "remove",
    "path": "/required/11"
  },
  {
    "op": "remove",
    "path": "/required/10"
  },
  {
    "op": "remove",
    "path": "/required/9"
  },
  {
    "op": "remove",
    "path": "/required/8"
  },
  {
    "op": "remove",
    "path": "/required/7"
  },
  {
    "op": "remove",
    "path": "/required/6"
  },
  {
    "op": "replace",
    "path": "/required/5",
    "value": "confirmTermsAccepted"
  },
  {
    "op": "replace",
    "path": "/required/4",
    "value": "primaryMonthlyIncome"
  },
  {
    "op": "replace",
    "path": "/required/3",
    "value": "primarySourceOfIncome"
  },
  {
    "op": "replace",
    "path": "/required/2",
    "value": "Village"
  },
  {
    "op": "replace",
    "path": "/required/1",
    "value": "Town"
  },
  {
    "op": "replace",
    "path": "/required/0",
    "value": "state"
  },
  {
    "op": "remove",
    "path": "/properties/email"
  },
  {
    "op": "remove",
    "path": "/properties/documentNumber"
  },
  {
    "op": "remove",
    "path": "/properties/documentType"
  },
  {
    "op": "remove",
    "path": "/properties/phoneNumber"
  },
  {
    "op": "remove",
    "path": "/properties/relationship"
  },
  {
    "op": "remove",
    "path": "/properties/lastName"
  },
  {
    "op": "remove",
    "path": "/properties/middleName"
  },
  {
    "op": "remove",
    "path": "/properties/firstName"
  },
  {
    "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/UGX_0_1500000",
    "value": "confirm.monthlyIncome.ug.range0_1500000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/UGX_1500000_3000000",
    "value": "confirm.monthlyIncome.ug.range1500000_3000000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/UGX_3000000_15000000",
    "value": "confirm.monthlyIncome.ug.range3000000_15000000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/UGX_15000000_30000000",
    "value": "confirm.monthlyIncome.ug.range15000000_30000000"
  },
  {
    "op": "replace",
    "path": "/properties/secondaryMonthlyIncome/enum/3",
    "value": "UGX_15000000_30000000"
  },
  {
    "op": "replace",
    "path": "/properties/secondaryMonthlyIncome/enum/2",
    "value": "UGX_3000000_15000000"
  },
  {
    "op": "replace",
    "path": "/properties/secondaryMonthlyIncome/enum/1",
    "value": "UGX_1500000_3000000"
  },
  {
    "op": "replace",
    "path": "/properties/secondaryMonthlyIncome/enum/0",
    "value": "UGX_0_1500000"
  },
  {
    "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/UGX_0_1500000",
    "value": "confirm.monthlyIncome.ug.range0_1500000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/UGX_1500000_3000000",
    "value": "confirm.monthlyIncome.ug.range1500000_3000000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/UGX_3000000_15000000",
    "value": "confirm.monthlyIncome.ug.range3000000_15000000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/UGX_15000000_30000000",
    "value": "confirm.monthlyIncome.ug.range15000000_30000000"
  },
  {
    "op": "replace",
    "path": "/properties/primaryMonthlyIncome/enum/3",
    "value": "UGX_15000000_30000000"
  },
  {
    "op": "replace",
    "path": "/properties/primaryMonthlyIncome/enum/2",
    "value": "UGX_3000000_15000000"
  },
  {
    "op": "replace",
    "path": "/properties/primaryMonthlyIncome/enum/1",
    "value": "UGX_1500000_3000000"
  },
  {
    "op": "replace",
    "path": "/properties/primaryMonthlyIncome/enum/0",
    "value": "UGX_0_1500000"
  },
  {
    "op": "remove",
    "path": "/properties/city"
  },
  {
    "op": "remove",
    "path": "/properties/zipCode"
  },
  {
    "op": "remove",
    "path": "/properties/address"
  },
  {
    "op": "add",
    "path": "/properties/state/enum",
    "value": [
      "KAM",
      "JIJ"
    ]
  },
  {
    "op": "add",
    "path": "/properties/state/x-enumLabels",
    "value": {
      "KAM": "Kampala",
      "JIJ": "Jinja"
    }
  },
  {
    "op": "add",
    "path": "/properties/countryOfResidence/x-hidden",
    "value": true
  },
  {
    "op": "add",
    "path": "/properties/Town",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.town.label",
      "x-source": "address.Town",
      "enum": [
        "NAN",
        "KIR"
      ],
      "x-enumLabels": {
        "NAN": "Nansana",
        "KIR": "Kira"
      },
      "x-errorMessages": {
        "type": "confirm.error.town.type",
        "required": "confirm.error.town.required"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/Village",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.village.label",
      "x-source": "address.Village",
      "enum": [
        "MUK",
        "NJR"
      ],
      "x-enumLabels": {
        "MUK": "Mukono",
        "NJR": "Njeru"
      },
      "x-errorMessages": {
        "type": "confirm.error.village.type",
        "required": "confirm.error.village.required"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/Street",
    "value": {
      "type": "string",
      "minLength": 2,
      "maxLength": 100,
      "x-labelKey": "confirm.street.label",
      "x-source": "address.Street",
      "x-errorMessages": {
        "type": "confirm.error.street.type",
        "minLength": "confirm.error.street.minLength",
        "maxLength": "confirm.error.street.maxLength"
      }
    }
  }
]
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/UG/confirm_ug_v1_ui_patch.json
[
  {
    "op": "remove",
    "path": "/widgets/email"
  },
  {
    "op": "remove",
    "path": "/widgets/documentNumber"
  },
  {
    "op": "remove",
    "path": "/widgets/documentType"
  },
  {
    "op": "remove",
    "path": "/widgets/phoneNumber"
  },
  {
    "op": "remove",
    "path": "/widgets/relationship"
  },
  {
    "op": "remove",
    "path": "/widgets/lastName"
  },
  {
    "op": "remove",
    "path": "/widgets/middleName"
  },
  {
    "op": "remove",
    "path": "/widgets/firstName"
  },
  {
    "op": "remove",
    "path": "/widgets/city"
  },
  {
    "op": "remove",
    "path": "/widgets/zipCode"
  },
  {
    "op": "remove",
    "path": "/widgets/address"
  },
  {
    "op": "replace",
    "path": "/widgets/state",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/Town",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/Village",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/Street",
    "value": "text"
  },
  {
    "op": "remove",
    "path": "/layout/6"
  },
  {
    "op": "replace",
    "path": "/layout/5/fields/0/0",
    "value": "confirmTermsAccepted"
  },
  {
    "op": "remove",
    "path": "/layout/5/x-editTargetStepId"
  },
  {
    "op": "remove",
    "path": "/layout/5/x-sectionTitle"
  },
  {
    "op": "replace",
    "path": "/layout/4/fields/0/0",
    "value": "fatcaProofOfAddressDocument"
  },
  {
    "op": "replace",
    "path": "/layout/4/x-editTargetStepId",
    "value": "fatca_documents"
  },
  {
    "op": "replace",
    "path": "/layout/4/x-sectionTitle",
    "value": "confirm.fatcaDocumentsSection.title"
  },
  {
    "op": "remove",
    "path": "/layout/3/fields/3"
  },
  {
    "op": "remove",
    "path": "/layout/3/fields/2"
  },
  {
    "op": "remove",
    "path": "/layout/3/fields/1"
  },
  {
    "op": "replace",
    "path": "/layout/3/fields/0/0",
    "value": "fatcaSocialSecurityNumber"
  },
  {
    "op": "replace",
    "path": "/layout/3/x-editTargetStepId",
    "value": "fatca_tax_details"
  },
  {
    "op": "replace",
    "path": "/layout/3/x-sectionTitle",
    "value": "confirm.fatcaTaxDetailsSection.title"
  },
  {
    "op": "remove",
    "path": "/layout/2/fields/7"
  },
  {
    "op": "remove",
    "path": "/layout/2/fields/6"
  },
  {
    "op": "remove",
    "path": "/layout/2/fields/5"
  },
  {
    "op": "remove",
    "path": "/layout/2/fields/4"
  },
  {
    "op": "replace",
    "path": "/layout/2/fields/3/0",
    "value": "crsTinUnavailableReason"
  },
  {
    "op": "replace",
    "path": "/layout/2/fields/2/0",
    "value": "crsTinReasonUnavailableOption"
  },
  {
    "op": "replace",
    "path": "/layout/2/fields/1/0",
    "value": "crsTaxIdentificationNumber"
  },
  {
    "op": "replace",
    "path": "/layout/2/fields/0/0",
    "value": "crsHasTaxpayerIdentificationNumber"
  },
  {
    "op": "replace",
    "path": "/layout/2/x-editTargetStepId",
    "value": "crs_tax_details"
  },
  {
    "op": "replace",
    "path": "/layout/2/x-sectionTitle",
    "value": "confirm.crsTaxDetailsSection.title"
  },
  {
    "op": "remove",
    "path": "/layout/0/fields/4"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/3/0",
    "value": "Street"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/2/0",
    "value": "Village"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/1/0",
    "value": "Town"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/0/0",
    "value": "state"
  }
]
Downloads a zip to apply to a clone and raise as a PR.