7 Data Structures
This section provides information on the core data structures/data models that are used by this Building Block.
Last updated
This section provides information on the core data structures/data models that are used by this Building Block.
Last updated
Copyright © 2024
The resource model shows the relationship between data objects that are used by this Building Block.
The Data Structures provide detail for the Resource Model defined above. This section will list the core/required fields for each resource.
Description: The Data Structures can be extended for a particular use case, but they must always contain, at the minimum, the fields defined here.
Fields:
Name | Type | Description | Notes |
---|---|---|---|
Database ID
integer
Unique identifier of a database.
Required
Database name
varchar
Name that will define the database content. Name is public.
Required
Schema ID
integer
Database schema ID
Required
Database schema
json object
Database schema. See example in Chapters 7.3.1 and 7.3.2.
Required
Version
numeric
Database version. Each change in schema will produce the next version of the database and API services.
Required
Data ID
integer
Data element unique identifier.
Required
Registry number
varchar
Additional registry identifier. Unique identifier in the registry.
Required
Field type
varchar
Field type: datetime, date, boolean, text, number, file.
Required
Field value
datetime, date, boolean, text, number
Field value, data stored in the field.
Required
Audit log old value
datetime, date, boolean, text, number
Field value before change.
Required
Audit log new value
datetime, date, boolean, text, number
Field value after the change.
Required