From 6545cdee3ded03f5c6751c161e88a77a77df85cf Mon Sep 17 00:00:00 2001 From: Alexander Zech Date: Tue, 5 Sep 2023 19:43:49 -0700 Subject: [PATCH] chore: add required keys to methods --- schema/methods_directory/mathematical/cg.json | 3 ++- schema/methods_directory/mathematical/davidson.json | 3 ++- schema/methods_directory/mathematical/regression.json | 1 + schema/methods_directory/physical/ao/dunning.json | 1 + schema/methods_directory/physical/ao/other.json | 1 + schema/methods_directory/physical/ao/pople.json | 1 + schema/methods_directory/physical/psp.json | 3 ++- schema/methods_directory/physical/pw.json | 3 ++- schema/methods_directory/physical/smearing.json | 3 ++- schema/methods_directory/physical/tetrahedron.json | 3 ++- 10 files changed, 16 insertions(+), 6 deletions(-) diff --git a/schema/methods_directory/mathematical/cg.json b/schema/methods_directory/mathematical/cg.json index 6e817b347..e7ba26a05 100644 --- a/schema/methods_directory/mathematical/cg.json +++ b/schema/methods_directory/mathematical/cg.json @@ -11,5 +11,6 @@ "categories": { "$ref": "../../methods_category/mathematical/opt/diff/ordern/cg.json" } - } + }, + "required": ["categories"] } diff --git a/schema/methods_directory/mathematical/davidson.json b/schema/methods_directory/mathematical/davidson.json index 9eef262bc..490563d34 100644 --- a/schema/methods_directory/mathematical/davidson.json +++ b/schema/methods_directory/mathematical/davidson.json @@ -11,5 +11,6 @@ "categories": { "$ref": "../../methods_category/mathematical/linalg/diag/davidson.json" } - } + }, + "required": ["categories"] } diff --git a/schema/methods_directory/mathematical/regression.json b/schema/methods_directory/mathematical/regression.json index 407491c57..e69595ade 100644 --- a/schema/methods_directory/mathematical/regression.json +++ b/schema/methods_directory/mathematical/regression.json @@ -19,6 +19,7 @@ } }, "required": [ + "categories", "precision", "data" ] diff --git a/schema/methods_directory/physical/ao/dunning.json b/schema/methods_directory/physical/ao/dunning.json index 629957a6d..e704a30e7 100644 --- a/schema/methods_directory/physical/ao/dunning.json +++ b/schema/methods_directory/physical/ao/dunning.json @@ -19,6 +19,7 @@ ] } }, + "required": ["categories"], "definitions": { "ao-basis-dunning": { "properties": { diff --git a/schema/methods_directory/physical/ao/other.json b/schema/methods_directory/physical/ao/other.json index 9cdfc35c7..15d4cf4c2 100644 --- a/schema/methods_directory/physical/ao/other.json +++ b/schema/methods_directory/physical/ao/other.json @@ -19,6 +19,7 @@ ] } }, + "required": ["categories"], "definitions": { "ao-basis-other": { "properties": { diff --git a/schema/methods_directory/physical/ao/pople.json b/schema/methods_directory/physical/ao/pople.json index 43aa0419d..5a6bd7b58 100644 --- a/schema/methods_directory/physical/ao/pople.json +++ b/schema/methods_directory/physical/ao/pople.json @@ -19,6 +19,7 @@ ] } }, + "required": ["categories"], "definitions": { "ao-basis-pople": { "properties": { diff --git a/schema/methods_directory/physical/psp.json b/schema/methods_directory/physical/psp.json index 54d3e517d..7d1d0db38 100644 --- a/schema/methods_directory/physical/psp.json +++ b/schema/methods_directory/physical/psp.json @@ -24,5 +24,6 @@ } } } - } + }, + "required": ["categories"] } diff --git a/schema/methods_directory/physical/pw.json b/schema/methods_directory/physical/pw.json index 99c33b9a1..e136cf6db 100644 --- a/schema/methods_directory/physical/pw.json +++ b/schema/methods_directory/physical/pw.json @@ -12,5 +12,6 @@ "categories": { "$ref": "../../methods_category/physical/qm/wf/pw.json" } - } + }, + "required": ["categories"] } diff --git a/schema/methods_directory/physical/smearing.json b/schema/methods_directory/physical/smearing.json index afdc6a5d7..099c2671a 100644 --- a/schema/methods_directory/physical/smearing.json +++ b/schema/methods_directory/physical/smearing.json @@ -12,5 +12,6 @@ "categories": { "$ref": "../../methods_category/physical/qm/wf/smearing.json" } - } + }, + "required": ["categories"] } diff --git a/schema/methods_directory/physical/tetrahedron.json b/schema/methods_directory/physical/tetrahedron.json index d116efb8f..0b9ee97d4 100644 --- a/schema/methods_directory/physical/tetrahedron.json +++ b/schema/methods_directory/physical/tetrahedron.json @@ -11,5 +11,6 @@ "categories": { "$ref": "../../methods_category/physical/qm/wf/tetrahedron.json" } - } + }, + "required": ["categories"] }