From 329cb95cca17a25e80bac1ad01958cd6893a7d34 Mon Sep 17 00:00:00 2001 From: VsevolodX <79542055+VsevolodX@users.noreply.github.com> Date: Wed, 22 May 2024 11:21:15 -0700 Subject: [PATCH] update: fix refs --- schema/material/interface.json | 8 ++++---- schema/material/slab.json | 4 ++-- schema/material/supercell.json | 4 ++-- 3 files changed, 8 insertions(+), 8 deletions(-) diff --git a/schema/material/interface.json b/schema/material/interface.json index f795fb4d..6cb863cc 100644 --- a/schema/material/interface.json +++ b/schema/material/interface.json @@ -5,7 +5,7 @@ "type": "object", "allOf": [ { - "$ref": "material" + "$ref": "../material.json" } ], "properties": { @@ -20,10 +20,10 @@ "type": "object", "properties": { "slab_config1": { - "$ref": "slab" + "$ref": "slab.json" }, "slab_config2": { - "$ref": "slab" + "$ref": "slab.json" } } }, @@ -57,7 +57,7 @@ }, "termination_pair": { "type": "string", - "description": "Pair of terminations at the interface." + "description": "Pair of terminations at the interface. Written as a tuple of two strings, e.g `('C_P6/mmm_2', 'Ni_R-3m_1')`" } } } diff --git a/schema/material/slab.json b/schema/material/slab.json index e9e16047..9ce8a3cc 100644 --- a/schema/material/slab.json +++ b/schema/material/slab.json @@ -5,7 +5,7 @@ "type": "object", "allOf": [ { - "$ref": "material" + "$ref": "../material.json" } ], "properties": { @@ -17,7 +17,7 @@ "enum": ["slab"] }, "source": { - "$ref": "material" + "$ref": "../material.json" }, "slab_parameters": { "type": "object", diff --git a/schema/material/supercell.json b/schema/material/supercell.json index d5f9c245..f7c06d52 100644 --- a/schema/material/supercell.json +++ b/schema/material/supercell.json @@ -5,7 +5,7 @@ "type": "object", "allOf": [ { - "$ref": "material" + "$ref": "../material.json" } ], "properties": { @@ -17,7 +17,7 @@ "enum": ["supercell"] }, "source": { - "$ref": "material" + "$ref": "../material.json" }, "supercell_parameters": { "type": "object",