{
  "$udmi_version": "1.5.7",
  "title": "Notifs Events",
  "description": "A set of notification events reporting state transitions. [Notifs Events Documentation](../docs/messages/notifs.md#telemetry)",
  "$section": "Messages",
  "type": "object",
  "$schema": "http://json-schema.org/draft-07/schema#",
  "additionalProperties": false,
  "properties": {
    "timestamp": {
      "description": "RFC 3339 UTC timestamp the notification event was generated",
      "type": "string",
      "format": "date-time",
      "examples": ["2019-01-17T14:02:29.364Z"]
    },
    "version": {
      "description": "Version of the UDMI schema",
      "type": "string"
    },
    "upgraded_from": {
      "description": "Original version of schema pre-upgrade",
      "type": "string"
    },
    "partial_update": {
      "description": "Indicates if this is a partial update",
      "type": "boolean"
    },
    "notif_id": {
      "description": "Map of notification event objects keyed by notification identifier for this device.",
      "additionalProperties": false,
      "existingJavaType": "java.util.HashMap<String, NotifNotifsEvents>",
      "patternProperties": {
        "^[0-9a-f]{8}$": {
          "description": "Object representation for a single notification event",
          "$ref": "file:events_notifs_notif.json#"
        }
      }
    }
  },
  "required": [
    "timestamp",
    "version",
    "notif_id"
  ]
}
