{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-devops-guru/json-schema/amazon-devops-guru-list-insights-closed-status-filter-schema.json",
  "title": "ListInsightsClosedStatusFilter",
  "description": " Used to filter for insights that have the status <code>CLOSED</code>. ",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-devops-guru-organization-api-openapi.yml#/components/schemas/ListInsightsClosedStatusFilter",
  "type": "object",
  "required": [
    "Type",
    "EndTimeRange"
  ],
  "properties": {
    "Type": {
      "allOf": [
        {
          "$ref": "#/$defs/InsightType"
        },
        {
          "description": " Use to filter for either <code>REACTIVE</code> or <code>PROACTIVE</code> insights. "
        }
      ]
    },
    "EndTimeRange": {
      "allOf": [
        {
          "$ref": "#/$defs/EndTimeRange"
        },
        {
          "description": " A time range used to specify when the behavior of the filtered insights ended. "
        }
      ]
    }
  },
  "$defs": {
    "EndTimeRange": {
      "type": "object",
      "properties": {
        "FromTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The earliest end time in the time range. "
            }
          ]
        },
        "ToTime": {
          "allOf": [
            {
              "$ref": "#/$defs/Timestamp"
            },
            {
              "description": " The latest end time in the time range. "
            }
          ]
        }
      },
      "description": " A range of time that specifies when anomalous behavior in an anomaly or insight ended. "
    },
    "InsightType": {
      "type": "string",
      "enum": [
        "REACTIVE",
        "PROACTIVE"
      ]
    },
    "Timestamp": {
      "type": "string",
      "format": "date-time"
    }
  }
}