struct JSONSchema::ValidationResult
- JSONSchema::ValidationResult
- Struct
- Value
- Object
Overview
Captures result of validation, including a status and any number of corresponding errors
Defined in:
validator.crConstructors
Instance Method Summary
- #errors : Array(ValidationError)
-
#status : Symbol
Either
:success
or:error
Constructor Detail
def self.new(status : Symbol, errors : Array(JSONSchema::ValidationError) = [] of ValidationError)
#