Applications Model
Overview
The applications table is designed to store details about applications, including metadata, storage paths, versions, user associations, and licensing details. It helps manage applications deployed in an organization, including debug and logging configurations.
Fields
| Field | Type | Description | Required |
|---|---|---|---|
| id | string | Primary Key – A unique identifier for each application, typically a UUID. | ❌ |
| bundle_id | string | A unique identifier for a bundle associated with this application. | ✅ |
| xrStudioBuildType | string | xrStudioBuildType field | ❌ |
| externalApplicationId | any | External system’s reference/application ID (useful in federated systems or integrations). | ❌ |
| storagePath | any | Path or URL where the application binary/assets are stored. | ❌ |
| icon | any | icon field | ❌ |
| buildType | any | Specifies the type of application build (e.g., Debug, Release, Beta). | ❌ |
| loggerDetails | any | Logging configuration or metadata for audit/log tracing. | ❌ |
| prevStorageProps | any | Stores previous storage configurations for tracking changes. | ❌ |
| devices | array | Lists supported devices for the application (could be in JSON format). | ❌ |
| bundleRecordId | string | Identifier linking to a related bundle record. | ❌ |
| siteId | string | Identifies the site or location where the application is deployed. | ❌ |
| application_item_id | string | Links to specific application items within the system. | ❌ |
| logStoragePath | any | Stores the path where logs are saved. | ❌ |
| name | string | Unique application name used in the platform (UI or programmatic references). | ✅ |
| version | string | The version number of the application. | ❌ |
| localVersion | string | A local or user-specific version, used during development/testing. | ❌ |
| description | string | A brief description of the application. | ❌ |
| orgId | string | Organization ID associated with in the application. | ❌ |
| user_id | string | The user ID of the person who owns or manages the application. | ❌ |
| pack_data | object | Core packaged data – JSON or config used by the system to render or initialize the app. | ✅ |
| extension_status | string | Status of application extensions (e.g., Enabled, Disabled). | ❌ |
| isDefaultStorage | boolean | Boolean – whether to use the default platform storage or custom storage. | ❌ |
| archiveStoragePath | any | Path to archived application storage. | ❌ |
| storageProperties | any | Storage-specific configuration like encryption, provider (S3, GCS, etc.). | ❌ |
| apps | array | apps field | ❌ |
| mode_of_publish | string | Method used to publish the app (e.g., manual, CI/CD, auto). | ❌ |
| status | any | General status of the application (e.g., Active, Inactive). | ❌ |
| licenseActivated | boolean | Boolean flag indicating whether the application license is activated. | ❌ |
| license_key | string | License key or blob (encoded string for license verification). | ❌ |
| features | any | List or config of features/modules enabled in the app. | ❌ |
| siteMapId | string | Reference to site map/navigation structure for the app. | ❌ |
| release_notes | string | Notes about what’s new or fixed in the current release. | ❌ |
| file | string | Reference to the application's file package. | ❌ |
| activate_package | boolean | Indicates whether the package tied to this application is active or not | ❌ |
| predefined_update_available | boolean | Boolean flag indicating if a predefined update is available. | ❌ |
| orgGroup_id | any | Links the application to an organization group. | ❌ |
| type | string | type field | ❌ |
| bundle_type | any | Defines the bundle type, possibly a duplicate of bundleType. | ❌ |
| bundleType | any | Another definition of bundle type (might be redundant with bundle_type). | ❌ |
| created_at | date | Timestamp of when the application was created. | ❌ |
| modified_at | date | Timestamp of when the application was last modified. | ❌ |
| isDebugModeEnabled | boolean | Boolean flag indicating if debug mode is enabled. | ❌ |
| isInfoModeEnabled | boolean | Boolean flag indicating if info logging mode is enabled. | ❌ |
| debugEnabledUsers | any | List of users allowed to enable debug mode. | ❌ |
| infoEnabledUsers | any | List of users allowed to enable info mode. | ❌ |
Sample JSON
{
"id": "example_value",
"bundle_id": "example_value",
"xrStudioBuildType": "example_value",
"externalApplicationId": "example_value",
"storagePath": "example_value",
"icon": "example_value",
"buildType": "example_value",
"loggerDetails": "example_value",
"prevStorageProps": "example_value",
"devices": "example_value",
"bundleRecordId": "example_value",
"siteId": "example_value",
"application_item_id": "example_value",
"logStoragePath": "example_value",
"name": "example_value",
"version": "example_value",
"localVersion": "example_value",
"description": "example_value",
"orgId": "example_value",
"user_id": "example_value",
"pack_data": "example_value",
"extension_status": "example_value",
"isDefaultStorage": "example_value",
"archiveStoragePath": "example_value",
"storageProperties": "example_value",
"apps": "example_value",
"mode_of_publish": "example_value",
"status": "example_value",
"licenseActivated": "example_value",
"license_key": "example_value",
"features": "example_value",
"siteMapId": "example_value",
"release_notes": "example_value",
"file": "example_value",
"activate_package": "example_value",
"predefined_update_available": "example_value",
"orgGroup_id": "example_value",
"type": "example_value",
"bundle_type": "example_value",
"bundleType": "example_value",
"created_at": "example_value",
"modified_at": "example_value",
"isDebugModeEnabled": "example_value",
"isInfoModeEnabled": "example_value",
"debugEnabledUsers": "example_value",
"infoEnabledUsers": "example_value"
}