SchemaShape
SchemaShape =
object
Defined in: src/context.ts:29
The shape of a schema: an ARKTYPE OBJECT DEF. Leaf values are arktype defs (“number”, “string.email”, “number > 0”, nested objects…), addressable with dotted paths via the path() pattern element.
Index Signature
Section titled “Index Signature”[key: string]: unknown
Example
Section titled “Example”const schema = { x: "number", values: { password: "string", confirmPassword: "string" },} satisfies SchemaShape;