ValidationLimits

data class ValidationLimits(val maxDepth: Int = 256, val maxSteps: Int, val maxViolations: Int = 32, val maxPatternLength: Int, val maxSubjectLength: Int)

The bounds one validation runs under.

Both the instance and — once a catalog may be inlined in a capabilities message — the schema come from the agent, so neither one's size may decide how much work a renderer does.

Constructors

Link copied to clipboard
constructor(maxDepth: Int = 256, maxSteps: Int, maxViolations: Int = 32, maxPatternLength: Int, maxSubjectLength: Int)

Types

Link copied to clipboard
object Companion

Properties

Link copied to clipboard

How deeply subschema application may nest.

Link copied to clipboard

The longest pattern this will hand to Regex.

Link copied to clipboard

How many subschema applications one validation may perform in total.

Link copied to clipboard

The longest string a pattern will be matched against.

Link copied to clipboard

How many violations one validation reports before it stops describing them.