Use extern() to wrap a Zod schema (or any Standard Schema v1 library) into a @cleverbrush/schema builder. Mix and match schemas from different libraries — types and getErrorsFor() work across the boundary.
const result = schema.validate(data)Define a schema to see its inferred TypeScript type.
InferType<typeof schema> automatically derives the TypeScript type from your schema definition.