Skip to content

Inheritance and hierarchies

Pantarey lets you model complex data structures through inheritance and hierarchical organization.


Why does this matter?

  • Reuse: Common attributes (e.g., name, email) only have to be maintained once.
  • Structured navigation: Organize data structures in logical groups.
  • Automatic benefits: Forms and processes inherit properties automatically.

Example: Contact → Person / Organization

Parent structure Contact with shared attributes:

  • Name.
  • Email.
  • Phone number.

Two child structures:

  • Person (inherits from Contact and adds, for example, date of birth).
  • Organization (inherits from Contact and adds, for example, company name and VAT ID).

Changes to the parent schema apply to all child structures.


Tips for inheritance

  • Inheritance can have multiple levels.
  • Inherited fields are read-only in child structures and maintained in the parent.
  • Adjust the ordering to create a logical form layout.

The form generator respects the hierarchy automatically.

Next you will learn about document names and preview fields so that your data stands out in the overview.