# Declaration & Forms

### Declaration form

The `declaration` property on the [EventConfig schema](/v2.0/technical/guides/configuration/events.md#eventconfig-schema) includes the configuration for the primary record declaration details. For example, for a birth registration event it should contain:

* The child's details, such as the date and place of birth
* The birth informant's details
* Parents' details

When configuring your declaration form, make sure to use the `defineDeclarationForm()` helper.

**Example:**

```typescript
// src/events/birth/forms/declaration.ts
import { defineDeclarationForm, FieldType } from '@opencrvs/toolkit/events'
import { child } from './pages/child'
import { informant } from './pages/informant'
import { mother } from './pages/mother'
import { father } from './pages/father'

export const birthDeclarationForm = defineDeclarationForm({
  label: {
    defaultMessage: 'Birth declaration form',
    id: 'event.birth.action.declare.form.label',
    description: 'This is what this form is referred as in the system'
  },
  pages: [child, informant, mother, father]
})

// src/events/birth/index.ts
import { birthDeclarationForm } from './forms/declaration'

export const birthEvent = defineConfig({
  id: 'birth',
  declaration: birthDeclarationForm,
  // ...
})
```

### Action forms

In addition to the primary form, certain actions have forms of their own. These include:

<table><thead><tr><th width="273.4765625">Configured action type</th><th>Config property</th><th>Description</th></tr></thead><tbody><tr><td><code>ActionType.DECLARE</code></td><td><code>review</code></td><td><p>Fields to be filled on the review page when declaring a record.</p><p></p><p>This usually includes details of the employee filling the form, such as their signature and additional comments.</p></td></tr><tr><td><code>ActionType.READ</code></td><td><code>review</code></td><td><p>Fields to be shown on the review page of a record.</p><p></p><p>This is usually the same as the <code>review</code> config on <code>ActionType.DECLARE</code>.</p></td></tr><tr><td><code>ActionType.PRINT_CERTIFICATE</code></td><td><code>printForm</code></td><td>Form pages to be filled when printing a certificate of a registered record.</td></tr><tr><td><code>ActionType.REQUEST_CORRECTION</code></td><td><code>correctionForm</code></td><td>Form pages to be filled when requesting a correction on a registered record.</td></tr><tr><td><code>ActionType.CUSTOM</code></td><td><code>form</code></td><td>Fields to be filled on the confirmation dialog of the custom action.</td></tr></tbody></table>

Each of these forms is configured to the action's own configuration. For configuring actions, see [Actions](/v2.0/technical/guides/configuration/events/actions.md).

When configuring a `printForm` or `correctionForm`, use the `defineActionForm()` helper from `@opencrvs/toolkit/events`.

### Pages

The `declaration`, `printForm` and `correctionForm` configurations use `pages` to split the different form sections into separate pages. Each page may contain any amount of form fields.

There are two types of pages:

1. `PageTypes.enum.FORM` for pages with form fields and a simple continue button.
2. `PageTypes.enum.VERIFICATION` which, instead of a continue button, has the options to verify or cancel the page. Both options continue the form to the next page. The chosen option is saved to the action's details and displayed on the action audit log. **Note: Verification-pages may only be used on action forms, not the declaration form!**

When configuring pages, make sure to use the `definePage()` helper.

**Example:**

```typescript
// src/events/birth/forms/pages/child.ts
import { definePage } from '@opencrvs/toolkit/events'

export const child = definePage({
  id: 'child',
  type: PageTypes.enum.FORM,
  title: {
    defaultMessage: "Child's details",
    description: 'Form section title for Child',
    id: 'form.birth.child.title'
  },
  fields: [
    //...
  ]
})
```

### PageConfig schema

## The PageConfig object

```json
{"openapi":"3.1.0","info":{"title":"OpenCRVS API","version":"2.0.0"},"components":{"schemas":{"PageConfig":{"oneOf":[{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the page"},"title":{"description":"Header title of the page","$ref":"#/components/schemas/TranslationConfigOutput"},"requireCompletionToContinue":{"default":false,"description":"If true, all required fields must be filled before continuing to the next page","type":"boolean"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/FieldConfig"},"description":"Fields to be rendered on the page"},"conditional":{"description":"Page will be shown if condition is met. If conditional is not defined, the page will be always shown.","$ref":"#/components/schemas/Conditional"},"type":{"default":"FORM","type":"string","const":"FORM"}},"required":["id","title","requireCompletionToContinue","fields","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier for the page"},"title":{"description":"Header title of the page","$ref":"#/components/schemas/TranslationConfigOutput"},"requireCompletionToContinue":{"default":false,"description":"If true, all required fields must be filled before continuing to the next page","type":"boolean"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/FieldConfig"},"description":"Fields to be rendered on the page"},"conditional":{"description":"Page will be shown if condition is met. If conditional is not defined, the page will be always shown.","$ref":"#/components/schemas/Conditional"},"type":{"type":"string","const":"VERIFICATION"},"actions":{"$ref":"#/components/schemas/VerificationActionConfig"}},"required":["id","title","requireCompletionToContinue","fields","type","actions"],"additionalProperties":false}],"description":"Configuration for a single page in a form. Either a form page with fields and a continue button, or a verification page with verify/cancel options.","type":"object"},"TranslationConfigOutput":{"type":"object","properties":{"id":{"type":"string","description":"The identifier of the translation referred in translation CSV files"},"defaultMessage":{"type":"string","description":"Default translation message"},"description":{"type":"string","description":"Describe the translation for a translator to be able to identify it."}},"required":["id","defaultMessage","description"],"additionalProperties":false,"description":"Translation configuration"},"FieldConfig":{"oneOf":[{"$ref":"#/components/schemas/FieldGroup"},{"$ref":"#/components/schemas/Address"},{"$ref":"#/components/schemas/TextField"},{"$ref":"#/components/schemas/NumberField"},{"$ref":"#/components/schemas/NumberWithUnitField"},{"$ref":"#/components/schemas/TextAreaField"},{"$ref":"#/components/schemas/AgeField"},{"$ref":"#/components/schemas/DateField"},{"$ref":"#/components/schemas/TimeField"},{"$ref":"#/components/schemas/DateRangeField"},{"$ref":"#/components/schemas/SelectDateRangeField"},{"$ref":"#/components/schemas/ImageViewField"},{"$ref":"#/components/schemas/Paragraph"},{"$ref":"#/components/schemas/Heading"},{"$ref":"#/components/schemas/RadioGroup"},{"$ref":"#/components/schemas/BulletList"},{"$ref":"#/components/schemas/PageHeader"},{"$ref":"#/components/schemas/Select"},{"$ref":"#/components/schemas/NameField"},{"$ref":"#/components/schemas/PhoneField"},{"$ref":"#/components/schemas/IdField"},{"$ref":"#/components/schemas/Checkbox"},{"$ref":"#/components/schemas/File"},{"$ref":"#/components/schemas/Country"},{"$ref":"#/components/schemas/AdministrativeAreaField"},{"$ref":"#/components/schemas/Divider"},{"$ref":"#/components/schemas/LocationInput"},{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"FACILITY"},"defaultValue":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"allowedLocations":{"description":"Limits which location options are selectable depending on user jurisdiction and location.","type":"object","properties":{"$jurisdiction":{"anyOf":[{"type":"string","enum":["administrativeArea","location","all"],"description":"Filters based on user jurisdiction relative to their office location in hierarchy."},{"type":"object","properties":{"$scope":{"type":"string","enum":["organisation.read-locations","user.read","user.create","user.edit","user.search","record.search","record.create","record.read","record.declare","record.notify","record.edit","record.reject","record.archive","record.review-duplicates","record.register","record.print-certified-copies","record.request-correction","record.correct","record.unassign-others","record.custom-action","bypassratelimit","record.reindex","user.data-seeding","integration.create","record.import","config.update-all","attachment.upload","profile.electronic-signature","user.read-only-my-audit","performance.read","performance.read-dashboards","performance.vital-statistics-export","record.confirm-registration","record.reject-registration","workqueue","dashboard.view"]},"$option":{"type":"string","enum":["event","placeOfEvent","declaredIn","declaredBy","registeredIn","registeredBy","accessLevel","role","ids"]}},"required":["$scope","$option"],"additionalProperties":false}]}},"required":["$jurisdiction"],"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"Input field for a facility"},{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"OFFICE"},"defaultValue":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"allowedLocations":{"description":"Limits which location options are selectable depending on user jurisdiction and location.","type":"object","properties":{"$jurisdiction":{"anyOf":[{"type":"string","enum":["administrativeArea","location","all"],"description":"Filters based on user jurisdiction relative to their office location in hierarchy."},{"type":"object","properties":{"$scope":{"type":"string","enum":["organisation.read-locations","user.read","user.create","user.edit","user.search","record.search","record.create","record.read","record.declare","record.notify","record.edit","record.reject","record.archive","record.review-duplicates","record.register","record.print-certified-copies","record.request-correction","record.correct","record.unassign-others","record.custom-action","bypassratelimit","record.reindex","user.data-seeding","integration.create","record.import","config.update-all","attachment.upload","profile.electronic-signature","user.read-only-my-audit","performance.read","performance.read-dashboards","performance.vital-statistics-export","record.confirm-registration","record.reject-registration","workqueue","dashboard.view"]},"$option":{"type":"string","enum":["event","placeOfEvent","declaredIn","declaredBy","registeredIn","registeredBy","accessLevel","role","ids"]}},"required":["$scope","$option"],"additionalProperties":false}]}},"required":["$jurisdiction"],"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"Input field for an office"},{"$ref":"#/components/schemas/SignatureField"},{"$ref":"#/components/schemas/EmailField"},{"$ref":"#/components/schemas/FileUploadWithOptions"},{"$ref":"#/components/schemas/DataField"},{"$ref":"#/components/schemas/ButtonField"},{"$ref":"#/components/schemas/AlphaPrintButton"},{"$ref":"#/components/schemas/HttpField"},{"$ref":"#/components/schemas/AutocompleteField"},{"$ref":"#/components/schemas/LinkButtonField"},{"$ref":"#/components/schemas/VerificationStatus"},{"$ref":"#/components/schemas/QrReaderField"},{"$ref":"#/components/schemas/IdReaderField"},{"$ref":"#/components/schemas/QueryParamReaderField"},{"$ref":"#/components/schemas/LoaderField"},{"$ref":"#/components/schemas/SearchField"},{"$ref":"#/components/schemas/CustomField"},{"$ref":"#/components/schemas/HiddenField"},{"$ref":"#/components/schemas/UserRoleField"}],"description":"Form field configuration","type":"object"},"FieldGroup":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"FIELD_GROUP"},"fields":{"type":"array","items":{"$ref":"#/components/schemas/FieldConfig"}}},"required":["id","label","type","fields"],"additionalProperties":false,"description":"A group of fields that are displayed together"},"FieldConditional":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"SHOW"},"conditional":{"$ref":"#/components/schemas/Conditional"}},"required":["type","conditional"],"additionalProperties":false,"description":"If 'SHOW' conditional is defined, the component is shown to the user only if the condition is met"},{"type":"object","properties":{"type":{"type":"string","const":"ENABLE"},"conditional":{"$ref":"#/components/schemas/Conditional"}},"required":["type","conditional"],"additionalProperties":false,"description":"If 'ENABLE' conditional is defined, the component is enabled only if the condition is met"},{"type":"object","properties":{"type":{"type":"string","const":"DISPLAY_ON_REVIEW"},"conditional":{"$ref":"#/components/schemas/Conditional"}},"required":["type","conditional"],"additionalProperties":false,"description":"If 'DISPLAY_ON_REVIEW' conditional is defined, the component is shown on the review page only if both the 'DISPLAY_ON_REVIEW' and 'SHOW' conditions are met. This should only be used for fields within declaration forms, as they are the only ones with review pages."}],"description":"Conditional gating whether a form field is shown (SHOW), enabled (ENABLE), or displayed on the review page (DISPLAY_ON_REVIEW). When omitted, the field is shown and enabled for everyone, and is displayed on review whenever it has a value.","type":"object"},"Conditional":{"description":"JSON schema conditional configuration"},"ValidationConfig":{"type":"object","properties":{"validator":{"description":"Conditional expression that must hold for the field value to be considered valid.","$ref":"#/components/schemas/Conditional"},"message":{"description":"Error message displayed when the validator does not hold.","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["validator","message"],"additionalProperties":false,"description":"Validation rule applied to a form field. The validator is a conditional expression that must hold for the field value to be considered valid."},"Address":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"ADDRESS"},"configuration":{"type":"object","properties":{"lineSeparator":{"type":"string"},"fields":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"type":{"type":"string","const":"COUNTRY"},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"optionOverrides":{"description":"Conditionals for specific countries. Countries not listed are always shown and enabled.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value"],"additionalProperties":false}}},"required":["id","type"],"additionalProperties":false},{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"type":{"type":"string","const":"ADMINISTRATIVE_AREA"},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]}},"required":["id","type"],"additionalProperties":false}]}},"streetAddressForm":{"type":"array","items":{"type":"object","properties":{"id":{"type":"string"},"required":{"default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"label":{"$ref":"#/components/schemas/TranslationConfigOutput"},"type":{"type":"string","const":"TEXT"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"parent":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}},"required":["id","label","type"],"additionalProperties":false}},"allowedLocations":{"description":"Limits which location options are selectable depending on user jurisdiction and location.","type":"object","properties":{"$jurisdiction":{"anyOf":[{"type":"string","enum":["administrativeArea","location","all"],"description":"Filters based on user jurisdiction relative to their office location in hierarchy."},{"type":"object","properties":{"$scope":{"type":"string","enum":["organisation.read-locations","user.read","user.create","user.edit","user.search","record.search","record.create","record.read","record.declare","record.notify","record.edit","record.reject","record.archive","record.review-duplicates","record.register","record.print-certified-copies","record.request-correction","record.correct","record.unassign-others","record.custom-action","bypassratelimit","record.reindex","user.data-seeding","integration.create","record.import","config.update-all","attachment.upload","profile.electronic-signature","user.read-only-my-audit","performance.read","performance.read-dashboards","performance.vital-statistics-export","record.confirm-registration","record.reject-registration","workqueue","dashboard.view"]},"$option":{"type":"string","enum":["event","placeOfEvent","declaredIn","declaredBy","registeredIn","registeredBy","accessLevel","role","ids"]}},"required":["$scope","$option"],"additionalProperties":false}]}},"required":["$jurisdiction"],"additionalProperties":false}},"additionalProperties":false},"defaultValue":{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"DOMESTIC"},"administrativeArea":{"anyOf":[{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"},{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false}]}},"required":["country","addressType"],"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"Address input field – a combination of location and text fields"},"ActionConditional":{"oneOf":[{"type":"object","properties":{"type":{"type":"string","const":"SHOW"},"conditional":{"$ref":"#/components/schemas/Conditional"}},"required":["type","conditional"],"additionalProperties":false,"description":"If 'SHOW' conditional is defined, the component is shown to the user only if the condition is met"},{"type":"object","properties":{"type":{"type":"string","const":"ENABLE"},"conditional":{"$ref":"#/components/schemas/Conditional"}},"required":["type","conditional"],"additionalProperties":false,"description":"If 'ENABLE' conditional is defined, the component is enabled only if the condition is met"}],"description":"Conditional gating whether an action is shown (SHOW) or enabled (ENABLE). When omitted from an action, the action is shown and enabled for everyone.","type":"object"},"TextField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"TEXT"},"defaultValue":{"anyOf":[{"type":"string","minLength":1},{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false}]},"configuration":{"default":{"type":"text"},"type":"object","properties":{"maxLength":{"description":"Maximum length of the text","type":"number"},"type":{"type":"string","enum":["text","password"]},"prefix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"postfix":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A text input field"},"NumberField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"NUMBER"},"defaultValue":{"type":"number"},"configuration":{"type":"object","properties":{"min":{"description":"Minimum value","type":"number"},"max":{"description":"Maximum value","type":"number"},"prefix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"postfix":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A number input field"},"NumberWithUnitField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"NUMBER_WITH_UNIT"},"defaultValue":{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"required":["numericValue","unit"],"additionalProperties":false},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"label":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/TranslationConfigOutput"}],"description":"The label of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value","label"],"additionalProperties":false},"description":"A list of options for the unit select"},"configuration":{"type":"object","properties":{"min":{"description":"Minimum value of the number field","type":"number"},"max":{"description":"Maximum value of the number field","type":"number"},"numberFieldPlaceholder":{"description":"Placeholder for the number field","$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type","options"],"additionalProperties":false,"description":"A number with unit input field"},"TextAreaField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"TEXTAREA"},"defaultValue":{"type":"string","minLength":1},"configuration":{"default":{"rows":4},"type":"object","properties":{"maxLength":{"description":"Maximum length of the text","type":"number"},"rows":{"description":"Number of visible text lines","type":"number"},"cols":{"description":"Number of visible columns","type":"number"},"prefix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"postfix":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A multiline text input"},"AgeField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"AGE"},"defaultValue":{"type":"number"},"configuration":{"type":"object","properties":{"asOfDate":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},"prefix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"postfix":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["asOfDate"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"An age input field which uses the current date as the asOfDate"},"DateField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"DATE"},"defaultValue":{"description":"Default date value(yyyy-MM-dd)","anyOf":[{"type":"object","properties":{"$$now":{"type":"boolean","const":true}},"required":["$$now"],"additionalProperties":false},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}]},"configuration":{"type":"object","properties":{"notice":{"description":"Text to display above the date input","$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A date input (yyyy-MM-dd)"},"TimeField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"TIME"},"defaultValue":{"description":"Default time value (HH-mm)","anyOf":[{"type":"object","properties":{"$$now":{"type":"boolean","const":true}},"required":["$$now"],"additionalProperties":false},{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"}]},"configuration":{"type":"object","properties":{"use12HourFormat":{"description":"Whether to use 12-hour format","type":"boolean"},"notice":{"description":"Text to display above the time input","$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A single time input (HH-mm)"},"DateRangeField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"DATE_RANGE"},"defaultValue":{"anyOf":[{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}},"required":["start","end"],"additionalProperties":false},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}],"description":"Date range with start and end dates in the format YYYY-MM-DD. Inclusive start, exclusive end."},"configuration":{"type":"object","properties":{"notice":{"description":"Text to display above the date input","$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A date range input ({ start: yyyy-MM-dd, end: yyyy-MM-dd })"},"SelectDateRangeField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"SELECT_DATE_RANGE"},"defaultValue":{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"]},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"],"description":"The value of the option"},"label":{"description":"The label of the option","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["value","label"],"additionalProperties":false},"description":"A list of options"}},"required":["id","label","type","options"],"additionalProperties":false,"description":"A date range selection field"},"ImageViewField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"IMAGE_VIEW"},"defaultValue":{"type":"string","minLength":1},"configuration":{"type":"object","properties":{"alt":{"description":"Alternative text for the image","type":"string"},"width":{"description":"CSS width value for the image","type":"string"},"height":{"description":"CSS height value for the image","type":"string"},"textAlign":{"description":"Text alignment for positioning the image in its container","type":"string","enum":["left","center","right","start","end"]},"objectFit":{"description":"How the image should be resized to fit the container","type":"string","enum":["contain","cover","fill","none","scale-down"]}},"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A read-only image component for form pages"},"Paragraph":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"PARAGRAPH"},"configuration":{"default":{},"type":"object","properties":{"styles":{"type":"object","properties":{"hint":{"description":"When true, paragraph is styled as a hint with grey color","type":"boolean"},"textAlign":{"description":"Text alignment for the paragraph","type":"string","enum":["left","center","right","start","end"]}},"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A read-only HTML <p> paragraph"},"Heading":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"HEADING"},"configuration":{"default":{},"type":"object","properties":{"styles":{"type":"object","properties":{"fontVariant":{"description":"Font variant to use for the paragraph text","type":"string","enum":["reg12","reg14","reg16","reg18","h4","h3"]},"textAlign":{"description":"Text alignment for the paragraph","type":"string","enum":["left","center","right","start","end"]}},"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A read-only heading component for form pages"},"RadioGroup":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"RADIO_GROUP"},"defaultValue":{"type":"string"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"label":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/TranslationConfigOutput"}],"description":"The label of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value","label"],"additionalProperties":false},"description":"A list of options"},"configuration":{"type":"object","properties":{"styles":{"type":"object","properties":{"size":{"type":"string","enum":["NORMAL","LARGE"]}},"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type","options"],"additionalProperties":false,"description":"A grouped radio button field"},"BulletList":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"BULLET_LIST"},"items":{"type":"array","items":{"$ref":"#/components/schemas/TranslationConfigOutput"},"description":"A list of items"},"configuration":{"default":{},"type":"object","properties":{"styles":{"type":"object","properties":{"fontVariant":{"type":"string","enum":["reg12","reg14","reg16","reg18","h4","h3","h2","h1"]}},"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type","items","configuration"],"additionalProperties":false,"description":"A list of bullet points"},"PageHeader":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"PAGE_HEADER"}},"required":["id","label","type"],"additionalProperties":false,"description":"A read-only header component for form pages"},"Select":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"SELECT"},"defaultValue":{"type":"string"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"label":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/TranslationConfigOutput"}],"description":"The label of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value","label"],"additionalProperties":false},"description":"A list of options"},"noOptionsMessage":{"description":"\n    A translation configuration object used to display a message when no options are available.\n    It must follow the shape: { id: string; defaultMessage: string; description?: string }.\n    The message is rendered via intl.formatMessage(noOptionsMessage, { input }),\n    where 'input' represents the text entered in the Select field.\n    You can reference this variable in your message, for example:\n    { ..., defaultMessage: \"'{input}' is not listed among the health facilities.\" }\n  ","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["id","label","type","options"],"additionalProperties":false,"description":"A select input field"},"NameField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"NAME"},"defaultValue":{"type":"object","properties":{"firstname":{"anyOf":[{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false},{"type":"string","minLength":1}]},"middlename":{"anyOf":[{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false},{"type":"string","minLength":1}]},"surname":{"anyOf":[{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false},{"type":"string","minLength":1}]}},"additionalProperties":false},"configuration":{"default":{"name":{"firstname":{"required":true},"surname":{"required":true}}},"type":"object","properties":{"name":{"default":{"firstname":{"required":true},"surname":{"required":true}},"type":"object","properties":{"firstname":{"type":"object","properties":{"required":{"default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"label":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false},"middlename":{"type":"object","properties":{"required":{"default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"label":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false},"surname":{"type":"object","properties":{"required":{"default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"label":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"additionalProperties":false},"order":{"type":"array","items":{"type":"string","enum":["firstname","middlename","surname"]}},"maxLength":{"description":"Maximum length of the text","type":"number"},"prefix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"postfix":{"$ref":"#/components/schemas/TranslationConfigOutput"},"showParentFieldError":{"description":"If true, shows the parent field error and hides the subfield error","default":false,"type":"boolean"}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A field for entering a persons name"},"PhoneField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"defaultValue":{"type":"string","minLength":1},"type":{"type":"string","const":"PHONE"}},"required":["id","label","type"],"additionalProperties":false,"description":"A field for entering a phone number"},"IdField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"defaultValue":{"type":"string","minLength":1},"type":{"type":"string","const":"ID"}},"required":["id","label","type"],"additionalProperties":false,"description":"A field for entering an ID"},"Checkbox":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"CHECKBOX"},"defaultValue":{"default":false,"type":"boolean"}},"required":["id","label","type","defaultValue"],"additionalProperties":false,"description":"A boolean checkbox field"},"File":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"FILE"},"defaultValue":{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"}},"required":["path","originalFilename","type"],"additionalProperties":false},"configuration":{"default":{"maxFileSize":5242880},"type":"object","properties":{"maxFileSize":{"default":5242880,"type":"number","description":"Maximum file size in bytes"},"acceptedFileTypes":{"description":"List of allowed file formats for the signature","type":"array","items":{"type":"string","enum":["image/png","image/jpg","image/jpeg","image/svg+xml","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.oasis.opendocument.text"]}},"maxImageSize":{"type":"object","properties":{"targetSize":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":false}},"required":["targetSize"],"additionalProperties":false},"style":{"type":"object","properties":{"width":{"description":"Whether the file upload button should take the full width of the container or not","type":"string","enum":["full","auto"]}},"additionalProperties":false},"fileName":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["maxFileSize"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A file upload field"},"Country":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"COUNTRY"},"defaultValue":{"type":"string","minLength":1},"optionOverrides":{"description":"Conditionals for specific countries. Countries not listed are always shown and enabled.","type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value"],"additionalProperties":false}}},"required":["id","label","type"],"additionalProperties":false,"description":"A field for selecting a country"},"AdministrativeAreaField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"ADMINISTRATIVE_AREA"},"defaultValue":{"anyOf":[{"type":"string","minLength":1},{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false}]},"configuration":{"type":"object","properties":{"partOf":{"description":"Parent location","type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false},"type":{"type":"string","enum":["ADMIN_STRUCTURE","HEALTH_FACILITY","CRVS_OFFICE"]},"allowedLocations":{"description":"Limits which location options are selectable depending on user jurisdiction and location.","type":"object","properties":{"$jurisdiction":{"anyOf":[{"type":"string","enum":["administrativeArea","location","all"],"description":"Filters based on user jurisdiction relative to their office location in hierarchy."},{"type":"object","properties":{"$scope":{"type":"string","enum":["organisation.read-locations","user.read","user.create","user.edit","user.search","record.search","record.create","record.read","record.declare","record.notify","record.edit","record.reject","record.archive","record.review-duplicates","record.register","record.print-certified-copies","record.request-correction","record.correct","record.unassign-others","record.custom-action","bypassratelimit","record.reindex","user.data-seeding","integration.create","record.import","config.update-all","attachment.upload","profile.electronic-signature","user.read-only-my-audit","performance.read","performance.read-dashboards","performance.vital-statistics-export","record.confirm-registration","record.reject-registration","workqueue","dashboard.view"]},"$option":{"type":"string","enum":["event","placeOfEvent","declaredIn","declaredBy","registeredIn","registeredBy","accessLevel","role","ids"]}},"required":["$scope","$option"],"additionalProperties":false}]}},"required":["$jurisdiction"],"additionalProperties":false}},"required":["type"],"additionalProperties":false,"description":"Administrative area options"}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"Administrative area input field"},"Divider":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"DIVIDER"}},"required":["id","label","type"],"additionalProperties":false,"description":"A horizontal line divider"},"LocationInput":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"LOCATION"},"defaultValue":{"anyOf":[{"type":"string","minLength":1},{"type":"object","properties":{"$userField":{"type":"string","enum":["id","name","role","fullHonorificName","device","firstname","middlename","surname","signature","avatar","primaryOfficeId","administrativeAreaId"]},"$location":{"type":"string"}},"required":["$userField"],"additionalProperties":false}]},"configuration":{"type":"object","properties":{"locationTypes":{"description":"Types of the locations that are available for selection.","type":"array","items":{"type":"string"}},"allowedLocations":{"description":"Limits which location options are selectable depending on user jurisdiction and location.","type":"object","properties":{"$jurisdiction":{"anyOf":[{"type":"string","enum":["administrativeArea","location","all"],"description":"Filters based on user jurisdiction relative to their office location in hierarchy."},{"type":"object","properties":{"$scope":{"type":"string","enum":["organisation.read-locations","user.read","user.create","user.edit","user.search","record.search","record.create","record.read","record.declare","record.notify","record.edit","record.reject","record.archive","record.review-duplicates","record.register","record.print-certified-copies","record.request-correction","record.correct","record.unassign-others","record.custom-action","bypassratelimit","record.reindex","user.data-seeding","integration.create","record.import","config.update-all","attachment.upload","profile.electronic-signature","user.read-only-my-audit","performance.read","performance.read-dashboards","performance.vital-statistics-export","record.confirm-registration","record.reject-registration","workqueue","dashboard.view"]},"$option":{"type":"string","enum":["event","placeOfEvent","declaredIn","declaredBy","registeredIn","registeredBy","accessLevel","role","ids"]}},"required":["$scope","$option"],"additionalProperties":false}]}},"required":["$jurisdiction"],"additionalProperties":false}},"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"A field for selecting a location"},"SignatureField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"SIGNATURE"},"signaturePromptLabel":{"description":"Title of the signature modal","$ref":"#/components/schemas/TranslationConfigOutput"},"defaultValue":{"anyOf":[{"anyOf":[{"oneOf":[{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"DOMESTIC"},"administrativeArea":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["country","addressType","administrativeArea"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"INTERNATIONAL"}},"required":["country","addressType"],"additionalProperties":false}],"type":"object"},{"type":"string"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},{"type":"object","properties":{"age":{"type":"number"},"asOfDateRef":{"type":"string"}},"required":["age","asOfDateRef"],"additionalProperties":false},{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},{"anyOf":[{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}},"required":["start","end"],"additionalProperties":false},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}],"description":"Date range with start and end dates in the format YYYY-MM-DD. Inclusive start, exclusive end."},{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"]},{"type":"boolean"},{"type":"number"},{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"}},"required":["path","originalFilename","type"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"},"option":{"type":"string"}},"required":["path","originalFilename","type","option"],"additionalProperties":false}},{"type":"object","properties":{"firstname":{"type":"string"},"surname":{"type":"string"},"middlename":{"type":"string"}},"required":["firstname","surname"],"additionalProperties":false},{"anyOf":[{"anyOf":[{"type":"object","properties":{"firstname":{"anyOf":[{"type":"string"},{"type":"null"}]},"surname":{"anyOf":[{"type":"string"},{"type":"null"}]},"middlename":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"not":{}}]},{"type":"number"},{"type":"object","properties":{"loading":{"type":"boolean"},"error":{"anyOf":[{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"],"additionalProperties":false},{"type":"null"}]},"data":{}},"required":["loading","data"],"additionalProperties":false},{"type":"string","enum":["verified","authenticated","failed","pending"]},{"anyOf":[{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["data","updatedAt"],"additionalProperties":false},{"type":"null"}]},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"required":["numericValue","unit"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"additionalProperties":false},{},{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"type":"null"}]}]},{"anyOf":[{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"oneOf":[{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"DOMESTIC"},"administrativeArea":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["country","addressType","administrativeArea"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"INTERNATIONAL"}},"required":["country","addressType"],"additionalProperties":false}],"type":"object"},{"type":"string"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},{"type":"object","properties":{"age":{"type":"number"},"asOfDateRef":{"type":"string"}},"required":["age","asOfDateRef"],"additionalProperties":false},{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},{"anyOf":[{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}},"required":["start","end"],"additionalProperties":false},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}],"description":"Date range with start and end dates in the format YYYY-MM-DD. Inclusive start, exclusive end."},{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"]},{"type":"boolean"},{"type":"number"},{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"}},"required":["path","originalFilename","type"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"},"option":{"type":"string"}},"required":["path","originalFilename","type","option"],"additionalProperties":false}},{"type":"object","properties":{"firstname":{"type":"string"},"surname":{"type":"string"},"middlename":{"type":"string"}},"required":["firstname","surname"],"additionalProperties":false},{"anyOf":[{"anyOf":[{"type":"object","properties":{"firstname":{"anyOf":[{"type":"string"},{"type":"null"}]},"surname":{"anyOf":[{"type":"string"},{"type":"null"}]},"middlename":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"not":{}}]},{"type":"number"},{"type":"object","properties":{"loading":{"type":"boolean"},"error":{"anyOf":[{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"],"additionalProperties":false},{"type":"null"}]},"data":{}},"required":["loading","data"],"additionalProperties":false},{"type":"string","enum":["verified","authenticated","failed","pending"]},{"anyOf":[{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["data","updatedAt"],"additionalProperties":false},{"type":"null"}]},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"required":["numericValue","unit"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"additionalProperties":false},{},{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"type":"null"}]}]}}},"required":["data"],"additionalProperties":false},{"type":"null"}]},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"oneOf":[{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"DOMESTIC"},"administrativeArea":{"type":"string","format":"uuid","pattern":"^([0-9a-fA-F]{8}-[0-9a-fA-F]{4}-[1-8][0-9a-fA-F]{3}-[89abAB][0-9a-fA-F]{3}-[0-9a-fA-F]{12}|00000000-0000-0000-0000-000000000000|ffffffff-ffff-ffff-ffff-ffffffffffff)$"}},"required":["country","addressType","administrativeArea"],"additionalProperties":false},{"type":"object","properties":{"country":{"type":"string"},"streetLevelDetails":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"addressType":{"type":"string","const":"INTERNATIONAL"}},"required":["country","addressType"],"additionalProperties":false}],"type":"object"},{"type":"string"},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},{"type":"object","properties":{"age":{"type":"number"},"asOfDateRef":{"type":"string"}},"required":["age","asOfDateRef"],"additionalProperties":false},{"type":"string","pattern":"^([01][0-9]|2[0-3]):[0-5][0-9]$"},{"anyOf":[{"type":"object","properties":{"start":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"},"end":{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}},"required":["start","end"],"additionalProperties":false},{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$","description":"Date in the format YYYY-MM-DD"}],"description":"Date range with start and end dates in the format YYYY-MM-DD. Inclusive start, exclusive end."},{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"]},{"type":"boolean"},{"type":"number"},{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"}},"required":["path","originalFilename","type"],"additionalProperties":false},{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"},"option":{"type":"string"}},"required":["path","originalFilename","type","option"],"additionalProperties":false}},{"type":"object","properties":{"firstname":{"type":"string"},"surname":{"type":"string"},"middlename":{"type":"string"}},"required":["firstname","surname"],"additionalProperties":false},{"anyOf":[{"anyOf":[{"type":"object","properties":{"firstname":{"anyOf":[{"type":"string"},{"type":"null"}]},"surname":{"anyOf":[{"type":"string"},{"type":"null"}]},"middlename":{"anyOf":[{"type":"string"},{"type":"null"}]}},"additionalProperties":false},{"type":"null"}]},{"not":{}}]},{"type":"number"},{"type":"object","properties":{"loading":{"type":"boolean"},"error":{"anyOf":[{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"],"additionalProperties":false},{"type":"null"}]},"data":{}},"required":["loading","data"],"additionalProperties":false},{"type":"string","enum":["verified","authenticated","failed","pending"]},{"anyOf":[{"type":"object","properties":{"data":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"updatedAt":{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}},"required":["data","updatedAt"],"additionalProperties":false},{"type":"null"}]},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"required":["numericValue","unit"],"additionalProperties":false},{"type":"object","properties":{"numericValue":{"type":"number"},"unit":{"type":"string"}},"additionalProperties":false},{},{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"anyOf":[{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false},{"type":"null"}]}]}}]},"configuration":{"default":{"maxFileSize":5242880},"type":"object","properties":{"maxFileSize":{"default":5242880,"type":"number","description":"Maximum file size in bytes"},"acceptedFileTypes":{"description":"List of allowed file formats for the signature","type":"array","items":{"type":"string","enum":["image/png","image/jpg","image/jpeg","image/svg+xml","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.oasis.opendocument.text"]}}},"required":["maxFileSize"],"additionalProperties":false}},"required":["id","label","type","signaturePromptLabel","configuration"],"additionalProperties":false,"description":"A signature input field"},"EmailField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"EMAIL"},"configuration":{"default":{"maxLength":255},"type":"object","properties":{"maxLength":{"description":"Maximum length of the text","type":"number"}},"additionalProperties":false},"defaultValue":{"type":"string","minLength":1}},"required":["id","label","type"],"additionalProperties":false,"description":"An email input field"},"FileUploadWithOptions":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"FILE_WITH_OPTIONS"},"options":{"type":"array","items":{"type":"object","properties":{"value":{"type":"string","description":"The value of the option"},"label":{"anyOf":[{"type":"string"},{"$ref":"#/components/schemas/TranslationConfigOutput"}],"description":"The label of the option"},"conditionals":{"default":[],"type":"array","items":{"$ref":"#/components/schemas/ActionConditional"}}},"required":["value","label"],"additionalProperties":false},"description":"A list of options"},"defaultValue":{"type":"array","items":{"type":"object","properties":{"path":{"type":"string","description":"A relative path within the S3 bucket, never starting with /. e.g. document-id.jpg or directory/document-id.jpg. The document service constructs the full /bucket/path internally."},"originalFilename":{"type":"string"},"type":{"type":"string"},"option":{"type":"string"}},"required":["path","originalFilename","type","option"],"additionalProperties":false}},"configuration":{"default":{"maxFileSize":5242880},"type":"object","properties":{"maxFileSize":{"default":5242880,"type":"number","description":"Maximum file size in bytes"},"maxImageSize":{"type":"object","properties":{"targetSize":{"type":"object","properties":{"width":{"type":"number"},"height":{"type":"number"}},"required":["width","height"],"additionalProperties":false}},"required":["targetSize"],"additionalProperties":false},"acceptedFileTypes":{"description":"List of allowed file formats for the signature","type":"array","items":{"type":"string","enum":["image/png","image/jpg","image/jpeg","image/svg+xml","application/pdf","application/msword","application/vnd.openxmlformats-officedocument.wordprocessingml.document","application/vnd.oasis.opendocument.text"]}}},"required":["maxFileSize"],"additionalProperties":false}},"required":["id","label","type","options","configuration"],"additionalProperties":false,"description":"A field for uploading files with file type options"},"DataField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"DATA"},"configuration":{"type":"object","properties":{"subtitle":{"$ref":"#/components/schemas/TranslationConfigOutput"},"data":{"type":"array","items":{"anyOf":[{"type":"object","properties":{"id":{"type":"string","description":"ID for the data entry."},"label":{"$ref":"#/components/schemas/TranslationConfigOutput"},"value":{"anyOf":[{"anyOf":[{"$ref":"#/components/schemas/TranslationConfigOutput"},{"type":"string"}]},{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}]}},"required":["id","label","value"],"additionalProperties":false,"description":"Static data entry"},{"type":"object","properties":{"fieldId":{"type":"string"}},"required":["fieldId"],"additionalProperties":false}],"description":"Data entry can be either a static data entry, or a reference to another field in the current form or the declaration."}}},"required":["data"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A field for displaying a table of read-only data"},"ButtonField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"BUTTON"},"defaultValue":{"type":"number"},"configuration":{"type":"object","properties":{"icon":{"description":"Icon for the button. You can find icons from OpenCRVS UI-Kit.","type":"string"},"loading":{"description":"Whether the button is in a loading state and shows a spinner","type":"boolean"},"buttonSize":{"description":"Size of the button.","type":"string","enum":["small","medium","large"]},"buttonType":{"description":"Type of the button.","type":"string","enum":["primary","secondary","tertiary","positive","negative","secondaryNegative","icon","iconPrimary"]},"textColor":{"description":"Color of the text.","type":"string","enum":["primary","copy"]},"textVariant":{"description":"Variant of the text.","type":"string","enum":["bold14","reg14"]},"text":{"description":"Text to display on the button","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["text"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A generic button that can be used to trigger an action"},"AlphaPrintButton":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"ALPHA_PRINT_BUTTON"},"configuration":{"type":"object","properties":{"template":{"type":"string","description":"Template ID from countryconfig templates to use for printing"},"buttonLabel":{"description":"Label for the print button","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["template"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"An experimental print button field for printing certificates during the declaration process"},"HttpField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"HTTP"},"defaultValue":{"type":"object","properties":{"loading":{"type":"boolean"},"error":{"anyOf":[{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"],"additionalProperties":false},{"type":"null"}]},"data":{}},"required":["loading","data"],"additionalProperties":false},"configuration":{"type":"object","properties":{"trigger":{"description":"Reference to the field that triggers the HTTP request when its value changes. If not provided, the HTTP request is triggered once on component mount.","type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false},"url":{"type":"string","description":"URL to send the HTTP request to"},"method":{"type":"string","enum":["GET","POST","PUT","DELETE"]},"headers":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"type":"string"}},"body":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{}},"errorValue":{"description":"Value to set if the request fails"},"params":{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"anyOf":[{"type":"string"},{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}]}},"timeout":{"default":15000,"description":"Request timeout in milliseconds","type":"number"}},"required":["url","method","timeout"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"Makes a background HTTP request to an external service and stores the response so other fields can use it. Has no visible UI — pair with LOADER to show request status."},"AutocompleteField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"AUTOCOMPLETE"},"configuration":{"type":"object","properties":{"url":{"type":"string","description":"URL to fetch autocomplete suggestions from. This should be a country config server endpoint."},"method":{"default":"GET","type":"string","enum":["GET","POST"]},"defaultOptions":{"description":"Manual entry is supported through configuration, allowing users to provide values not currently represented in the dataset.","type":"array","items":{"type":"object","properties":{"label":{"type":"string"},"value":{"type":"string"}},"required":["label","value"],"additionalProperties":false}}},"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"Generic autocomplete component designed for use with large dictionary-based datasets. The component supports dynamic retrieval of options from configurable data sources and is intended for datasets that may contain tens or hundreds of thousands of records."},"LinkButtonField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"LINK_BUTTON"},"configuration":{"type":"object","properties":{"url":{"type":"string","description":"URL to open"},"text":{"description":"Text to display on the button","$ref":"#/components/schemas/TranslationConfigOutput"},"icon":{"description":"Icon for the button. You can find icons from OpenCRVS UI-Kit.","type":"string"}},"required":["url","text"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A button that opens a URL link"},"VerificationStatus":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"VERIFICATION_STATUS"},"defaultValue":{"type":"string","enum":["verified","authenticated","failed","pending"]},"configuration":{"type":"object","properties":{"status":{"description":"Text to display on the status pill.","$ref":"#/components/schemas/TranslationConfigOutput"},"description":{"description":"Explaining text on the banner in form.","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["status","description"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"Displays a verification state (e.g. ID verified / pending). Often paired with ID_READER — it can read its value off an ID_READER rather than holding its own."},"QrReaderField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"QR_READER"},"defaultValue":{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},"configuration":{"type":"object","properties":{"validator":{"$ref":"#/components/schemas/QrReaderFieldValidator"}},"required":["validator"],"additionalProperties":false}},"required":["id","label","type"],"additionalProperties":false,"description":"QR code reader field, including optional JSON Schema validator."},"QrReaderFieldValidator":{"description":"JSON Schema to validate the scanned QR code data against before populating the form fields."},"IdReaderField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"ID_READER"},"defaultValue":{"type":"object","properties":{"data":{}},"required":["data"],"additionalProperties":false},"methods":{"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/QrReaderField"},{"$ref":"#/components/schemas/LinkButtonField"}],"description":"Methods for reading an ID"}}},"required":["id","label","type","methods"],"additionalProperties":false,"description":"A wrapper around nested form fields, specifically QR_READER and LINK_BUTTON. It can hold the QR_READERs value."},"QueryParamReaderField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"QUERY_PARAM_READER"},"configuration":{"type":"object","properties":{"pickParams":{"type":"array","items":{"type":"string"},"description":"List of query parameters to read from the URL"}},"required":["pickParams"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A field that maps URL query params into form values and clears them afterward"},"LoaderField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"description":"Loader field does not show a label by default","default":true,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"LOADER"},"variant":{"default":"default","type":"string","enum":["default","highlighted"]},"configuration":{"type":"object","properties":{"text":{"description":"Display text above the loading spinner","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["text"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A non-interactive field that indicates an in progress operation in form"},"SearchField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"SEARCH"},"defaultValue":{"type":"object","properties":{"loading":{"type":"boolean"},"error":{"anyOf":[{"type":"object","properties":{"statusCode":{"type":"number"},"message":{"type":"string"}},"required":["statusCode","message"],"additionalProperties":false},{"type":"null"}]},"data":{}},"required":["loading","data"],"additionalProperties":false},"configuration":{"type":"object","properties":{"query":{"default":{"type":"and","clauses":[{"eventType":"tennis-club-membership","status":{"type":"anyOf","terms":["CREATED","NOTIFIED","DECLARED","REGISTERED","ARCHIVED"]},"updatedAt":{"type":"range","gte":"2025-05-22","lte":"2025-05-29"},"data":{}}]},"$ref":"#/components/schemas/QueryTypeOutput"},"limit":{"default":100,"type":"number"},"offset":{"default":0,"type":"number"},"validation":{"$ref":"#/components/schemas/ValidationConfig"},"indicators":{"type":"object","properties":{"loading":{"description":"Text to display while the search is in progress","$ref":"#/components/schemas/TranslationConfigOutput"},"offline":{"description":"Text to display when the application is offline","$ref":"#/components/schemas/TranslationConfigOutput"},"noResultsError":{"description":"Text to display when no results are found during the search","$ref":"#/components/schemas/TranslationConfigOutput"},"httpError":{"description":"Text to display when there is an HTTP error during the search","$ref":"#/components/schemas/TranslationConfigOutput"},"confirmButton":{"$ref":"#/components/schemas/TranslationConfigOutput"},"clearButton":{"$ref":"#/components/schemas/TranslationConfigOutput"},"clearModal":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/TranslationConfigOutput"},"description":{"$ref":"#/components/schemas/TranslationConfigOutput"},"cancel":{"$ref":"#/components/schemas/TranslationConfigOutput"},"confirm":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false},"ok":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"additionalProperties":false}},"required":["query","limit","offset","validation"],"additionalProperties":false}},"required":["id","label","type","configuration"],"additionalProperties":false,"description":"A search input field"},"QueryTypeOutput":{"type":"object","properties":{"type":{"anyOf":[{"type":"string","const":"and"},{"type":"string","const":"or"}],"default":"and"},"clauses":{"minItems":1,"type":"array","items":{"anyOf":[{"$ref":"#/components/schemas/QueryExpressionOutput"},{"$ref":"#/components/schemas/QueryTypeOutput"}]},"default":[{"eventType":"tennis-club-membership","status":{"type":"anyOf","terms":["CREATED","NOTIFIED","DECLARED","REGISTERED","ARCHIVED"]},"updatedAt":{"type":"range","gte":"2025-05-22","lte":"2025-05-29"},"data":{}}]}},"required":["type","clauses"],"additionalProperties":false},"QueryExpressionOutput":{"type":"object","properties":{"id":{"type":"string"},"eventType":{"type":"string"},"status":{"anyOf":[{"$ref":"#/components/schemas/AnyOfStatusOutput"},{"$ref":"#/components/schemas/ExactStatusOutput"}]},"createdAt":{"$ref":"#/components/schemas/DateConditionOutput"},"updatedAt":{"$ref":"#/components/schemas/DateConditionOutput"},"legalStatuses.DECLARED.createdAtLocation":{"anyOf":[{"$ref":"#/components/schemas/WithinOutput"},{"type":"null"}]},"legalStatuses.DECLARED.createdByRole":{"$ref":"#/components/schemas/AnyOfOutput"},"legalStatuses.REGISTERED.acceptedAt":{"$ref":"#/components/schemas/DateConditionOutput"},"legalStatuses.REGISTERED.createdAtLocation":{"anyOf":[{"$ref":"#/components/schemas/WithinOutput"},{"type":"null"}]},"legalStatuses.REGISTERED.createdByRole":{"$ref":"#/components/schemas/AnyOfOutput"},"legalStatuses.REGISTERED.registrationNumber":{"$ref":"#/components/schemas/ExactOutput"},"createdAtLocation":{"anyOf":[{"$ref":"#/components/schemas/WithinOutput"},{"$ref":"#/components/schemas/ExactOutput"}]},"updatedAtLocation":{"anyOf":[{"$ref":"#/components/schemas/WithinOutput"},{"$ref":"#/components/schemas/ExactOutput"}]},"assignedTo":{"$ref":"#/components/schemas/ExactOutput"},"createdByUserType":{"$ref":"#/components/schemas/ExactUserTypeOutput"},"updatedByUserRole":{"$ref":"#/components/schemas/ExactOutput"},"createdBy":{"$ref":"#/components/schemas/ExactOutput"},"updatedBy":{"$ref":"#/components/schemas/ExactOutput"},"trackingId":{"$ref":"#/components/schemas/ExactOutput"},"flags":{"$ref":"#/components/schemas/ContainsFlagsOutput"},"data":{"$ref":"#/components/schemas/QueryInputOutput"}},"additionalProperties":false},"AnyOfStatusOutput":{"type":"object","properties":{"type":{"type":"string","const":"anyOf"},"terms":{"type":"array","items":{"type":"string","enum":["CREATED","NOTIFIED","DECLARED","REGISTERED","ARCHIVED"]}}},"required":["type","terms"],"additionalProperties":false},"ExactStatusOutput":{"type":"object","properties":{"type":{"type":"string","const":"exact"},"term":{"type":"string","enum":["CREATED","NOTIFIED","DECLARED","REGISTERED","ARCHIVED"]}},"required":["type","term"],"additionalProperties":false},"DateConditionOutput":{"anyOf":[{"$ref":"#/components/schemas/ExactDateOutput"},{"$ref":"#/components/schemas/RangeDateOutput"},{"$ref":"#/components/schemas/TimePeriodOutput"}]},"ExactDateOutput":{"type":"object","properties":{"type":{"type":"string","const":"exact"},"term":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}]}},"required":["type","term"],"additionalProperties":false},"RangeDateOutput":{"type":"object","properties":{"type":{"type":"string","const":"range"},"gte":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}]},"lte":{"anyOf":[{"type":"string","format":"date","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))$"},{"type":"string","format":"date-time","pattern":"^(?:(?:\\d\\d[2468][048]|\\d\\d[13579][26]|\\d\\d0[48]|[02468][048]00|[13579][26]00)-02-29|\\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\\d|30)|(?:02)-(?:0[1-9]|1\\d|2[0-8])))T(?:(?:[01]\\d|2[0-3]):[0-5]\\d(?::[0-5]\\d(?:\\.\\d+)?)?(?:Z))$"}]}},"required":["type","gte","lte"],"additionalProperties":false},"TimePeriodOutput":{"type":"object","properties":{"type":{"type":"string","const":"timePeriod"},"term":{"type":"string","enum":["last7Days","last30Days","last90Days","last365Days"]}},"required":["type","term"],"additionalProperties":false},"WithinOutput":{"type":"object","properties":{"type":{"type":"string","const":"within"},"location":{"type":"string"}},"required":["type","location"],"additionalProperties":false},"AnyOfOutput":{"type":"object","properties":{"type":{"type":"string","const":"anyOf"},"terms":{"type":"array","items":{"type":"string"}}},"required":["type","terms"],"additionalProperties":false},"ExactOutput":{"type":"object","properties":{"type":{"type":"string","const":"exact"},"term":{"type":"string"}},"required":["type","term"],"additionalProperties":false},"ExactUserTypeOutput":{"type":"object","properties":{"type":{"type":"string","const":"exact"},"term":{"type":"string","enum":["user","system"]}},"required":["type","term"],"additionalProperties":false},"ContainsFlagsOutput":{"type":"object","properties":{"anyOf":{"type":"array","items":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^(delete|create|notify|declare|register|edit|duplicate_detected|reject|mark_as_duplicate|mark_as_not_duplicate|archive|print_certificate|request_correction|reject_correction|approve_correction|read|assign|unassign|custom):(requested|accepted|rejected)$"},{"type":"string","enum":["incomplete","rejected","correction-requested","potential-duplicate","edit-in-progress"]}]},{"type":"string","description":"Custom flag identifier defined by the country config."}]}},"noneOf":{"type":"array","items":{"anyOf":[{"anyOf":[{"type":"string","pattern":"^(delete|create|notify|declare|register|edit|duplicate_detected|reject|mark_as_duplicate|mark_as_not_duplicate|archive|print_certificate|request_correction|reject_correction|approve_correction|read|assign|unassign|custom):(requested|accepted|rejected)$"},{"type":"string","enum":["incomplete","rejected","correction-requested","potential-duplicate","edit-in-progress"]}]},{"type":"string","description":"Custom flag identifier defined by the country config."}]}}},"additionalProperties":false},"QueryInputOutput":{"anyOf":[{"oneOf":[{"$ref":"#/components/schemas/FuzzyOutput"},{"$ref":"#/components/schemas/ExactOutput"},{"$ref":"#/components/schemas/RangeOutput"},{"$ref":"#/components/schemas/WithinOutput"},{"$ref":"#/components/schemas/AnyOfOutput"}],"type":"object","discriminator":{"propertyName":"type","mapping":{"fuzzy":"#/components/schemas/FuzzyOutput","exact":"#/components/schemas/ExactOutput","range":"#/components/schemas/RangeOutput","within":"#/components/schemas/WithinOutput","anyOf":"#/components/schemas/AnyOfOutput"}}},{"type":"object","propertyNames":{"type":"string"},"additionalProperties":{"$ref":"#/components/schemas/QueryInputOutput"}}]},"FuzzyOutput":{"type":"object","properties":{"type":{"type":"string","const":"fuzzy"},"term":{"type":"string"}},"required":["type","term"],"additionalProperties":false},"RangeOutput":{"type":"object","properties":{"type":{"type":"string","const":"range"},"gte":{"type":"string"},"lte":{"type":"string"}},"required":["type","gte","lte"],"additionalProperties":false},"CustomField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"CUSTOM"},"defaultValue":{},"src":{"type":"string","description":"Module source path for the custom field component"},"configuration":{}},"required":["id","label","type","src"],"additionalProperties":false,"description":"An expiremental custom field that is defined by a module source path"},"HiddenField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"default":false,"type":"boolean"},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"ALPHA_HIDDEN"},"defaultValue":{"type":"string"}},"required":["id","label","type"],"additionalProperties":false,"description":"A non-interactive, hidden field that only hold a value in the form"},"UserRoleField":{"type":"object","properties":{"id":{"type":"string","description":"Unique identifier of the field."},"label":{"description":"Human-readable label of the field.","$ref":"#/components/schemas/TranslationConfigOutput"},"parent":{"description":"Reference to the parent field or fields. When a parent field changes, this field is reset.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"required":{"description":"Indicates whether the field is mandatory.","default":false,"anyOf":[{"type":"boolean"},{"type":"object","properties":{"message":{"description":"Custom required validation message","$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["message"],"additionalProperties":false}]},"conditionals":{"description":"Conditions determining when the field is shown or enabled. By default, the field is always shown and enabled.","default":[],"type":"array","items":{"$ref":"#/components/schemas/FieldConditional"}},"secured":{"description":"Indicates whether the field is secured. Secured fields are not indexed for search and are only visible when explicitly assigned.","default":false,"type":"boolean"},"placeholder":{"$ref":"#/components/schemas/TranslationConfigOutput"},"validation":{"description":"Additional validation rules applied to the field.","default":[],"type":"array","items":{"$ref":"#/components/schemas/ValidationConfig"}},"helperText":{"$ref":"#/components/schemas/TranslationConfigOutput"},"hideLabel":{"default":false,"type":"boolean"},"uncorrectable":{"description":"Indicates whether the field can be modified during record correction.","default":false,"type":"boolean"},"value":{"description":"Reference to the source field or fields. When a value is defined, it is copied from the parent field when changed. If multiple references are provided, the first truthy value is used.","anyOf":[{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"},{"type":"array","items":{"type":"object","properties":{"$$field":{"type":"string","description":"Id of the field to reference"},"$$subfield":{"default":[],"description":"If the FieldValue is an object, subfield can be used to refer to e.g. `[\"foo\", \"bar\"]` in `{ foo: { bar: 3 } }`","type":"array","items":{"type":"string"}}},"required":["$$field","$$subfield"],"additionalProperties":false,"description":"Reference to a field by its ID"}}]},"analytics":{"description":"Indicates whether the field is included in analytics. When enabled, its value becomes available in the analytics dashboard.","default":false,"type":"boolean"},"type":{"type":"string","const":"USER_ROLE"},"defaultValue":{"type":"string"}},"required":["id","label","type"],"additionalProperties":false,"description":"A select dropdown that is automatically populated with available user roles"},"VerificationActionConfig":{"type":"object","properties":{"verify":{"type":"object","properties":{"label":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["label"],"additionalProperties":false},"cancel":{"type":"object","properties":{"label":{"$ref":"#/components/schemas/TranslationConfigOutput"},"confirmation":{"type":"object","properties":{"title":{"$ref":"#/components/schemas/TranslationConfigOutput"},"body":{"$ref":"#/components/schemas/TranslationConfigOutput"}},"required":["title","body"],"additionalProperties":false}},"required":["label","confirmation"],"additionalProperties":false}},"required":["verify","cancel"],"additionalProperties":false,"description":"Verification action configuration"}}}}
```


---

# Agent Instructions: Querying This Documentation

If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter:

```
GET https://documentation.opencrvs.org/v2.0/technical/guides/configuration/events/declaration-and-forms.md?ask=<question>
```

The question should be specific, self-contained, and written in natural language.
The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
