From 6d9d8dca3fa977ad92f12096b9b347c0019db293 Mon Sep 17 00:00:00 2001
From: Felix Blanke <info@fblanke.de>
Date: Tue, 4 Mar 2025 14:32:51 +0100
Subject: [PATCH] Use suffix '.schema.json' consistently

---
 AKModel/tests/test_json_export.py                         | 2 +-
 schemas/{solver-input.json => solver-input.schema.json}   | 0
 schemas/{solver-output.json => solver-output.schema.json} | 0
 3 files changed, 1 insertion(+), 1 deletion(-)
 rename schemas/{solver-input.json => solver-input.schema.json} (100%)
 rename schemas/{solver-output.json => solver-output.schema.json} (100%)

diff --git a/AKModel/tests/test_json_export.py b/AKModel/tests/test_json_export.py
index aa2da3e..dfcdc58 100644
--- a/AKModel/tests/test_json_export.py
+++ b/AKModel/tests/test_json_export.py
@@ -47,7 +47,7 @@ class JSONExportTest(TestCase):
                 res = Resource.from_contents(json.load(ff))
             resources.append((res.id(), res))
         registry = Registry().with_resources(resources)
-        with (schema_base_path / "solver-input.json").open("r") as ff:
+        with (schema_base_path / "solver-input.schema.json").open("r") as ff:
             schema = json.load(ff)
         cls.json_export_validator = Draft202012Validator(
             schema=schema, registry=registry
diff --git a/schemas/solver-input.json b/schemas/solver-input.schema.json
similarity index 100%
rename from schemas/solver-input.json
rename to schemas/solver-input.schema.json
diff --git a/schemas/solver-output.json b/schemas/solver-output.schema.json
similarity index 100%
rename from schemas/solver-output.json
rename to schemas/solver-output.schema.json
-- 
GitLab