@gs.i/utils-traverse

This processor accepts a loose version of schema, specifies all the optional members( also some missed required members ) by replacing them with corresponding default value, returns a strict schema that contains all the necessary parts.

Usage no npm install needed!

<script type="module">
  import gsIUtilsTraverse from 'https://cdn.skypack.dev/@gs.i/utils-traverse';
</script>

README

Schema specifier processor

This processor accepts a loose version of schema, specifies all the optional members( also some missed required members ) by replacing them with corresponding default value, returns a strict schema that contains all the necessary parts.