Schema

Schema

The Schema package in stapi.ai Core is designed to provide a systematic representation of data and its relations. It is based on HL7 FHIR StructureDefinition (opens in a new tab), it works as a snapshot of data structures, offering a composite blueprint for data entities in software system.

Derived from health care standards, it brings a high level of sophistication and structure that can be used for a variety of applications. By embracing the "code as data" philosophy, the StructureSchema can enable a declarative approach to software development, making applications more predictable, flexible, and understandable.

Schema is a collection of AbstractStructureTypes:

Getting started:

Add schema as Maven dependency into your project:

<dependency>
  <groupId>ai.stapi</groupId>
  <artifactId>schema</artifactId>
</dependency>