Creating Schemas
#
About SchemasA SchemaDefinition looks, quite literally, like this:
SchemaDefinitions can be created using AST or functionally with the help of utility methods
- ast
- functional
#
Partial DefinitionsA partial schema definition is just that, it is some part of the object that makes up a whole schema definition. The following would be partial schema definitions:
Partial definitions can be passed as arguments to any schema constructor. @zuze/schema supplies (sometimes trivial) utility methods to construct partial defintions for you:
For further information see the schemas api