Modern Schema implementation using compile-time type checking
Class methods
with_validator(validator : Validator(T))
Convenience method to create a schema with custom validator
SourceInstance methods
parse(data) : T
Validate and parse data, raising on error
Sourcevalid?(data) : Bool
Validate and return boolean (backward compatible)
Sourcevalidate(data) : ValidationResult
Validate data and return detailed result
Source