From fbe047e422c04df1b970d569cc3859ecc914df89 Mon Sep 17 00:00:00 2001
From: Felix Blanke <info@fblanke.de>
Date: Tue, 4 Mar 2025 01:06:25 +0100
Subject: [PATCH] Change URIs

---
 static_common/common/schemas/ak.schema.json          |  2 +-
 static_common/common/schemas/participant.schema.json |  2 +-
 static_common/common/schemas/room.schema.json        |  2 +-
 static_common/common/schemas/solver-input.json       | 10 +++++-----
 static_common/common/schemas/solver-output.json      |  4 ++--
 static_common/common/schemas/timeslot.schema.json    |  2 +-
 6 files changed, 11 insertions(+), 11 deletions(-)

diff --git a/static_common/common/schemas/ak.schema.json b/static_common/common/schemas/ak.schema.json
index c9865d01..c2356010 100644
--- a/static_common/common/schemas/ak.schema.json
+++ b/static_common/common/schemas/ak.schema.json
@@ -1,6 +1,6 @@
 {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/ak.schema.json",
+  "$id": "/schema/ak.schema.json",
   "title": "AK",
   "type": "object",
   "properties": {
diff --git a/static_common/common/schemas/participant.schema.json b/static_common/common/schemas/participant.schema.json
index 66425c99..09775329 100644
--- a/static_common/common/schemas/participant.schema.json
+++ b/static_common/common/schemas/participant.schema.json
@@ -1,6 +1,6 @@
 {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/participant.schema.json",
+  "$id": "/schema/participant.schema.json",
   "title": "Participant",
   "type": "object",
   "properties": {
diff --git a/static_common/common/schemas/room.schema.json b/static_common/common/schemas/room.schema.json
index 53f8b5a9..da192a0e 100644
--- a/static_common/common/schemas/room.schema.json
+++ b/static_common/common/schemas/room.schema.json
@@ -1,6 +1,6 @@
 {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/room.schema.json",
+  "$id": "/schema/room.schema.json",
   "title": "Room",
   "type": "object",
   "properties": {
diff --git a/static_common/common/schemas/solver-input.json b/static_common/common/schemas/solver-input.json
index f57eb928..afd8f412 100644
--- a/static_common/common/schemas/solver-input.json
+++ b/static_common/common/schemas/solver-input.json
@@ -1,12 +1,12 @@
 {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/solver-input.schema.json",
+  "$id": "/schema/solver-input.schema.json",
   "type": "object",
   "properties": {
-      "aks": {"$ref": "schema/ak.schema.json"},
-      "rooms": {"$ref": "schema/room.schema.json"},
-      "participants": {"$ref": "schema/participant.schema.json"},
-      "timeslots": {"$ref": "schema/timeslot.schema.json"},
+      "aks": {"$ref": "/schema/ak.schema.json"},
+      "rooms": {"$ref": "/schema/room.schema.json"},
+      "participants": {"$ref": "/schema/participant.schema.json"},
+      "timeslots": {"$ref": "/schema/timeslot.schema.json"},
       "info": {
         "type": "object",
         "properties": {
diff --git a/static_common/common/schemas/solver-output.json b/static_common/common/schemas/solver-output.json
index 10d341e8..20f09176 100644
--- a/static_common/common/schemas/solver-output.json
+++ b/static_common/common/schemas/solver-output.json
@@ -1,9 +1,9 @@
 {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/solver-output.schema.json",
+  "$id": "/schema/solver-output.schema.json",
   "type": "object",
   "properties": {
-    "input": {"$ref": "schema/solver-input.schema.json"},
+    "input": {"$ref": "/schema/solver-input.schema.json"},
     "scheduled_aks": {
       "type": "array",
       "items": {
diff --git a/static_common/common/schemas/timeslot.schema.json b/static_common/common/schemas/timeslot.schema.json
index 8693ecdd..6f8333e9 100644
--- a/static_common/common/schemas/timeslot.schema.json
+++ b/static_common/common/schemas/timeslot.schema.json
@@ -1,6 +1,6 @@
  {
   "$schema": "https://json-schema.org/draft/2020-12/schema",
-  "$id": "https://example.com/schema/timeslot.schema.json",
+  "$id": "/schema/timeslot.schema.json",
   "title": "Timeslot",
   "type": "object",
   "required": ["info", "blocks"],
-- 
GitLab