Skip to main content

Versions Model

Overview

This table stores the versioning details of various packages or components within the system. It tracks different versions of packages, including their local versions, draft versions, and any associated metadata.

Fields

FieldTypeDescriptionRequired
idstringA unique identifier for each record in the table. Used to uniquely identify a specific version entry.
typestringDefines the type of package or entity, specifying its category or purpose.
localVersionanyRepresents the version of the package that is stored or used locally, potentially differing from the main version.
versionstringIndicates the current version of the package or entity. Used to indicate which release this entry represents.
versionDataanyContains metadata or additional information about the version, such as release notes or configuration details. It can hold large structured or unstructured content.
versionsstringStores a collection or list of all available versions related to the package or entity.
package_idstringA reference to the associated package, linking the record to a specific package entity.
draft_versionanyRefers to a draft or unpublished version of the package that is still under development or review. Used when a version is being prepared but not finalized.
created_atdateThe timestamp indicating when the record was created.
modified_atdateThe timestamp indicating when the record was last updated or modified.
packageIdstringAnother identifier for the associated package, which seems to be a duplicate of package_id—this should be checked for redundancy.

Sample JSON

{
"id": "example_value",
"type": "example_value",
"localVersion": "example_value",
"version": "example_value",
"versionData": "example_value",
"versions": "example_value",
"package_id": "example_value",
"draft_version": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"packageId": "example_value"
}