Makes a Standard Schema (v1) from a codec, or from a shape or value class.
shapeSchema(cls).validate reads the raw form with the strict path, so bad input gives issues
and no onInvalid report. null and undefined give an issue: a shape schema decides if
a field is optional.
Makes a Standard Schema (v1) from a codec, or from a shape or value class.
shapeSchema(cls).validatereads the raw form with the strict path, so bad input gives issues and noonInvalidreport.nullandundefinedgive an issue: a shape schema decides if a field is optional.