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 TypeNullableDescription
AlertIdintNOT NULLUnique identifier for the alert
AlertValuedecimal(18,2)NOT NULLNumeric value associated with the alert
AlertTextnvarchar(max)NOT NULLText description of the alert
AlertAtdatetimeNOT NULLTimestamp when the alert occurred
ClosedOndatetimeNULLTimestamp when the alert was closed
LastUpdatedOndatetimeNULLTimestamp of last update to the alert
ActionTakenvarchar(100)NOT NULLAction taken to resolve the alert
SnoozeUntildatetimeNOT NULLDate/time until which the alert is snoozed
SnoozeDateTimedatetimeNULLSnooze date and time
AcknowledgmentDatedatetimeNULLDate when the alert was acknowledged
AlertAgeintNULLAge of the alert in days
AlertSmartDeviceIdintNOT NULLSmart device ID associated with the alert (from Alert.SmartDeviceId)

Alert Type Fields

Column NameData TypeNullableDescription
AlertTypeIdintNOT NULLType identifier for the alert
AlertTypenvarchar(50)NOT NULLName of the alert type
AlertTypeImagenvarchar(50)NULLImage/icon associated with the alert type
Unitnvarchar(10)NOT NULLUnit of measurement for the alert value
CategoryIdtinyintNOT NULLAlert category identifier
AlertCategoryvarchar(500)NULLAlert category (e.g., "System", "Business")
Levelvarchar(500)NULLSeverity level (e.g., "Critical", "Warning", "Info")
AlertDefinitionvarchar(250)NULLName of the alert definition
Priorityvarchar(500)NULLPriority level (e.g., "High", "Medium", "Low")

Client Fields

Column NameData TypeNullableDescription
ClientNamenvarchar(50)NULLName of the client
ClientCodevarchar(10)NULLCode of the client

Location Fields

Column NameData TypeNullableDescription
LocationIdintNOT NULLUnique identifier for the location
Namenvarchar(200)NULLLocation name
Codenvarchar(100)NULLLocation code
ExternalLocationCodenvarchar(250)NULLExternal system location code
Streetnvarchar(150)NULLStreet address
PostalCodenvarchar(50)NULLPostal/ZIP code
Citynvarchar(50)NULLCity name
StateIdintNULLState/province identifier
Statenvarchar(50)NULLState/province name
CountryIdintNULLCountry identifier
Countryvarchar(50)NULLCountry name
MarketIdintNULLMarket identifier
MarketNamenvarchar(150)NULLMarket name
ChannelIdintNULLChannel/location type identifier (from LocationTypeId)
Channelnvarchar(255)NULLChannel/location type name
ClassificationIdintNULLLocation classification identifier
Classificationvarchar(500)NULLLocation classification name
TimeZonevarchar(500)NULLTime zone display name
Routevarchar(500)NULLMaster route name (from LocationMasterRoute)
LocationRoutevarchar(500)NULLLocation route name (duplicate of Route)
PreSellerRoutevarchar(500)NULLPre-seller route name
CustomerNamevarchar(500)NULLCustomer type name
SalesRepvarchar(500)NULLPrimary sales representative email (from FirstRepId)

Asset Fields

Column NameData TypeNullableDescription
AssetIdintNOT NULLUnique identifier for the asset
AssetSerialNumbernvarchar(50)NULLSerial number of the asset
PlanogramIdintNOT NULLPlanogram identifier
ExternalAssetCodenvarchar(250)NULLExternal system asset code
AssetTypenvarchar(50)NULLType of the asset

Smart Device Fields

Column NameData TypeNullableDescription
SmartDeviceIdintNOT NULLSmart device identifier (from SD table)
SmartDeviceSerialNumbervarchar(255)NULLSerial number of the smart device

Product Fields

Column NameData TypeNullableDescription
ProductIdintNOT NULLUnique identifier for the product
SKUvarchar(50)NULLStock keeping unit
ExternalProductCodenvarchar(100)NULLExternal system product code

Calculated & Reference Fields

Column NameData TypeNullableDescription
AgingintNULLNumber of days since alert occurred (DATEDIFF from AlertAt)
Statusvarchar(500)NULLCurrent status (e.g., "Open", "Close")
Managervarchar(50)NULLManager username (from ManagerId → Security_User)
Ownervarchar(50)NULLOwner username (from OwnerId → Security_User)
PurityDateTimedatetimeNULLDate/time of associated purity check
UniqueGUIDvarchar(255)NULLUnique identifier for purity record
AssetPurityIdintNULLAssociated asset purity record ID (from RecordId)
ImageReceivedFromvarchar(500)NULLSource of the image
ImageSourcevarchar(500)NULLType of image source

Audit Fields

Column NameData TypeNullableDescription
CreatedOndatetimeNOT NULLRecord creation timestamp (UTC)
ModifiedOndatetimeNOT NULLRecord modification timestamp (UTC)