{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--aws-waf-rule.json",
  "title": "AWSWAFRuleProperties",
  "description": "Resource Type definition for AWS::WAF::Rule. Source:- No source definition found, add manually please",
  "x-lintel": {
    "source": "https://raw.githubusercontent.com/lalcebo/json-schema/master/serverless/resources/cloudformation-modified/aws-waf-rule.json",
    "sourceSha256": "812450102b7fc4587090d3ab21f956d691b15c3249a7ec30c066ae9106405f9f"
  },
  "type": "object",
  "properties": {
    "MetricName": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Name": {
      "oneOf": [
        {
          "type": "string"
        },
        {
          "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
        }
      ]
    },
    "Predicates": {
      "type": "array",
      "uniqueItems": true,
      "items": {
        "$ref": "#/$defs/Predicate"
      }
    }
  },
  "typeName": "AWS::WAF::Rule",
  "readOnlyProperties": [
    "/properties/Id"
  ],
  "$defs": {
    "Predicate": {
      "type": "object",
      "title": "AWSWAFRulePredicateDefinition",
      "properties": {
        "DataId": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        },
        "Negated": {
          "type": "boolean"
        },
        "Type": {
          "oneOf": [
            {
              "type": "string"
            },
            {
              "$ref": "https://catalog.lintel.tools/schemas/schemastore/serverless-framework-configuration/_shared/latest--cf.functions.json#/Aws_CF_FunctionString"
            }
          ]
        }
      },
      "required": [
        "Negated",
        "Type",
        "DataId"
      ],
      "additionalProperties": false
    }
  },
  "primaryIdentifier": [
    "/properties/Id"
  ],
  "additionalProperties": false,
  "required": [
    "MetricName",
    "Name"
  ],
  "createOnlyProperties": [
    "/properties/MetricName",
    "/properties/Name"
  ]
}
