xschema

Adapters

Compare validation library adapters supported by xschema

Adapters

Adapters convert JSON Schema into native validation code for your chosen library. Each adapter is a standalone CLI that receives pre-processed schemas from xschema and outputs idiomatic code.

See What is XSchema for the full architecture and Adapter Protocol for the technical specification.

TypeScript Adapters

AdapterCompliancePeer Dependency
@xschemadev/zod100%zod ^3.0.0
@xschemadev/arktype100%arktype ^2.0.0
@xschemadev/effect100%effect ^3.0.0
@xschemadev/valibot98.9%valibot ^0.42.0

Python Adapters

AdapterCompliancePeer Dependency
@xschemadev/pydanticComing soonpydantic ^2.0.0

About Compliance

Compliance percentages are calculated against the official JSON Schema Test Suite, excluding features that cannot be statically compiled. Learn more about compliance testing.

Building Custom Adapters

Want to add support for another validation library? See the Building Adapters guide.

On this page