Skip to main content

Alert Schema

  • File Name: alert_dump_01.01.parquet
  • Type: Full
  • Schema Version: 01.01
  • Last Updated: 2026-02-26

Description

Contains all alert records including alert definitions, associated assets, locations, and products. Alerts represent system-generated notifications for various conditions such as temperature deviations, camera issues, and purity violations. Exports last 90 days of alerts.

Data Filter

  • Time Range: Last 90 days of alert history
  • Only recent alerts are included to keep export sizes manageable

Fields

📋 Includes Common Fields: Client Information, Location Information, Asset Information, Audit Fields

Core Alert Fields

Column NameData TypeDescription
AlertIdintUnique identifier for the alert
AlertValuedecimalNumeric value associated with the alert
AlertTextvarcharText description of the alert
AlertAtdatetimeTimestamp when the alert occurred
ClosedOndatetimeTimestamp when the alert was closed
LastUpdatedOndatetimeTimestamp of last update to the alert
ActionTakenvarcharAction taken to resolve the alert
SnoozeUntildatetimeDate/time until which the alert is snoozed
SnoozeDateTimedatetimeSnooze date and time
AcknowledgmentDatedatetimeDate when the alert was acknowledged
AlertAgeintAge of the alert in days
AlertSmartDeviceIdintSmart device ID associated with the alert (from Alert.SmartDeviceId)

Alert Type Fields

Column NameData TypeDescription
AlertTypeIdintType identifier for the alert
AlertTypevarcharName of the alert type
AlertTypeImagevarcharImage/icon associated with the alert type
UnitvarcharUnit of measurement for the alert value
CategoryIdintAlert category identifier
AlertCategoryvarcharAlert category (e.g., "System", "Business")
LevelvarcharSeverity level (e.g., "Critical", "Warning", "Info")
AlertDefinitionvarcharName of the alert definition
PriorityvarcharPriority level (e.g., "High", "Medium", "Low")

Client Fields

Column NameData TypeDescription
ClientNamevarcharName of the client
ClientCodevarcharCode of the client

Location Fields

Column NameData TypeDescription
LocationIdintUnique identifier for the location
NamevarcharLocation name
CodevarcharLocation code
ExternalLocationCodevarcharExternal system location code
StreetvarcharStreet address
PostalCodevarcharPostal/ZIP code
CityvarcharCity name
StateIdintState/province identifier
StatevarcharState/province name
CountryIdintCountry identifier
CountryvarcharCountry name
MarketIdintMarket identifier
MarketNamevarcharMarket name
ChannelIdintChannel/location type identifier (from LocationTypeId)
ChannelvarcharChannel/location type name
ClassificationIdintLocation classification identifier
ClassificationvarcharLocation classification name
TimeZonevarcharTime zone display name
RoutevarcharMaster route name (from LocationMasterRoute)
LocationRoutevarcharLocation route name (duplicate of Route)
PreSellerRoutevarcharPre-seller route name
CustomerNamevarcharCustomer type name
SalesRepvarcharPrimary sales representative email (from FirstRepId)

Asset Fields

Column NameData TypeDescription
AssetIdintUnique identifier for the asset
AssetSerialNumbervarcharSerial number of the asset
ExternalAssetCodevarcharExternal system asset code
AssetTypevarcharType of the asset

Smart Device Fields

Column NameData TypeDescription
SmartDeviceIdintSmart device identifier (from SD table)
SmartDeviceSerialNumbervarcharSerial number of the smart device

Product Fields

Column NameData TypeDescription
ProductIdintUnique identifier for the product
SKUvarcharStock keeping unit
ExternalProductCodevarcharExternal system product code

Calculated & Reference Fields

Column NameData TypeDescription
AgingintNumber of days since alert occurred (DATEDIFF from AlertAt)
StatusvarcharCurrent status (e.g., "Open", "Close")
ManagervarcharManager username (from ManagerId → Security_User)
OwnervarcharOwner username (from OwnerId → Security_User)
PurityDateTimedatetimeDate/time of associated purity check
AssetPurityIdintAssociated asset purity record ID (from RecordId)
ImageReceivedFromvarcharSource of the image
ImageSourcevarcharType of image source

Audit Fields

Column NameData TypeDescription
CreatedOndatetimeRecord creation timestamp (UTC)
ModifiedOndatetimeRecord modification timestamp (UTC)