From e41ec0eccb958b312118e4ae9c01b9711efa1665 Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Mon, 23 Oct 2023 15:00:43 -0700 Subject: [PATCH 1/2] remove unused definition files --- remotes/draft-next/subSchemas.json | 11 ----------- remotes/draft2019-09/subSchemas.json | 11 ----------- remotes/draft2020-12/subSchemas.json | 11 ----------- remotes/subSchemas-defs.json | 10 ---------- 4 files changed, 43 deletions(-) delete mode 100644 remotes/draft-next/subSchemas.json delete mode 100644 remotes/draft2019-09/subSchemas.json delete mode 100644 remotes/draft2020-12/subSchemas.json delete mode 100644 remotes/subSchemas-defs.json diff --git a/remotes/draft-next/subSchemas.json b/remotes/draft-next/subSchemas.json deleted file mode 100644 index 75b7583c..00000000 --- a/remotes/draft-next/subSchemas.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/next/schema", - "$defs": { - "integer": { - "type": "integer" - }, - "refToInteger": { - "$ref": "#/$defs/integer" - } - } -} diff --git a/remotes/draft2019-09/subSchemas.json b/remotes/draft2019-09/subSchemas.json deleted file mode 100644 index fdfee68d..00000000 --- a/remotes/draft2019-09/subSchemas.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2019-09/schema", - "$defs": { - "integer": { - "type": "integer" - }, - "refToInteger": { - "$ref": "#/$defs/integer" - } - } -} diff --git a/remotes/draft2020-12/subSchemas.json b/remotes/draft2020-12/subSchemas.json deleted file mode 100644 index 1bb4846d..00000000 --- a/remotes/draft2020-12/subSchemas.json +++ /dev/null @@ -1,11 +0,0 @@ -{ - "$schema": "https://json-schema.org/draft/2020-12/schema", - "$defs": { - "integer": { - "type": "integer" - }, - "refToInteger": { - "$ref": "#/$defs/integer" - } - } -} diff --git a/remotes/subSchemas-defs.json b/remotes/subSchemas-defs.json deleted file mode 100644 index 50b7b6dc..00000000 --- a/remotes/subSchemas-defs.json +++ /dev/null @@ -1,10 +0,0 @@ -{ - "$defs": { - "integer": { - "type": "integer" - }, - "refToInteger": { - "$ref": "#/$defs/integer" - } - } -} From 7b9f45c2e09609d704a3b8d89e8a79e3e5311b5e Mon Sep 17 00:00:00 2001 From: Karen Etheridge Date: Mon, 23 Oct 2023 15:02:33 -0700 Subject: [PATCH 2/2] move subSchemas-defs.json to subSchemas.json --- remotes/draft-next/{subSchemas-defs.json => subSchemas.json} | 0 .../draft2019-09/{subSchemas-defs.json => subSchemas.json} | 0 .../draft2020-12/{subSchemas-defs.json => subSchemas.json} | 0 tests/draft-next/refRemote.json | 4 ++-- tests/draft2019-09/refRemote.json | 4 ++-- tests/draft2020-12/refRemote.json | 4 ++-- 6 files changed, 6 insertions(+), 6 deletions(-) rename remotes/draft-next/{subSchemas-defs.json => subSchemas.json} (100%) rename remotes/draft2019-09/{subSchemas-defs.json => subSchemas.json} (100%) rename remotes/draft2020-12/{subSchemas-defs.json => subSchemas.json} (100%) diff --git a/remotes/draft-next/subSchemas-defs.json b/remotes/draft-next/subSchemas.json similarity index 100% rename from remotes/draft-next/subSchemas-defs.json rename to remotes/draft-next/subSchemas.json diff --git a/remotes/draft2019-09/subSchemas-defs.json b/remotes/draft2019-09/subSchemas.json similarity index 100% rename from remotes/draft2019-09/subSchemas-defs.json rename to remotes/draft2019-09/subSchemas.json diff --git a/remotes/draft2020-12/subSchemas-defs.json b/remotes/draft2020-12/subSchemas.json similarity index 100% rename from remotes/draft2020-12/subSchemas-defs.json rename to remotes/draft2020-12/subSchemas.json diff --git a/tests/draft-next/refRemote.json b/tests/draft-next/refRemote.json index 6b7b7900..647fb9f1 100644 --- a/tests/draft-next/refRemote.json +++ b/tests/draft-next/refRemote.json @@ -22,7 +22,7 @@ "description": "fragment within remote ref", "schema": { "$schema": "https://json-schema.org/draft/next/schema", - "$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/integer" + "$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/integer" }, "tests": [ { @@ -60,7 +60,7 @@ "description": "ref within remote ref", "schema": { "$schema": "https://json-schema.org/draft/next/schema", - "$ref": "http://localhost:1234/draft-next/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft-next/subSchemas.json#/$defs/refToInteger" }, "tests": [ { diff --git a/tests/draft2019-09/refRemote.json b/tests/draft2019-09/refRemote.json index e1ba40ab..072894cf 100644 --- a/tests/draft2019-09/refRemote.json +++ b/tests/draft2019-09/refRemote.json @@ -22,7 +22,7 @@ "description": "fragment within remote ref", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/integer" + "$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/integer" }, "tests": [ { @@ -60,7 +60,7 @@ "description": "ref within remote ref", "schema": { "$schema": "https://json-schema.org/draft/2019-09/schema", - "$ref": "http://localhost:1234/draft2019-09/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft2019-09/subSchemas.json#/$defs/refToInteger" }, "tests": [ { diff --git a/tests/draft2020-12/refRemote.json b/tests/draft2020-12/refRemote.json index 176eb2f5..047ac74c 100644 --- a/tests/draft2020-12/refRemote.json +++ b/tests/draft2020-12/refRemote.json @@ -22,7 +22,7 @@ "description": "fragment within remote ref", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/integer" + "$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/integer" }, "tests": [ { @@ -60,7 +60,7 @@ "description": "ref within remote ref", "schema": { "$schema": "https://json-schema.org/draft/2020-12/schema", - "$ref": "http://localhost:1234/draft2020-12/subSchemas-defs.json#/$defs/refToInteger" + "$ref": "http://localhost:1234/draft2020-12/subSchemas.json#/$defs/refToInteger" }, "tests": [ {