Skip to content

Commit

Permalink
schemas/json/base: fix invalid references (#4064)
Browse files Browse the repository at this point in the history
These references cannot resolve correctly, so fix them so they do.

Fixes #4063
  • Loading branch information
rogpeppe committed Sep 11, 2024
1 parent 5a65f8b commit 290b4e7
Show file tree
Hide file tree
Showing 2 changed files with 8 additions and 8 deletions.
8 changes: 4 additions & 4 deletions src/schemas/json/base-04.json
Original file line number Diff line number Diff line change
Expand Up @@ -34,7 +34,7 @@
"id": "nullable-path",
"oneOf": [
{
"$ref": "#/definitions/path"
"$ref": "path"
},
{
"type": "null"
Expand All @@ -55,7 +55,7 @@
"id": "nullable-editor",
"oneOf": [
{
"$ref": "#/definitions/editor"
"$ref": "editor"
},
{
"type": "null"
Expand All @@ -65,7 +65,7 @@
"license": {
"anyOf": [
{
"$ref": "https://json.schemastore.org/base-04.json#/definitions/osi-license"
"$ref": "osi-license"
},
{
"type": "string"
Expand Down Expand Up @@ -814,7 +814,7 @@
"id": "nullable-timezone",
"oneOf": [
{
"$ref": "#/definitions/timezone"
"$ref": "timezone"
},
{
"type": "null"
Expand Down
8 changes: 4 additions & 4 deletions src/schemas/json/base.json
Original file line number Diff line number Diff line change
Expand Up @@ -35,7 +35,7 @@
"$id": "nullable-path",
"oneOf": [
{
"$ref": "#/definitions/path"
"$ref": "path"
},
{
"type": "null"
Expand All @@ -56,7 +56,7 @@
"$id": "nullable-editor",
"oneOf": [
{
"$ref": "#/definitions/editor"
"$ref": "editor"
},
{
"type": "null"
Expand All @@ -67,7 +67,7 @@
"$id": "license",
"anyOf": [
{
"$ref": "https://json.schemastore.org/base.json#/definitions/osi-license"
"$ref": "osi-license"
},
{
"type": "string"
Expand Down Expand Up @@ -817,7 +817,7 @@
"$id": "nullable-timezone",
"oneOf": [
{
"$ref": "#/definitions/timezone"
"$ref": "timezone"
},
{
"type": "null"
Expand Down

0 comments on commit 290b4e7

Please sign in to comment.