{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-resourcegroups-group.json",
  "title": "AWSResourceGroupsGroupProperties",
  "description": "Schema for ResourceGroups::Group. 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-resourcegroups-group.json",
    "sourceSha256": "14db5d718cea88bdaa136d1970b2b04fdc854adb04dd9e4d297c4f1a08e6b8ad"
  },
  "type": "object",
  "properties": {
    "Name": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 128
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The name of the resource group"
    },
    "Description": {
      "oneOf": [
        {
          "type": "string",
          "maxLength": 512
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ],
      "description": "The description of the resource group"
    },
    "ResourceQuery": {
      "$ref": "#/$defs/ResourceQuery"
    },
    "Tags": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/Tag"
      }
    },
    "Configuration": {
      "$ref": "#/$defs/Configuration"
    },
    "Resources": {
      "type": "array",
      "items": {
        "type": "string"
      }
    }
  },
  "typeName": "AWS::ResourceGroups::Group",
  "primaryIdentifier": [
    "/properties/Name"
  ],
  "sourceUrl": "https://github.com/aws-cloudformation/aws-cloudformation-rpdk.git",
  "additionalProperties": false,
  "readOnlyProperties": [
    "/properties/Arn"
  ],
  "$defs": {
    "ResourceQuery": {
      "type": "object",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string",
              "enum": [
                "TAG_FILTERS_1_0",
                "CLOUDFORMATION_STACK_1_0"
              ]
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Query": {
          "$ref": "#/$defs/Query"
        }
      },
      "title": "AWSResourceGroupsGroupResourceQueryDefinition",
      "additionalProperties": false
    },
    "Query": {
      "type": "object",
      "properties": {
        "ResourceTypeFilters": {
          "type": "array",
          "items": {
            "type": "string"
          }
        },
        "StackIdentifier": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "TagFilters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/TagFilter"
          }
        }
      },
      "title": "AWSResourceGroupsGroupQueryDefinition",
      "additionalProperties": false
    },
    "TagFilter": {
      "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"
            }
          ]
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "title": "AWSResourceGroupsGroupTagFilterDefinition",
      "additionalProperties": false
    },
    "Tag": {
      "type": "object",
      "properties": {
        "Key": {
          "oneOf": [
            {
              "type": "string",
              "pattern": "^(?!aws:).+"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Value": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "title": "AWSResourceGroupsGroupTagDefinition",
      "additionalProperties": false
    },
    "Configuration": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ConfigurationItem"
      },
      "title": "AWSResourceGroupsGroupConfigurationDefinition"
    },
    "ConfigurationItem": {
      "type": "object",
      "properties": {
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Parameters": {
          "type": "array",
          "items": {
            "$ref": "#/$defs/ConfigurationParameter"
          }
        }
      },
      "title": "AWSResourceGroupsGroupConfigurationItemDefinition",
      "additionalProperties": false
    },
    "ConfigurationParameter": {
      "type": "object",
      "properties": {
        "Name": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Values": {
          "type": "array",
          "items": {
            "type": "string"
          }
        }
      },
      "title": "AWSResourceGroupsGroupConfigurationParameterDefinition",
      "additionalProperties": false
    }
  },
  "required": [
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/Name"
  ]
}
