@hyperjump/json-schema 1.5.0 → 1.5.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
package/lib/schema.js CHANGED
@@ -1,5 +1,3 @@
1
- import curry from "just-curry-it";
2
- import * as Pact from "@hyperjump/pact";
3
1
  import { nil as nilPointer, append as pointerAppend, get as pointerGet } from "@hyperjump/json-pointer";
4
2
  import { toAbsoluteIri } from "@hyperjump/uri";
5
3
  import { jsonTypeOf, resolveUri, uriFragment, pathRelative, jsonStringify } from "./common.js";
@@ -65,6 +65,10 @@ loadDialect(jsonSchemaVersion, {
65
65
  [jsonSchemaVersion]: true
66
66
  });
67
67
 
68
+ loadDialect("https://spec.openapis.org/oas/3.0/schema", {
69
+ [jsonSchemaVersion]: true
70
+ });
71
+
68
72
  addSchema(dialectSchema);
69
73
 
70
74
  addSchema(schema20210928, "https://spec.openapis.org/oas/3.0/schema");
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@hyperjump/json-schema",
3
- "version": "1.5.0",
3
+ "version": "1.5.1",
4
4
  "description": "A JSON Schema validator with support for custom keywords, vocabularies, and dialects",
5
5
  "type": "module",
6
6
  "main": "./stable/index.js",