class

JSONSchema::CompositeValidator

Inherits JSONSchema::ValidatorRender / Reference / Object

Validates schema that has any of the keywords for composite/compound schema set as a property. The possible keywords are allOf, anyOf, oneOf, and not.

This is a raw Validator class that you most likely do not need to use directly. See the JSONSchema#create_validator macro, JSONSchema#from_json, or JSONSchema.fluent for common usage of this shard.

Constructors

Instance methods

children
Source
children=(children : Array(Validator))
Source
keyword
Source
keyword=(keyword : String)
Source
to_cr
Source
validate(node : JSON::Any, context = NodeContext.new)
Source