summaryrefslogtreecommitdiff
path: root/example-config.dhall
diff options
context:
space:
mode:
authorstuebinm2021-04-05 00:58:49 +0200
committerstuebinm2021-04-05 00:58:49 +0200
commit92f2e0267323137941645426e90d75f214e1a590 (patch)
tree48cbab6ca80779dfc86d1a3ded7340a61931040d /example-config.dhall
parent311c66047f7187feaf4ed33eea0cc64baf933874 (diff)
add dhall example config
Diffstat (limited to 'example-config.dhall')
-rw-r--r--example-config.dhall20
1 files changed, 20 insertions, 0 deletions
diff --git a/example-config.dhall b/example-config.dhall
new file mode 100644
index 0000000..0b5d5ae
--- /dev/null
+++ b/example-config.dhall
@@ -0,0 +1,20 @@
+{ title = "Test Survey"
+, description = "This is a test survey."
+, pubkey = Some "age1te673wg4decpplhwrtw2x8atglrn59t87q0tllx7n7uhnr7qrg0ss6f36g"
+, questions =
+ [ { question = "first question", name = "question1", space = Answers.YesOrNo }
+ , { question = "second question"
+ , name = "question2"
+ , space = Answers.Freeform "test"
+ }
+ , { question = "third question"
+ , name = "question3"
+ , space =
+ Answers.Multiple
+ [ "first possible answer"
+ , "second possible answer"
+ , "third possible answer"
+ ]
+ }
+ ]
+}