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
| Field | Type | Description | Required |
|---|---|---|---|
| id | string | Primary Key – Unique identifier for each data pack (UUID). | ❌ |
| bundle_id | any | Links the datapack to a broader bundle or group of related datapacks/resources. Possibly legacy or multi-reference. | ❌ |
| ref_id | any | Reference ID used internally to identify linked entities, parent items, or version ancestry. | ❌ |
| connectors | array | Stores JSON/XML/YAML data for different connectors linked to this data pack. | ❌ |
| queries | array | Contains query definitions related to this data pack. | ❌ |
| functions | array | Stores function details or scripts related to data processing. | ❌ |
| actions | array | List of actions/triggers that the datapack can execute, possibly mapped to app events or external systems. | ❌ |
| type | string | Specifies the type of data pack (e.g., Standard, Custom). | ✅ |
| name | string | Name of the datapack. | ✅ |
| line_item_type | string | Type of line item associated with the data pack. | ❌ |
| description | string | A brief description of the datapack. | ✅ |
| bundleBuildId | any | ID used to associate this datapack with a specific build of a bundle or package | ❌ |
| bundleId | string | Active bundle ID this datapack belongs to. | ✅ |
| localVersion | any | Local system version or developer version of the datapack, used during testing or isolated dev. | ❌ |
| draft_version | any | Indicates if this is a draft version of the datapack. | ❌ |
| user_id | string | Identifier of the user who created or modified the datapack. | ❌ |
| created_at | date | Timestamp when the datapack was created. | ❌ |
| modified_at | date | Timestamp when the datapack was last modified. | ❌ |
| files | array | JSON/XML/YAML metadata for associated files required by the datapack.. | ❌ |
| status | string | Current status of the data pack (active, archived, etc.). | ✅ |
| package_id | string | Package ID to which this datapack is associated; helpful in deployment and packaging tools. | ❌ |
| dataPackSource | string | Source from which the datapack originated. | ❌ |
| application_id | string | ID of the application this datapack is a part of, enabling scoped access/use. | ❌ |
| preCronId | string | ID 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"
}