Skip to content

Commit 98a387e

Browse files
Add Draft 07 support (#50)
Add draft7 support, separate dependecies field, separate id behavior into id and anchor, ignore other properties of ref objects. --------- Co-authored-by: Jim Clark <slimslenderslacks@gmail.com>
1 parent 2196fed commit 98a387e

Some content is hidden

Large Commits have some content hidden by default. Use the searchbox below for content that may be hidden.

62 files changed

+8742
-120
lines changed

jsonschema/doc.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -6,8 +6,8 @@
66
Package jsonschema is an implementation of the [JSON Schema specification],
77
a JSON-based format for describing the structure of JSON data.
88
The package can be used to read schemas for code generation, and to validate
9-
data using the draft 2020-12 specification. Validation with other drafts
10-
or custom meta-schemas is not supported.
9+
data using the draft 2020-12 and draft-07 specifications. Validation with
10+
other drafts or custom meta-schemas is not supported.
1111
1212
Construct a [Schema] as you would any Go struct (for example, by writing
1313
a struct literal), or unmarshal a JSON schema into a [Schema] in the usual

0 commit comments

Comments
 (0)