Onboarding configuration
esc
Country
Forms
↑↓ navigate↵ open40 results
Countries/RW/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)
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)
RWF_0_500000confirm.monthlyIncome.rw.range0_500000
RWF_500000_1000000confirm.monthlyIncome.rw.range500000_1000000
RWF_1000000_5000000confirm.monthlyIncome.rw.range1000000_5000000
RWF_5000000_10000000confirm.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_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)
RWF_0_500000confirm.monthlyIncome.rw.range0_500000
RWF_500000_1000000confirm.monthlyIncome.rw.range500000_1000000
RWF_1000000_5000000confirm.monthlyIncome.rw.range1000000_5000000
RWF_5000000_10000000confirm.monthlyIncome.rw.range5000000_10000000
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)
BUGBugesera
KIGKigali
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)
BURBurera
RULRulindo
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)
BUDBudaha
BUKBukunzi
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)
GISGisunzu
KIBKibuye
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
confirm

Confirmation

confirm.province.label

2 options

confirm.district.label (Optional)

2 options

confirm.village.label

2 options

confirm.cell.label

2 options

confirm.postalAddress.label
confirm.postalCode.label
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 (8)

  • primarySourceOfIncome — Primary source of income is required
  • primaryMonthlyIncome — Primary monthly income is required
  • confirmTermsAccepted — I accept the terms and conditions is required.
  • province — confirm.province.label is required.
  • village — confirm.village.label is required.
  • cell — confirm.cell.label is required.
  • postalAddress — confirm.postalAddress.label is required.
  • postalCode — confirm.postalCode.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/RW/confirm_rw_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": "replace",
    "path": "/required/7",
    "value": "confirmTermsAccepted"
  },
  {
    "op": "replace",
    "path": "/required/4",
    "value": "postalCode"
  },
  {
    "op": "replace",
    "path": "/required/3",
    "value": "postalAddress"
  },
  {
    "op": "replace",
    "path": "/required/2",
    "value": "cell"
  },
  {
    "op": "replace",
    "path": "/required/1",
    "value": "village"
  },
  {
    "op": "replace",
    "path": "/required/0",
    "value": "province"
  },
  {
    "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/RWF_0_500000",
    "value": "confirm.monthlyIncome.rw.range0_500000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_500000_1000000",
    "value": "confirm.monthlyIncome.rw.range500000_1000000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_1000000_5000000",
    "value": "confirm.monthlyIncome.rw.range1000000_5000000"
  },
  {
    "op": "add",
    "path": "/properties/secondaryMonthlyIncome/x-enumLabels/RWF_5000000_10000000",
    "value": "confirm.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": "confirm.monthlyIncome.rw.range0_500000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_500000_1000000",
    "value": "confirm.monthlyIncome.rw.range500000_1000000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_1000000_5000000",
    "value": "confirm.monthlyIncome.rw.range1000000_5000000"
  },
  {
    "op": "add",
    "path": "/properties/primaryMonthlyIncome/x-enumLabels/RWF_5000000_10000000",
    "value": "confirm.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"
  },
  {
    "op": "remove",
    "path": "/properties/city"
  },
  {
    "op": "remove",
    "path": "/properties/zipCode"
  },
  {
    "op": "remove",
    "path": "/properties/address"
  },
  {
    "op": "remove",
    "path": "/properties/state"
  },
  {
    "op": "add",
    "path": "/properties/countryOfResidence/x-hidden",
    "value": true
  },
  {
    "op": "add",
    "path": "/properties/province",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.province.label",
      "x-source": "address.province",
      "enum": [
        "BUG",
        "KIG"
      ],
      "x-enumLabels": {
        "BUG": "Bugesera",
        "KIG": "Kigali"
      },
      "x-errorMessages": {
        "type": "confirm.error.province.type",
        "required": "confirm.error.province.required"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/district",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.district.label",
      "x-source": "address.district",
      "enum": [
        "BUR",
        "RUL"
      ],
      "x-enumLabels": {
        "BUR": "Burera",
        "RUL": "Rulindo"
      },
      "x-errorMessages": {
        "type": "confirm.error.district.type"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/village",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.village.label",
      "x-source": "address.village",
      "enum": [
        "BUD",
        "BUK"
      ],
      "x-enumLabels": {
        "BUD": "Budaha",
        "BUK": "Bukunzi"
      },
      "x-errorMessages": {
        "type": "confirm.error.village.type",
        "required": "confirm.error.village.required"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/cell",
    "value": {
      "type": "string",
      "x-labelKey": "confirm.cell.label",
      "x-source": "address.cell",
      "enum": [
        "GIS",
        "KIB"
      ],
      "x-enumLabels": {
        "GIS": "Gisunzu",
        "KIB": "Kibuye"
      },
      "x-errorMessages": {
        "type": "confirm.error.cell.type",
        "required": "confirm.error.cell.required"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/postalAddress",
    "value": {
      "type": "string",
      "minLength": 2,
      "maxLength": 100,
      "x-labelKey": "confirm.postalAddress.label",
      "x-source": "address.postalAddress",
      "x-errorMessages": {
        "type": "confirm.error.postalAddress.type",
        "required": "confirm.error.postalAddress.required",
        "minLength": "confirm.error.postalAddress.minLength",
        "maxLength": "confirm.error.postalAddress.maxLength"
      }
    }
  },
  {
    "op": "add",
    "path": "/properties/postalCode",
    "value": {
      "type": "string",
      "minLength": 2,
      "maxLength": 100,
      "x-labelKey": "confirm.postalCode.label",
      "x-source": "address.postalCode",
      "x-errorMessages": {
        "type": "confirm.error.postalCode.type",
        "required": "confirm.error.postalCode.required",
        "minLength": "confirm.error.postalCode.minLength",
        "maxLength": "confirm.error.postalCode.maxLength"
      }
    }
  }
]
src/Modules/FormEngine/OmniDos.FormEngine.Infra/SeedData/Patches/RW/confirm_rw_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": "remove",
    "path": "/widgets/state"
  },
  {
    "op": "add",
    "path": "/widgets/province",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/district",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/village",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/cell",
    "value": "selector"
  },
  {
    "op": "add",
    "path": "/widgets/postalAddress",
    "value": "text"
  },
  {
    "op": "add",
    "path": "/widgets/postalCode",
    "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": "replace",
    "path": "/layout/0/fields/4/0",
    "value": "postalAddress"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/3/0",
    "value": "cell"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/2/0",
    "value": "village"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/1/0",
    "value": "district"
  },
  {
    "op": "replace",
    "path": "/layout/0/fields/0/0",
    "value": "province"
  },
  {
    "op": "add",
    "path": "/layout/0/fields/5",
    "value": [
      "postalCode"
    ]
  }
]
Downloads a zip to apply to a clone and raise as a PR.