From a37ac595aeb913f3af419fce052eaf7ed4867963 Mon Sep 17 00:00:00 2001
From: florian <f.spreckelsen@inidscale.com>
Date: Tue, 11 Jul 2023 10:22:54 +0200
Subject: [PATCH] DOC: Add datamodel.yml for query-template datamodel

---
 tools/query_template_datamodel.yml | 9 +++++++++
 1 file changed, 9 insertions(+)
 create mode 100644 tools/query_template_datamodel.yml

diff --git a/tools/query_template_datamodel.yml b/tools/query_template_datamodel.yml
new file mode 100644
index 00000000..66a093b4
--- /dev/null
+++ b/tools/query_template_datamodel.yml
@@ -0,0 +1,9 @@
+# Insert this into your LinkAhead datamodel to enable query templates.
+UserTemplate:
+  obligatory_properties:
+    Query:
+      datatype: TEXT
+      description: Query string of the query template, see https://docs.indiscale.com/caosdb-webui/extension/query_templates.html
+    templateDescription:
+      datatype: TEXT
+      description: Description of the query template which will be readable to the user.
-- 
GitLab