Cumulocity · JSON Structure

Cumulocity Alarm Structure

Structural model of a Cumulocity alarm — a monitored condition with severity and status, auto-deduplicated by (source, type).

Type: Object Properties: 12
IoTInternet of ThingsIndustrial IoTAIoTDevice ManagementDigital TwinMQTTEdge ComputingStreaming AnalyticsData Lake

CumulocityAlarm is a JSON Structure definition published by Cumulocity, describing 12 properties. It conforms to the https://json-structure.github.io/spec/draft-01/schema meta-schema.

Properties

id self time creationTime type text severity status count firstOccurrenceTime source fragments

Meta-schema: https://json-structure.github.io/spec/draft-01/schema

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.github.io/spec/draft-01/schema",
  "name": "CumulocityAlarm",
  "title": "Cumulocity Alarm Structure",
  "description": "Structural model of a Cumulocity alarm — a monitored condition with severity and status, auto-deduplicated by (source, type).",
  "type": "Object",
  "properties": {
    "id": {"type": "String"},
    "self": {"type": "String"},
    "time": {"type": "String", "format": "date-time"},
    "creationTime": {"type": "String", "format": "date-time"},
    "type": {"type": "String"},
    "text": {"type": "String"},
    "severity": {
      "type": "Enum",
      "values": ["CRITICAL", "MAJOR", "MINOR", "WARNING"]
    },
    "status": {
      "type": "Enum",
      "values": ["ACTIVE", "ACKNOWLEDGED", "CLEARED"]
    },
    "count": {"type": "Integer"},
    "firstOccurrenceTime": {"type": "String", "format": "date-time"},
    "source": {"type": "Reference", "target": "ManagedObjectReference"},
    "fragments": {
      "type": "Map",
      "valueType": "Object",
      "description": "Fragment-extensible map of typed c8y_* and tenant-defined extensions."
    }
  }
}