aboutsummaryrefslogtreecommitdiff
path: root/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12
diff options
context:
space:
mode:
Diffstat (limited to 'sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12')
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts30
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json48
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json17
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json51
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json14
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json37
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json15
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json90
-rw-r--r--sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json55
9 files changed, 0 insertions, 357 deletions
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts
deleted file mode 100644
index 8e850d08..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/index.ts
+++ /dev/null
@@ -1,30 +0,0 @@
-import type Ajv from "../../core"
-import type {AnySchemaObject} from "../../types"
-import * as metaSchema from "./schema.json"
-import * as applicator from "./meta/applicator.json"
-import * as unevaluated from "./meta/unevaluated.json"
-import * as content from "./meta/content.json"
-import * as core from "./meta/core.json"
-import * as format from "./meta/format-annotation.json"
-import * as metadata from "./meta/meta-data.json"
-import * as validation from "./meta/validation.json"
-
-const META_SUPPORT_DATA = ["/properties"]
-
-export default function addMetaSchema2020(this: Ajv, $data?: boolean): Ajv {
- ;[
- metaSchema,
- applicator,
- unevaluated,
- content,
- core,
- with$data(this, format),
- metadata,
- with$data(this, validation),
- ].forEach((sch) => this.addMetaSchema(sch, undefined, false))
- return this
-
- function with$data(ajv: Ajv, sch: AnySchemaObject): AnySchemaObject {
- return $data ? ajv.$dataMetaSchema(sch, META_SUPPORT_DATA) : sch
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json
deleted file mode 100644
index 674c913d..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/applicator.json
+++ /dev/null
@@ -1,48 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/applicator",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/applicator": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "prefixItems": {"$ref": "#/$defs/schemaArray"},
- "items": {"$dynamicRef": "#meta"},
- "contains": {"$dynamicRef": "#meta"},
- "additionalProperties": {"$dynamicRef": "#meta"},
- "properties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "patternProperties": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "propertyNames": {"format": "regex"},
- "default": {}
- },
- "dependentSchemas": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "default": {}
- },
- "propertyNames": {"$dynamicRef": "#meta"},
- "if": {"$dynamicRef": "#meta"},
- "then": {"$dynamicRef": "#meta"},
- "else": {"$dynamicRef": "#meta"},
- "allOf": {"$ref": "#/$defs/schemaArray"},
- "anyOf": {"$ref": "#/$defs/schemaArray"},
- "oneOf": {"$ref": "#/$defs/schemaArray"},
- "not": {"$dynamicRef": "#meta"}
- },
- "$defs": {
- "schemaArray": {
- "type": "array",
- "minItems": 1,
- "items": {"$dynamicRef": "#meta"}
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json
deleted file mode 100644
index 2ae23ddb..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/content.json
+++ /dev/null
@@ -1,17 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/content",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Content vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "contentEncoding": {"type": "string"},
- "contentMediaType": {"type": "string"},
- "contentSchema": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json
deleted file mode 100644
index 4c8e5cb6..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/core.json
+++ /dev/null
@@ -1,51 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/core",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/core": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "$id": {
- "$ref": "#/$defs/uriReferenceString",
- "$comment": "Non-empty fragments not allowed.",
- "pattern": "^[^#]*#?$"
- },
- "$schema": {"$ref": "#/$defs/uriString"},
- "$ref": {"$ref": "#/$defs/uriReferenceString"},
- "$anchor": {"$ref": "#/$defs/anchorString"},
- "$dynamicRef": {"$ref": "#/$defs/uriReferenceString"},
- "$dynamicAnchor": {"$ref": "#/$defs/anchorString"},
- "$vocabulary": {
- "type": "object",
- "propertyNames": {"$ref": "#/$defs/uriString"},
- "additionalProperties": {
- "type": "boolean"
- }
- },
- "$comment": {
- "type": "string"
- },
- "$defs": {
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"}
- }
- },
- "$defs": {
- "anchorString": {
- "type": "string",
- "pattern": "^[A-Za-z_][-A-Za-z0-9._]*$"
- },
- "uriString": {
- "type": "string",
- "format": "uri"
- },
- "uriReferenceString": {
- "type": "string",
- "format": "uri-reference"
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json
deleted file mode 100644
index 83c26e35..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/format-annotation.json
+++ /dev/null
@@ -1,14 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/format-annotation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Format vocabulary meta-schema for annotation results",
- "type": ["object", "boolean"],
- "properties": {
- "format": {"type": "string"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json
deleted file mode 100644
index 11946fb5..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/meta-data.json
+++ /dev/null
@@ -1,37 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/meta-data",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Meta-data vocabulary meta-schema",
-
- "type": ["object", "boolean"],
- "properties": {
- "title": {
- "type": "string"
- },
- "description": {
- "type": "string"
- },
- "default": true,
- "deprecated": {
- "type": "boolean",
- "default": false
- },
- "readOnly": {
- "type": "boolean",
- "default": false
- },
- "writeOnly": {
- "type": "boolean",
- "default": false
- },
- "examples": {
- "type": "array",
- "items": true
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json
deleted file mode 100644
index 5e4b203b..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/unevaluated.json
+++ /dev/null
@@ -1,15 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/unevaluated",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Unevaluated applicator vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "unevaluatedItems": {"$dynamicRef": "#meta"},
- "unevaluatedProperties": {"$dynamicRef": "#meta"}
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json
deleted file mode 100644
index e0ae13d9..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/meta/validation.json
+++ /dev/null
@@ -1,90 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "https://json-schema.org/draft/2020-12/meta/validation",
- "$vocabulary": {
- "https://json-schema.org/draft/2020-12/vocab/validation": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Validation vocabulary meta-schema",
- "type": ["object", "boolean"],
- "properties": {
- "type": {
- "anyOf": [
- {"$ref": "#/$defs/simpleTypes"},
- {
- "type": "array",
- "items": {"$ref": "#/$defs/simpleTypes"},
- "minItems": 1,
- "uniqueItems": true
- }
- ]
- },
- "const": true,
- "enum": {
- "type": "array",
- "items": true
- },
- "multipleOf": {
- "type": "number",
- "exclusiveMinimum": 0
- },
- "maximum": {
- "type": "number"
- },
- "exclusiveMaximum": {
- "type": "number"
- },
- "minimum": {
- "type": "number"
- },
- "exclusiveMinimum": {
- "type": "number"
- },
- "maxLength": {"$ref": "#/$defs/nonNegativeInteger"},
- "minLength": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "pattern": {
- "type": "string",
- "format": "regex"
- },
- "maxItems": {"$ref": "#/$defs/nonNegativeInteger"},
- "minItems": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "uniqueItems": {
- "type": "boolean",
- "default": false
- },
- "maxContains": {"$ref": "#/$defs/nonNegativeInteger"},
- "minContains": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 1
- },
- "maxProperties": {"$ref": "#/$defs/nonNegativeInteger"},
- "minProperties": {"$ref": "#/$defs/nonNegativeIntegerDefault0"},
- "required": {"$ref": "#/$defs/stringArray"},
- "dependentRequired": {
- "type": "object",
- "additionalProperties": {
- "$ref": "#/$defs/stringArray"
- }
- }
- },
- "$defs": {
- "nonNegativeInteger": {
- "type": "integer",
- "minimum": 0
- },
- "nonNegativeIntegerDefault0": {
- "$ref": "#/$defs/nonNegativeInteger",
- "default": 0
- },
- "simpleTypes": {
- "enum": ["array", "boolean", "integer", "null", "number", "object", "string"]
- },
- "stringArray": {
- "type": "array",
- "items": {"type": "string"},
- "uniqueItems": true,
- "default": []
- }
- }
-}
diff --git a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json b/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json
deleted file mode 100644
index 1c68270f..00000000
--- a/sandbox/testAppNevena/Front/node_modules/ajv/lib/refs/json-schema-2020-12/schema.json
+++ /dev/null
@@ -1,55 +0,0 @@
-{
- "$schema": "https://json-schema.org/draft/2020-12/schema",
- "$id": "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/applicator": true,
- "https://json-schema.org/draft/2020-12/vocab/unevaluated": true,
- "https://json-schema.org/draft/2020-12/vocab/validation": true,
- "https://json-schema.org/draft/2020-12/vocab/meta-data": true,
- "https://json-schema.org/draft/2020-12/vocab/format-annotation": true,
- "https://json-schema.org/draft/2020-12/vocab/content": true
- },
- "$dynamicAnchor": "meta",
-
- "title": "Core and Validation specifications meta-schema",
- "allOf": [
- {"$ref": "meta/core"},
- {"$ref": "meta/applicator"},
- {"$ref": "meta/unevaluated"},
- {"$ref": "meta/validation"},
- {"$ref": "meta/meta-data"},
- {"$ref": "meta/format-annotation"},
- {"$ref": "meta/content"}
- ],
- "type": ["object", "boolean"],
- "$comment": "This meta-schema also defines keywords that have appeared in previous drafts in order to prevent incompatible extensions as they remain in common use.",
- "properties": {
- "definitions": {
- "$comment": "\"definitions\" has been replaced by \"$defs\".",
- "type": "object",
- "additionalProperties": {"$dynamicRef": "#meta"},
- "deprecated": true,
- "default": {}
- },
- "dependencies": {
- "$comment": "\"dependencies\" has been split and replaced by \"dependentSchemas\" and \"dependentRequired\" in order to serve their differing semantics.",
- "type": "object",
- "additionalProperties": {
- "anyOf": [{"$dynamicRef": "#meta"}, {"$ref": "meta/validation#/$defs/stringArray"}]
- },
- "deprecated": true,
- "default": {}
- },
- "$recursiveAnchor": {
- "$comment": "\"$recursiveAnchor\" has been replaced by \"$dynamicAnchor\".",
- "$ref": "meta/core#/$defs/anchorString",
- "deprecated": true
- },
- "$recursiveRef": {
- "$comment": "\"$recursiveRef\" has been replaced by \"$dynamicRef\".",
- "$ref": "meta/core#/$defs/uriReferenceString",
- "deprecated": true
- }
- }
-}