Skip to main content

Datapacks Model

Overview​

The datapacks table stores metadata and configurations related to different data packs. It includes details about versions, bundle associations, connectors, queries, functions, and processing status.

Fields​

FieldTypeDescriptionRequired
idstringPrimary Key – Unique identifier for each data pack (UUID).❌
bundle_idanyLinks the datapack to a broader bundle or group of related datapacks/resources. Possibly legacy or multi-reference.❌
ref_idanyReference ID used internally to identify linked entities, parent items, or version ancestry.❌
connectorsarrayStores JSON/XML/YAML data for different connectors linked to this data pack.❌
queriesarrayContains query definitions related to this data pack.❌
functionsarrayStores function details or scripts related to data processing.❌
actionsarrayList of actions/triggers that the datapack can execute, possibly mapped to app events or external systems.❌
typestringSpecifies the type of data pack (e.g., Standard, Custom).✅
namestringName of the datapack.✅
line_item_typestringType of line item associated with the data pack.❌
descriptionstringA brief description of the datapack.✅
bundleBuildIdanyID used to associate this datapack with a specific build of a bundle or package❌
bundleIdstringActive bundle ID this datapack belongs to.✅
localVersionanyLocal system version or developer version of the datapack, used during testing or isolated dev.❌
draft_versionanyIndicates if this is a draft version of the datapack.❌
user_idstringIdentifier of the user who created or modified the datapack.❌
created_atdateTimestamp when the datapack was created.❌
modified_atdateTimestamp when the datapack was last modified.❌
filesarrayJSON/XML/YAML metadata for associated files required by the datapack..❌
statusstringCurrent status of the data pack (active, archived, etc.).✅
package_idstringPackage ID to which this datapack is associated; helpful in deployment and packaging tools.❌
dataPackSourcestringSource from which the datapack originated.❌
application_idstringID of the application this datapack is a part of, enabling scoped access/use.❌
preCronIdstringID for pre-execution cron job or scheduling task if the datapack is time-triggered.❌

Relationships​

  • Hasmany Unknown
  • Hasmany Unknown
  • Hasmany Unknown
  • Hasmany Unknown
  • Hasmany Unknown
  • Hasmany Unknown
  • Hasmany Unknown
  • Belongsto Unknown

Sample JSON​

{
"id": "example_value",
"bundle_id": "example_value",
"ref_id": "example_value",
"connectors": "example_value",
"queries": "example_value",
"functions": "example_value",
"actions": "example_value",
"type": "example_value",
"name": "example_value",
"line_item_type": "example_value",
"description": "example_value",
"bundleBuildId": "example_value",
"bundleId": "example_value",
"localVersion": "example_value",
"draft_version": "example_value",
"user_id": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"files": "example_value",
"status": "example_value",
"package_id": "example_value",
"dataPackSource": "example_value",
"application_id": "example_value",
"preCronId": "example_value"
}