required
Marks this property as required in the parent schema.
When set to true, the property name will be included in the parent's "required" array. This should be set before defining the property type.
Example
property("email") {
required = true
string { format = "email" }
}Content copied to clipboard