open-index/open-npm huggingface dataset:
npm package: @fict/validators
Description: Validator schemas and functionality for FICT structures
Latest version: 0.1.2

## type
For nested structures the `type` can be set to `struct` or `object`. If not set, it will be automatically determined based on if the node has children or not. If no children, default `type` is set to be `string`. If the node has children, default `type` is set to be `object`. If the node has children, but `type` is not `object` then a `transform` routine must be present to convert the `object` to the given `type`.