From 2ae1cd0cc8fa1ba6f059715435cd56c244658a7e Mon Sep 17 00:00:00 2001 From: Alexander Zech Date: Tue, 5 Sep 2023 12:19:46 -0700 Subject: [PATCH] chore: add method parameter schema --- example/method/method_parameters.json | 3 +++ schema/method/method_parameters.json | 20 ++++++++++++++++++++ 2 files changed, 23 insertions(+) create mode 100644 example/method/method_parameters.json create mode 100644 schema/method/method_parameters.json diff --git a/example/method/method_parameters.json b/example/method/method_parameters.json new file mode 100644 index 000000000..fbbd736b2 --- /dev/null +++ b/example/method/method_parameters.json @@ -0,0 +1,3 @@ +{ + "basisSlug": "6-311G" +} diff --git a/schema/method/method_parameters.json b/schema/method/method_parameters.json new file mode 100644 index 000000000..27fad6621 --- /dev/null +++ b/schema/method/method_parameters.json @@ -0,0 +1,20 @@ +{ + "$id": "method/method-parameters", + "$schema": "http://json-schema.org/draft-04/schema#", + "title": "MethodParameters", + "allOf": [ + { + "oneOf": [ + { + "$ref": "../methods_directory/physical/ao/dunning.json#/definitions/ao-basis-dunning" + }, + { + "$ref": "../methods_directory/physical/ao/pople.json#/definitions/ao-basis-pople" + }, + { + "$ref": "../methods_directory/physical/ao/other.json#/definitions/ao-basis-other" + } + ] + } + ] +}