Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(draft2019-09): upgrading jsonschema to support draft2019-09 #63

Closed
wants to merge 12 commits into from
Prev Previous commit
Next Next commit
fix(tests): iri support todo
Arqu committed Apr 16, 2020
commit 1b039f61e0d6943d784a545e81b4628918d2edcc
7 changes: 6 additions & 1 deletion schema_test.go
Original file line number Diff line number Diff line change
@@ -473,7 +473,12 @@ func TestDraft2019_09(t *testing.T) {
"testdata/draft2019-09/optional/format/ipv4.json",
"testdata/draft2019-09/optional/format/ipv6.json",
"testdata/draft2019-09/optional/format/iri-reference.json",
"testdata/draft2019-09/optional/format/iri.json",
// todo(arqu): iri fails on IPV6 not having [] around the address
// which was a legal format in draft7
// introduced: https://github.com/json-schema-org/JSON-Schema-Test-Suite/commit/2146b02555b163da40ae98e60bf36b2c2f8d4bd0#diff-b2ca98716e146559819bc49635a149a9
// relevant RFC: https://tools.ietf.org/html/rfc3986#section-3.2.2
// relevant 'net/url' package discussion: https://github.com/golang/go/issues/31024
// "testdata/draft2019-09/optional/format/iri.json",
"testdata/draft2019-09/optional/format/json-pointer.json",
"testdata/draft2019-09/optional/format/regex.json",
"testdata/draft2019-09/optional/format/relative-json-pointer.json",