{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/amazon-xray/json-schema/amazon-xray-get-groups-result-schema.json",
  "title": "GetGroupsResult",
  "x-generated": "2026-11-10",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/amazon-xray-groups-api-openapi.yml#/components/schemas/GetGroupsResult",
  "type": "object",
  "properties": {
    "Groups": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/GroupSummary"
      },
      "description": "The collection of all active groups."
    },
    "NextToken": {
      "type": "string",
      "description": "Pagination token."
    }
  },
  "$defs": {
    "GroupSummary": {
      "type": "object",
      "properties": {
        "GroupName": {
          "type": "string",
          "description": "The unique case-sensitive name of the group."
        },
        "GroupARN": {
          "type": "string",
          "description": "The ARN of the group generated based on the GroupName."
        },
        "FilterExpression": {
          "type": "string",
          "description": "The filter expression defining the parameters to include traces."
        },
        "InsightsConfiguration": {
          "$ref": "#/$defs/InsightsConfiguration"
        }
      }
    },
    "InsightsConfiguration": {
      "type": "object",
      "properties": {
        "InsightsEnabled": {
          "type": "boolean",
          "description": "Set the InsightsEnabled value to true to enable insights or false to disable insights."
        },
        "NotificationsEnabled": {
          "type": "boolean",
          "description": "Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true."
        }
      }
    }
  }
}