Skip to content

Commit

Permalink
Remove $vocabulary from vocab meta-schemas
Browse files Browse the repository at this point in the history
  • Loading branch information
davishmcclurg committed Nov 15, 2023
1 parent f0ee4e3 commit 2c1be1d
Show file tree
Hide file tree
Showing 4 changed files with 0 additions and 129 deletions.
18 changes: 0 additions & 18 deletions lib/json_schemer/draft201909/meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -51,9 +51,6 @@ module Meta
CORE = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/core',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/core' => true
},
'$recursiveAnchor' => true,
'title' => 'Core vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand Down Expand Up @@ -108,9 +105,6 @@ module Meta
APPLICATOR = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/applicator',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/applicator' => true
},
'$recursiveAnchor' => true,
'title' => 'Applicator vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand Down Expand Up @@ -164,9 +158,6 @@ module Meta
VALIDATION = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/validation',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/validation' => true
},
'$recursiveAnchor' => true,
'title' => 'Validation vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand Down Expand Up @@ -262,9 +253,6 @@ module Meta
META_DATA = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/meta-data',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/meta-data' => true
},
'$recursiveAnchor' => true,
'title' => 'Meta-data vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand Down Expand Up @@ -298,9 +286,6 @@ module Meta
FORMAT = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/format',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/format' => true
},
'$recursiveAnchor' => true,
'title' => 'Format vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand All @@ -312,9 +297,6 @@ module Meta
CONTENT = {
'$schema' => 'https://json-schema.org/draft/2019-09/schema',
'$id' => 'https://json-schema.org/draft/2019-09/meta/content',
'$vocabulary' => {
'https://json-schema.org/draft/2019-09/vocab/content' => true
},
'$recursiveAnchor' => true,
'title' => 'Content vocabulary meta-schema',
'type' => ['object', 'boolean'],
Expand Down
24 changes: 0 additions & 24 deletions lib/json_schemer/draft202012/meta.rb
Original file line number Diff line number Diff line change
Expand Up @@ -91,9 +91,6 @@ module Meta
CORE = {
'$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'],
Expand Down Expand Up @@ -141,9 +138,6 @@ module Meta
APPLICATOR = {
'$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'],
Expand Down Expand Up @@ -188,9 +182,6 @@ module Meta
UNEVALUATED = {
'$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'],
Expand All @@ -202,9 +193,6 @@ module Meta
VALIDATION = {
'$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'],
Expand Down Expand Up @@ -299,9 +287,6 @@ module Meta
META_DATA = {
'$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'],
Expand Down Expand Up @@ -334,9 +319,6 @@ module Meta
FORMAT_ANNOTATION = {
'$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'],
Expand All @@ -347,9 +329,6 @@ module Meta
FORMAT_ASSERTION = {
'$schema' => 'https://json-schema.org/draft/2020-12/schema',
'$id' => 'https://json-schema.org/draft/2020-12/meta/format-assertion',
'$vocabulary' => {
'https://json-schema.org/draft/2020-12/vocab/format-assertion' => true
},
'$dynamicAnchor' => 'meta',
'title' => 'Format vocabulary meta-schema for assertion results',
'type' => ['object', 'boolean'],
Expand All @@ -360,9 +339,6 @@ module Meta
CONTENT = {
'$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'],
Expand Down
42 changes: 0 additions & 42 deletions test/fixtures/draft2019-09.json
Original file line number Diff line number Diff line change
Expand Up @@ -1691,9 +1691,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -1765,9 +1762,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -1839,9 +1833,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -3459,9 +3450,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/validation",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/validation": true
},
"$recursiveAnchor": true,
"title": "Validation vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -3597,9 +3585,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/validation",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/validation": true
},
"$recursiveAnchor": true,
"title": "Validation vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5316,9 +5301,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5392,9 +5374,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5468,9 +5447,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5544,9 +5520,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5620,9 +5593,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5696,9 +5666,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -5772,9 +5739,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -18218,9 +18182,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/validation",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/validation": true
},
"$recursiveAnchor": true,
"title": "Validation vocabulary meta-schema",
"type": [
Expand Down Expand Up @@ -19023,9 +18984,6 @@
"root_schema": {
"$schema": "https://json-schema.org/draft/2019-09/schema",
"$id": "https://json-schema.org/draft/2019-09/meta/core",
"$vocabulary": {
"https://json-schema.org/draft/2019-09/vocab/core": true
},
"$recursiveAnchor": true,
"title": "Core vocabulary meta-schema",
"type": [
Expand Down

0 comments on commit 2c1be1d

Please sign in to comment.