Identify sections. Sections are sets of entities. Customization that affect multiple entities can be applied at the section level.
In this form, we outlined the sections in blue.
const section = {
label: string,
required: boolean,
entities: entity[]
}
const entity = {
type: string,
label: string
}
Entity
Section
Type: STRING
First nameType: STRING
Last nameType: STRING
BirthdayType: STRING
SexType: FILE
Passport imageType: STRING
Passport numberType: STRING
Issuing countryType: STRING
Expiry dateType: FILE
Vaccination cardType: BOOLEAN
First doseType: STRING
First dose brandType: STRING
First dose dateType: BOOLEAN
Second doseType: STRING
Second dose brandType: STRING
Second dose dateType: BOOLEAN
Third doseType: STRING
Third dose brandType: STRING
Third dose dateType: BOOLEAN
Fourth doseType: STRING
Fourth dose brandType: STRING
Fourth dose dateType: STRING
DestinationType: STRING
Departure date