Registry
Schema registration and entity management.
Methods
| Method | Description |
|---|---|
register / registerAnonymous / has / get / list | Schema lifecycle |
materialize | Build instance from partial + defaults |
addInvariant / removeInvariant | Cross-field validation rules |
addComputed / removeComputed | Derived field computation |
All examples use the bookstore domain.
Related
instantiate- consume registered schemasmaterialize- build instances from registered schemasComposemethods - derive new schemas to register
See also
- Bookstore domain - registering the six entity schemas
- Getting started -
JsonTology.create({ schemas })for upfront registration - Argument conventions - how registered schemas resolve via
SchemaRef