diff options
author | Julian Berman <Julian@GrayVines.com> | 2021-09-29 18:59:03 -0400 |
---|---|---|
committer | Julian Berman <Julian@GrayVines.com> | 2021-09-29 18:59:03 -0400 |
commit | 38b4c603a0f232ddbf94f9129263a1d1ff45ddae (patch) | |
tree | df551f89f44773a7c8c885a3905b6994350850cc /jsonschema/schemas/draft2020-12/applicator.json | |
parent | 1790fcc12678ed2281e7bf2106c8de7d4cc0523f (diff) | |
download | jsonschema-38b4c603a0f232ddbf94f9129263a1d1ff45ddae.tar.gz |
Remove the added argument to jsonschema.validators.create. julian@Airm ●
We need a better public API for vocabularies, and this unfortunately
won't cut it.
For now this is dirty, but works to load all vocabularies (which
are just concatenated together).
The reason this is needed is because I don't see a PEP302-compliant
way to load a whole directory using the importlib.resources APIs
(which call directories 'packages') -- and doing so manually would
break importing jsonschema via a zip file, which is something
historically that users were doing.
Diffstat (limited to 'jsonschema/schemas/draft2020-12/applicator.json')
-rw-r--r-- | jsonschema/schemas/draft2020-12/applicator.json | 48 |
1 files changed, 0 insertions, 48 deletions
diff --git a/jsonschema/schemas/draft2020-12/applicator.json b/jsonschema/schemas/draft2020-12/applicator.json deleted file mode 100644 index ca69923..0000000 --- a/jsonschema/schemas/draft2020-12/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" } - } - } -} |