Identify instance. This is the parent level when saved into the database.

In this form, we outlined the instance in green.

const instance = {
  name: string,
  sections: section[]
}

const section = {
  label: string,
  required: boolean,
  entities: entity[]
}

const entity = {
  type: string,
  label: string
}

Entity

Section

Instance

Instance

Section 1
REQUIRED: FALSE

Type: STRING

Entity type

Type: BOOLEAN

Entity type

Type: FILE

Entity type
Section 2
REQUIRED: FALSE

Type: STRING

Entity type

Type: BOOLEAN

Entity type

Type: FILE

Entity type