dlp_RegexValidationQuery

APIs.ioEngineeringPlatform

Properties

Name Type Description
max_match_bytes integer Maximum number of bytes that the regular expression can match. If this is `null` then there is no limit on the length. Patterns can use `*` and `+`. Otherwise repeats should use a range `{m,n}` to res
regex string
View JSON Schema on GitHub

JSON Schema

apis-io-engineering-platform-dlp-regexvalidationquery-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/dlp_RegexValidationQuery",
  "title": "dlp_RegexValidationQuery",
  "properties": {
    "max_match_bytes": {
      "description": "Maximum number of bytes that the regular expression can match.\n\nIf this is `null` then there is no limit on the length. Patterns can use\n`*` and `+`. Otherwise repeats should use a range `{m,n}` to restrict\npatterns to the length. If this field is missing, then a default length\nlimit is used.\n\nNote that the length is specified in bytes. Since regular expressions\nuse UTF-8 the pattern `.` can match up to 4 bytes. Hence `.{1,256}`\nhas a maximum length of 1024 bytes.",
      "format": "int32",
      "minimum": 0,
      "nullable": true,
      "type": "integer"
    },
    "regex": {
      "type": "string"
    }
  },
  "required": [
    "regex"
  ],
  "type": "object"
}