aboutsummaryrefslogtreecommitdiff
path: root/src_py/hatter/common.py
diff options
context:
space:
mode:
Diffstat (limited to 'src_py/hatter/common.py')
-rw-r--r--src_py/hatter/common.py10
1 files changed, 10 insertions, 0 deletions
diff --git a/src_py/hatter/common.py b/src_py/hatter/common.py
new file mode 100644
index 0000000..cf99bb9
--- /dev/null
+++ b/src_py/hatter/common.py
@@ -0,0 +1,10 @@
+from pathlib import Path
+
+from hat import json
+
+
+package_path: Path = Path(__file__).parent
+
+json_schema_repo: json.SchemaRepository = json.SchemaRepository(
+ json.json_schema_repo,
+ json.SchemaRepository.from_json(package_path / 'json_schema_repo.json'))