{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-xray-group.json",
  "title": "AWSXRayGroupProperties",
  "description": "This schema provides construct and validation rules for AWS-XRay Group resource parameters.. Source:- <https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git>",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-xray-group.json",
    "sourceSha256": "4dfe106c5bb71efd4b77a44f3eeccd8a3cf8369355926cc6e699b81749823f96"
  },
  "type": "object",
  "properties": {
    "FilterExpression": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The filter expression defining criteria by which to group traces."
    },
    "GroupName": {
      "oneOf": [
        {
          "type": "string",
          "minLength": 1,
          "maxLength": 32
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The case-sensitive name of the new group. Names must be unique."
    },
    "InsightsConfiguration": {
      "$ref": "#/$defs/InsightsConfiguration"
    },
    "Tags": {
      "$ref": "#/$defs/Tags"
    }
  },
  "typeName": "AWS::XRay::Group",
  "readOnlyProperties": [
    "/properties/GroupARN"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "primaryIdentifier": [
    "/properties/GroupARN"
  ],
  "additionalProperties": false,
  "required": [
    "GroupName"
  ],
  "$defs": {
    "InsightsConfiguration": {
      "type": "object",
      "title": "AWSXRayGroupInsightsConfigurationDefinition",
      "properties": {
        "InsightsEnabled": {
          "description": "Set the InsightsEnabled value to true to enable insights or false to disable insights.",
          "type": "boolean"
        },
        "NotificationsEnabled": {
          "description": "Set the NotificationsEnabled value to true to enable insights notifications. Notifications can only be enabled on a group with InsightsEnabled set to true.",
          "type": "boolean"
        }
      },
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The key name of the tag."
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ],
          "description": "The value for the tag."
        }
      },
      "required": [
        "Key",
        "Value"
      ],
      "title": "AWSXRayGroupTagDefinition",
      "additionalProperties": false
    },
    "Tags": {
      "type": "array",
      "insertionOrder": false,
      "description": "An array of key-value pairs to apply to this resource.",
      "items": {
        "$ref": "#/$defs/Tag"
      },
      "title": "AWSXRayGroupTagsDefinition"
    }
  }
}
