{
  "typeName" : "AWS::WAF::SizeConstraintSet",
  "description" : "Resource Type definition for AWS::WAF::SizeConstraintSet",
  "additionalProperties" : false,
  "properties" : {
    "SizeConstraints" : {
      "type" : "array",
      "uniqueItems" : true,
      "items" : {
        "$ref" : "#/definitions/SizeConstraint"
      }
    },
    "Name" : {
      "type" : "string"
    },
    "Id" : {
      "type" : "string"
    }
  },
  "definitions" : {
    "SizeConstraint" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "ComparisonOperator" : {
          "type" : "string"
        },
        "TextTransformation" : {
          "type" : "string"
        },
        "Size" : {
          "type" : "integer"
        },
        "FieldToMatch" : {
          "$ref" : "#/definitions/FieldToMatch"
        }
      },
      "required" : [ "ComparisonOperator", "Size", "TextTransformation", "FieldToMatch" ]
    },
    "FieldToMatch" : {
      "type" : "object",
      "additionalProperties" : false,
      "properties" : {
        "Type" : {
          "type" : "string"
        },
        "Data" : {
          "type" : "string"
        }
      },
      "required" : [ "Type" ]
    }
  },
  "required" : [ "SizeConstraints", "Name" ],
  "createOnlyProperties" : [ "/properties/Name" ],
  "primaryIdentifier" : [ "/properties/Id" ],
  "readOnlyProperties" : [ "/properties/Id" ]
}