{
  "$schema": "http://json-schema.org/draft-03/schema",
  "title": "JSON Schema for an Eventlog Event",
  "required": false,
  "properties": {
    "Id": {
      "type": "string",
      "description": "An unique ID for this event, assigned by Eventlog.",
      "required": false
    },
    "Name": {
      "type": "string",
      "description": "The name (or type) of the event, assigned by the event source.",
      "required": true
    },
    "SourceTime": {
      "type": "string",
      "description": "The source timestamp of the event - RFC3339 Nanosecond format.",
      "required": true
    },
    "Source": {
      "type": "string",
      "description": "The source of the event, assigned by the event source.",
      "required": true
    },
    "EntityRef": {
      "type": "string",
      "description": "A reference to an entity or resource associated with the event.",
      "required": false
    },
    "Context": {
      "type": "object",
      "description": "Additional properties associated with this event type.",
      "required": false
    }
  }
}