{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/amazon-devops-guru/refs/heads/main/json-structure/amazon-devops-guru-event-structure.json",
  "description": "An Amazon Web Services resource event. Amazon Web Services resource events and metrics are analyzed by DevOps Guru to find anomalous behavior and provide recommendations to improve your operational solutions.",
  "type": "object",
  "properties": {
    "ResourceCollection": {
      "$ref": "#/components/schemas/ResourceCollection"
    },
    "Id": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventId"
        },
        {
          "description": " The ID of the event. "
        }
      ]
    },
    "Time": {
      "allOf": [
        {
          "$ref": "#/components/schemas/Timestamp"
        },
        {
          "description": " A <code>Timestamp</code> that specifies the time the event occurred. "
        }
      ]
    },
    "EventSource": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventSource"
        },
        {
          "description": " The Amazon Web Services source that emitted the event. "
        }
      ]
    },
    "Name": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventName"
        },
        {
          "description": " The name of the event. "
        }
      ]
    },
    "DataSource": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventDataSource"
        },
        {
          "description": " The source, <code>AWS_CLOUD_TRAIL</code> or <code>AWS_CODE_DEPLOY</code>, where DevOps Guru analysis found the event. "
        }
      ]
    },
    "EventClass": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventClass"
        },
        {
          "description": " The class of the event. The class specifies what the event is related to, such as an infrastructure change, a deployment, or a schema change. "
        }
      ]
    },
    "Resources": {
      "allOf": [
        {
          "$ref": "#/components/schemas/EventResources"
        },
        {
          "description": " An <code>EventResource</code> object that contains information about the resource that emitted the event. "
        }
      ]
    }
  },
  "name": "Event"
}