Normalises any supported schema input into a Stone.js NativeSchema.
Resolution order: a Standard Schema (~standard) is preferred (canonical, covers Zod 3.24+, Valibot, ArkType), then a Zod-like safeParse, then a native Stone.js schema (validate).
~standard
safeParse
validate
The schema to resolve.
A Stone.js validation schema.
When the input is not a recognisable schema.
Normalises any supported schema input into a Stone.js NativeSchema.
Resolution order: a Standard Schema (
~standard) is preferred (canonical, covers Zod 3.24+, Valibot, ArkType), then a Zod-likesafeParse, then a native Stone.js schema (validate).