Skip to content

Commit f77c120

Browse files
authored
Add support for converting JSON Schema documents to Draft-04, closes #6846 (#6883)
1 parent 25a029c commit f77c120

5 files changed

Lines changed: 1630 additions & 527 deletions

File tree

Lines changed: 5 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,5 @@
1+
---
2+
"effect": patch
3+
---
4+
5+
Add support for converting JSON Schema documents to Draft-04, preserve literal `$ref` values, `$ref` sibling constraints, `not`, `readOnly`, and `writeOnly` in Draft-07 conversions, correct the Draft-07 meta-schema URI, and prevent OpenAPI component-key collisions during conversion.

‎packages/effect/package.json‎

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -105,6 +105,7 @@
105105
"@types/ini": "^4.1.1",
106106
"@types/node": "^26.1.2",
107107
"ajv": "^8.20.0",
108+
"ajv-draft-04": "^1.0.0",
108109
"ast-types": "^0.14.2",
109110
"immer": "^11.1.11",
110111
"tinybench": "^6.0.2",

0 commit comments

Comments
 (0)