This PR changes the behavior of cargo xtask generate-schemas to generate JSON Schema's and their inferred types instead of Zod schemas, as unfortunately, the zod schema's didn't always work with schemas referencing other schemas.
The generated schemas also export a function that uses ajv to validate an input against the schema
This PR changes the behavior of
cargo xtask generate-schemas
to generate JSON Schema's and their inferred types instead of Zod schemas, as unfortunately, the zod schema's didn't always work with schemas referencing other schemas.The generated schemas also export a function that uses ajv to validate an input against the schema