interface Schema.ObjectBuilder
A validation builder for object values.
interface ObjectBuilder<T> extends Builder<T>;
Notes
- Returned by Schema.build.object() and provides access to the object’s property schema via shape.
Instance members
shape
The schema for each property of the validated object.required()
Adds a required check; returns this builder for further chaining.
Related
class Schema
A class that represents a validation schema for input values, objects, and arrays.
