{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "type": "object",
  "title": "Asset Heartbeat Event",
  "description": "Application authentication event specific structure",
  "extends": {
    "$comment": "Extends common event structure",
    "$ref": "event.json"
  },
  "properties": {
    "enrollments": {
      "title": "User Enrollments",
      "description": "List of enrollments belonging to the asset",
      "type": "array",
      "items": {
        "$ref": "event.json#/$defs/event-device"
      }
    },
    "currentEnrollment": {
      "title": "Current Enrollment",
      "description": "Identifier for the currently logged in enrollment",
      "type": "string"
    }
  }
}
