AnyOfValidator

net.reactivecore.cjs.validator.AnyOfValidator
case class AnyOfValidator(validators: Vector[Validator]) extends Compound

Attributes

Graph
Supertypes
trait Serializable
trait Product
trait Equals
class Compound
trait Validator
class Object
trait Matchable
class Any

Members list

Concise view

Value members

Concrete methods

override def validateStateful(state: ValidationState, json: Json)(implicit context: ValidationContext): (ValidationState, ValidationResult)

Validate JSON, returns violations.

Validate JSON, returns violations.

Attributes

Definition Classes

Inherited methods

def precedence: Int

Precedence of this operation (for stateful validators), when using Sequence

Precedence of this operation (for stateful validators), when using Sequence

Attributes

Inherited from:
Validator
def productElementNames: Iterator[String]

Attributes

Inherited from:
Product
def productIterator: Iterator[Any]

Attributes

Inherited from:
Product

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Touches the validator, possible state modifying (e.g. adding dynamic anchors)

Attributes

Inherited from:
Validator

Validate, but skip evaluated

Validate, but skip evaluated

Attributes

Inherited from:
Validator
def wideForeach(f: Validator => Unit): Unit

Depth first foreach.

Depth first foreach.

Attributes

Inherited from:
Validator

Inherited fields

override val children: Vector[Validator]

Children Validators

Children Validators

Attributes

Inherited from:
Compound