{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/RegexSecurityFilter",
  "title": "RegexSecurityFilter",
  "type": "object",
  "properties": {
    "type": {
      "type": "string",
      "description": "The type of security threat to filter.",
      "enum": [
        "regex"
      ]
    },
    "regex": {
      "type": "string",
      "description": "The regex pattern to filter.",
      "example": "badword1|badword2"
    }
  },
  "required": [
    "type",
    "regex"
  ]
}