module Schematics
Defined in:
field.crmodel.cr
schema.cr
schematics.cr
validation_result.cr
validators.cr
Constant Summary
-
VERSION =
"0.3.0"
Class Method Summary
- .format(regex : Regex)
- .gt(value : Int32)
- .gte(value : Int32)
- .lt(value : Int32)
- .lte(value : Int32)
- .matches(regex : Regex)
- .max_length(length : Int32)
-
.min_length(length : Int32)
Validator helper methods (Pydantic-style)
- .one_of(values : Array(String))
- .range(min : Int32, max : Int32)