:Record
The Record class is the central component in Cadastry's data structure. It serves as the primary unit for defining and organizing data. The Record class is designed to provide a consistent framework for representing, storing, and manipulating metadata. This allows for efficient querying and analysis of the metadata, and it enables the creation of networks of interconnected records that can be used to represent complex and rich data sets.
| Key | Mandatory | Type | Description |
|---|---|---|---|
| context | Yes | string | This field specifies the context of the record. It is mandatory and defines the scope or setting in which the record is used. |
| resources | No | Array of Resources | This field contains the resources associated with the record. It is not mandatory and can be left empty if there are no resources to be linked with the record. |
Version
The Version object specifies the schema version used for each contextualized object in the hierarchy. It is represented in the form of major.minor.subminor.
Example
Record example
{
"context": "object.digital.song",
"version": {
"object": "1.0.0",
"digital": "1.2.0",
"song": "1.0.2"
},
"resources": []
}