UNPKG

@knowark/validarkjs

Version:
845 lines 27.8 kB
{ "http://localhost:1234/baseUriChange/folderInteger.json": { "type": "integer" }, "http://localhost:1234/baseUriChangeFolder/folderInteger.json": { "type": "integer" }, "http://localhost:1234/baseUriChangeFolderInSubschema/folderInteger.json": { "type": "integer" }, "http://localhost:1234/different-id-ref-string.json": { "$defs": { "bar": { "type": "string" } }, "$id": "http://localhost:1234/real-id-ref-string.json", "$ref": "#/$defs/bar" }, "http://localhost:1234/draft-next/baseUriChange/folderInteger.json": { "$schema": "https://json-schema.org/draft/next/schema", "type": "integer" }, "http://localhost:1234/draft-next/baseUriChangeFolder/folderInteger.json": { "$schema": "https://json-schema.org/draft/next/schema", "type": "integer" }, "http://localhost:1234/draft-next/baseUriChangeFolderInSubschema/folderInteger.json": { "$schema": "https://json-schema.org/draft/next/schema", "type": "integer" }, "http://localhost:1234/draft-next/detached-dynamicref.json": { "$defs": { "detached": { "$dynamicAnchor": "detached", "type": "integer" }, "foo": { "$dynamicRef": "#detached" } }, "$id": "http://localhost:1234/draft-next/detached-dynamicref.json", "$schema": "https://json-schema.org/draft/next/schema" }, "http://localhost:1234/draft-next/detached-ref.json": { "$defs": { "detached": { "$anchor": "detached", "type": "integer" }, "foo": { "$ref": "#detached" } }, "$id": "http://localhost:1234/draft-next/detached-ref.json", "$schema": "https://json-schema.org/draft/next/schema" }, "http://localhost:1234/draft-next/extendible-dynamic-ref.json": { "$defs": { "elements": { "$dynamicAnchor": "elements" } }, "$id": "http://localhost:1234/draft-next/extendible-dynamic-ref.json", "$schema": "https://json-schema.org/draft/next/schema", "additionalProperties": false, "description": "extendible array", "properties": { "elements": { "items": { "$dynamicRef": "#elements" }, "type": "array" } }, "required": [ "elements" ], "type": "object" }, "http://localhost:1234/draft-next/format-assertion-false.json": { "$id": "http://localhost:1234/draft-next/format-assertion-false.json", "$schema": "https://json-schema.org/draft/next/schema", "$vocabulary": { "https://json-schema.org/draft/next/vocab/core": true, "https://json-schema.org/draft/next/vocab/format-assertion": false }, "allOf": [ { "$ref": "https://json-schema.org/draft/next/meta/core" }, { "$ref": "https://json-schema.org/draft/next/meta/format-assertion" } ] }, "http://localhost:1234/draft-next/format-assertion-true.json": { "$id": "http://localhost:1234/draft-next/format-assertion-true.json", "$schema": "https://json-schema.org/draft/next/schema", "$vocabulary": { "https://json-schema.org/draft/next/vocab/core": true, "https://json-schema.org/draft/next/vocab/format-assertion": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/next/meta/core" }, { "$ref": "https://json-schema.org/draft/next/meta/format-assertion" } ] }, "http://localhost:1234/draft-next/integer.json": { "$schema": "https://json-schema.org/draft/next/schema", "type": "integer" }, "http://localhost:1234/draft-next/locationIndependentIdentifier.json": { "$defs": { "A": { "$anchor": "foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } }, "$schema": "https://json-schema.org/draft/next/schema" }, "http://localhost:1234/draft-next/metaschema-no-validation.json": { "$id": "http://localhost:1234/draft-next/metaschema-no-validation.json", "$schema": "https://json-schema.org/draft/next/schema", "$vocabulary": { "https://json-schema.org/draft/next/vocab/applicator": true, "https://json-schema.org/draft/next/vocab/core": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/next/meta/applicator" }, { "$ref": "https://json-schema.org/draft/next/meta/core" } ] }, "http://localhost:1234/draft-next/metaschema-optional-vocabulary.json": { "$id": "http://localhost:1234/draft-next/metaschema-optional-vocabulary.json", "$schema": "https://json-schema.org/draft/next/schema", "$vocabulary": { "http://localhost:1234/draft/next/vocab/custom": false, "https://json-schema.org/draft/next/vocab/core": true, "https://json-schema.org/draft/next/vocab/validation": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/next/meta/validation" }, { "$ref": "https://json-schema.org/draft/next/meta/core" } ] }, "http://localhost:1234/draft-next/name-defs.json": { "$defs": { "orNull": { "anyOf": [ { "type": "null" }, { "$ref": "#" } ] } }, "$schema": "https://json-schema.org/draft/next/schema", "type": "string" }, "http://localhost:1234/draft-next/nested/foo-ref-string.json": { "$schema": "https://json-schema.org/draft/next/schema", "properties": { "foo": { "$ref": "string.json" } }, "type": "object" }, "http://localhost:1234/draft-next/nested/string.json": { "$schema": "https://json-schema.org/draft/next/schema", "type": "string" }, "http://localhost:1234/draft-next/ref-and-defs.json": { "$defs": { "inner": { "properties": { "bar": { "type": "string" } } } }, "$id": "http://localhost:1234/draft-next/ref-and-defs.json", "$ref": "#/$defs/inner", "$schema": "https://json-schema.org/draft/next/schema" }, "http://localhost:1234/draft-next/subSchemas.json": { "$defs": { "integer": { "type": "integer" }, "refToInteger": { "$ref": "#/$defs/integer" } }, "$schema": "https://json-schema.org/draft/next/schema" }, "http://localhost:1234/draft-next/tree.json": { "$dynamicAnchor": "node", "$id": "http://localhost:1234/draft-next/tree.json", "$schema": "https://json-schema.org/draft/next/schema", "description": "tree schema, extensible", "properties": { "children": { "items": { "$dynamicRef": "#node" }, "type": "array" }, "data": true }, "type": "object" }, "http://localhost:1234/draft2019-09/baseUriChange/folderInteger.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "integer" }, "http://localhost:1234/draft2019-09/baseUriChangeFolder/folderInteger.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "integer" }, "http://localhost:1234/draft2019-09/baseUriChangeFolderInSubschema/folderInteger.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "integer" }, "http://localhost:1234/draft2019-09/dependentRequired.json": { "$id": "http://localhost:1234/draft2019-09/dependentRequired.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "dependentRequired": { "foo": [ "bar" ] } }, "http://localhost:1234/draft2019-09/detached-ref.json": { "$defs": { "detached": { "$anchor": "detached", "type": "integer" }, "foo": { "$ref": "#detached" } }, "$id": "http://localhost:1234/draft2019-09/detached-ref.json", "$schema": "https://json-schema.org/draft/2019-09/schema" }, "http://localhost:1234/draft2019-09/extendible-dynamic-ref.json": { "$defs": { "elements": { "$dynamicAnchor": "elements" } }, "$id": "http://localhost:1234/draft2019-09/extendible-dynamic-ref.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "additionalProperties": false, "description": "extendible array", "properties": { "elements": { "items": { "$dynamicRef": "#elements" }, "type": "array" } }, "required": [ "elements" ], "type": "object" }, "http://localhost:1234/draft2019-09/ignore-prefixItems.json": { "$id": "http://localhost:1234/draft2019-09/ignore-prefixItems.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "prefixItems": [ { "type": "string" } ] }, "http://localhost:1234/draft2019-09/integer.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "integer" }, "http://localhost:1234/draft2019-09/locationIndependentIdentifier.json": { "$defs": { "A": { "$anchor": "foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } }, "$schema": "https://json-schema.org/draft/2019-09/schema" }, "http://localhost:1234/draft2019-09/metaschema-no-validation.json": { "$id": "http://localhost:1234/draft2019-09/metaschema-no-validation.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "$vocabulary": { "https://json-schema.org/draft/2019-09/vocab/applicator": true, "https://json-schema.org/draft/2019-09/vocab/core": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/2019-09/meta/applicator" }, { "$ref": "https://json-schema.org/draft/2019-09/meta/core" } ] }, "http://localhost:1234/draft2019-09/metaschema-optional-vocabulary.json": { "$id": "http://localhost:1234/draft2019-09/metaschema-optional-vocabulary.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "$vocabulary": { "http://localhost:1234/draft/2019-09/vocab/custom": false, "https://json-schema.org/draft/2019-09/vocab/core": true, "https://json-schema.org/draft/2019-09/vocab/validation": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/2019-09/meta/validation" }, { "$ref": "https://json-schema.org/draft/2019-09/meta/core" } ] }, "http://localhost:1234/draft2019-09/name-defs.json": { "$defs": { "orNull": { "anyOf": [ { "type": "null" }, { "$ref": "#" } ] } }, "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "string" }, "http://localhost:1234/draft2019-09/nested/foo-ref-string.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "properties": { "foo": { "$ref": "string.json" } }, "type": "object" }, "http://localhost:1234/draft2019-09/nested/string.json": { "$schema": "https://json-schema.org/draft/2019-09/schema", "type": "string" }, "http://localhost:1234/draft2019-09/ref-and-defs.json": { "$defs": { "inner": { "properties": { "bar": { "type": "string" } } } }, "$id": "http://localhost:1234/draft2019-09/ref-and-defs.json", "$ref": "#/$defs/inner", "$schema": "https://json-schema.org/draft/2019-09/schema" }, "http://localhost:1234/draft2019-09/subSchemas.json": { "$defs": { "integer": { "type": "integer" }, "refToInteger": { "$ref": "#/$defs/integer" } }, "$schema": "https://json-schema.org/draft/2019-09/schema" }, "http://localhost:1234/draft2019-09/tree.json": { "$dynamicAnchor": "node", "$id": "http://localhost:1234/draft2019-09/tree.json", "$schema": "https://json-schema.org/draft/2019-09/schema", "description": "tree schema, extensible", "properties": { "children": { "items": { "$dynamicRef": "#node" }, "type": "array" }, "data": true }, "type": "object" }, "http://localhost:1234/draft2020-12/baseUriChange/folderInteger.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "integer" }, "http://localhost:1234/draft2020-12/baseUriChangeFolder/folderInteger.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "integer" }, "http://localhost:1234/draft2020-12/baseUriChangeFolderInSubschema/folderInteger.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "integer" }, "http://localhost:1234/draft2020-12/detached-dynamicref.json": { "$defs": { "detached": { "$dynamicAnchor": "detached", "type": "integer" }, "foo": { "$dynamicRef": "#detached" } }, "$id": "http://localhost:1234/draft2020-12/detached-dynamicref.json", "$schema": "https://json-schema.org/draft/2020-12/schema" }, "http://localhost:1234/draft2020-12/detached-ref.json": { "$defs": { "detached": { "$anchor": "detached", "type": "integer" }, "foo": { "$ref": "#detached" } }, "$id": "http://localhost:1234/draft2020-12/detached-ref.json", "$schema": "https://json-schema.org/draft/2020-12/schema" }, "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json": { "$defs": { "elements": { "$dynamicAnchor": "elements" } }, "$id": "http://localhost:1234/draft2020-12/extendible-dynamic-ref.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "additionalProperties": false, "description": "extendible array", "properties": { "elements": { "items": { "$dynamicRef": "#elements" }, "type": "array" } }, "required": [ "elements" ], "type": "object" }, "http://localhost:1234/draft2020-12/format-assertion-false.json": { "$id": "http://localhost:1234/draft2020-12/format-assertion-false.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/format-assertion": false }, "allOf": [ { "$ref": "https://json-schema.org/draft/2020-12/meta/core" }, { "$ref": "https://json-schema.org/draft/2020-12/meta/format-assertion" } ] }, "http://localhost:1234/draft2020-12/format-assertion-true.json": { "$id": "http://localhost:1234/draft2020-12/format-assertion-true.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/format-assertion": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/2020-12/meta/core" }, { "$ref": "https://json-schema.org/draft/2020-12/meta/format-assertion" } ] }, "http://localhost:1234/draft2020-12/integer.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "integer" }, "http://localhost:1234/draft2020-12/locationIndependentIdentifier.json": { "$defs": { "A": { "$anchor": "foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } }, "$schema": "https://json-schema.org/draft/2020-12/schema" }, "http://localhost:1234/draft2020-12/metaschema-no-validation.json": { "$id": "http://localhost:1234/draft2020-12/metaschema-no-validation.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "https://json-schema.org/draft/2020-12/vocab/applicator": true, "https://json-schema.org/draft/2020-12/vocab/core": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/2020-12/meta/applicator" }, { "$ref": "https://json-schema.org/draft/2020-12/meta/core" } ] }, "http://localhost:1234/draft2020-12/metaschema-optional-vocabulary.json": { "$id": "http://localhost:1234/draft2020-12/metaschema-optional-vocabulary.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "$vocabulary": { "http://localhost:1234/draft/2020-12/vocab/custom": false, "https://json-schema.org/draft/2020-12/vocab/core": true, "https://json-schema.org/draft/2020-12/vocab/validation": true }, "allOf": [ { "$ref": "https://json-schema.org/draft/2020-12/meta/validation" }, { "$ref": "https://json-schema.org/draft/2020-12/meta/core" } ] }, "http://localhost:1234/draft2020-12/name-defs.json": { "$defs": { "orNull": { "anyOf": [ { "type": "null" }, { "$ref": "#" } ] } }, "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "string" }, "http://localhost:1234/draft2020-12/nested/foo-ref-string.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "properties": { "foo": { "$ref": "string.json" } }, "type": "object" }, "http://localhost:1234/draft2020-12/nested/string.json": { "$schema": "https://json-schema.org/draft/2020-12/schema", "type": "string" }, "http://localhost:1234/draft2020-12/prefixItems.json": { "$id": "http://localhost:1234/draft2020-12/prefixItems.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "prefixItems": [ { "type": "string" } ] }, "http://localhost:1234/draft2020-12/ref-and-defs.json": { "$defs": { "inner": { "properties": { "bar": { "type": "string" } } } }, "$id": "http://localhost:1234/draft2020-12/ref-and-defs.json", "$ref": "#/$defs/inner", "$schema": "https://json-schema.org/draft/2020-12/schema" }, "http://localhost:1234/draft2020-12/subSchemas.json": { "$defs": { "integer": { "type": "integer" }, "refToInteger": { "$ref": "#/$defs/integer" } }, "$schema": "https://json-schema.org/draft/2020-12/schema" }, "http://localhost:1234/draft2020-12/tree.json": { "$dynamicAnchor": "node", "$id": "http://localhost:1234/draft2020-12/tree.json", "$schema": "https://json-schema.org/draft/2020-12/schema", "description": "tree schema, extensible", "properties": { "children": { "items": { "$dynamicRef": "#node" }, "type": "array" }, "data": true }, "type": "object" }, "http://localhost:1234/draft6/detached-ref.json": { "$id": "http://localhost:1234/draft6/detached-ref.json", "$schema": "http://json-schema.org/draft-06/schema#", "definitions": { "detached": { "$id": "#detached", "type": "integer" }, "foo": { "$ref": "#detached" } } }, "http://localhost:1234/draft7/detached-ref.json": { "$id": "http://localhost:1234/draft7/detached-ref.json", "$schema": "http://json-schema.org/draft-07/schema#", "definitions": { "detached": { "$id": "#detached", "type": "integer" }, "foo": { "$ref": "#detached" } } }, "http://localhost:1234/draft7/ignore-dependentRequired.json": { "$id": "http://localhost:1234/draft7/integer.json", "$schema": "http://json-schema.org/draft-07/schema#", "dependentRequired": { "foo": [ "bar" ] } }, "http://localhost:1234/extendible-dynamic-ref.json": { "$defs": { "elements": { "$dynamicAnchor": "elements" } }, "$id": "http://localhost:1234/extendible-dynamic-ref.json", "additionalProperties": false, "description": "extendible array", "properties": { "elements": { "items": { "$dynamicRef": "#elements" }, "type": "array" } }, "required": [ "elements" ], "type": "object" }, "http://localhost:1234/integer.json": { "type": "integer" }, "http://localhost:1234/locationIndependentIdentifier.json": { "$defs": { "A": { "$anchor": "foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } } }, "http://localhost:1234/locationIndependentIdentifierDraft4.json": { "definitions": { "A": { "id": "#foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } } }, "http://localhost:1234/locationIndependentIdentifierPre2019.json": { "definitions": { "A": { "$id": "#foo", "type": "integer" }, "refToInteger": { "$ref": "#foo" } } }, "http://localhost:1234/name-defs.json": { "$defs": { "orNull": { "anyOf": [ { "type": "null" }, { "$ref": "#" } ] } }, "type": "string" }, "http://localhost:1234/name.json": { "definitions": { "orNull": { "anyOf": [ { "type": "null" }, { "$ref": "#" } ] } }, "type": "string" }, "http://localhost:1234/nested-absolute-ref-to-string.json": { "$defs": { "bar": { "$id": "http://localhost:1234/the-nested-id.json", "type": "string" } }, "$ref": "http://localhost:1234/the-nested-id.json" }, "http://localhost:1234/nested/foo-ref-string.json": { "properties": { "foo": { "$ref": "string.json" } }, "type": "object" }, "http://localhost:1234/nested/string.json": { "type": "string" }, "http://localhost:1234/ref-and-definitions.json": { "$id": "http://localhost:1234/ref-and-definitions.json", "allOf": [ { "$ref": "#/definitions/inner" } ], "definitions": { "inner": { "properties": { "bar": { "type": "string" } } } } }, "http://localhost:1234/ref-and-defs.json": { "$defs": { "inner": { "properties": { "bar": { "type": "string" } } } }, "$id": "http://localhost:1234/ref-and-defs.json", "$ref": "#/$defs/inner" }, "http://localhost:1234/subSchemas.json": { "definitions": { "integer": { "type": "integer" }, "refToInteger": { "$ref": "#/definitions/integer" } } }, "http://localhost:1234/tree.json": { "$dynamicAnchor": "node", "$id": "http://localhost:1234/tree.json", "description": "tree schema, extensible", "properties": { "children": { "items": { "$dynamicRef": "#node" }, "type": "array" }, "data": true }, "type": "object" }, "http://localhost:1234/urn-ref-string.json": { "$defs": { "bar": { "type": "string" } }, "$id": "urn:uuid:feebdaed-ffff-0000-ffff-0000deadbeef", "$ref": "#/$defs/bar" } }