alterschema
alterschema copied to clipboard
Convert between JSON Schema specification versions.
Apologies if the wrong place for a question, but did not see a different place/link to ask one. My current requirements are to convert from Draft 6 to Draft4. Any...
See https://github.com/sourcemeta/alterschema/issues/171
_Note: I'm no expert in JSON schema, so if I'm wrong in these statements, correct me!_ --- I've tested the following draft4 schema: ``` { "id": "http://example.com/schema", "$schema": "http://json-schema.org/draft-04/schema#", "properties":...
## Description It seems that the `test.is()` statements in `test.js` are failing. Here's the complete logs: ``` # Subtest: (CLI) draft4 => 2020-12 ok 1 - should be equivalent strictly...
To support upgrading arbitrary draft 3 schemas, we need to define rules to upgrade draft 3 to draft 4.
Using https://alterschema.sourcemeta.com/ to translate the open api v3 spec from Draft-04 to 2019-09 re: https://github.com/OAI/OpenAPI-Specification/issues/2996 Mostly worked except the definitions references weren't updated to defs. The schema appears valid after...