summaryrefslogtreecommitdiff
path: root/site/examples/example.json
diff options
context:
space:
mode:
authorstuebinm2021-04-05 01:25:51 +0200
committerstuebinm2021-04-05 01:28:14 +0200
commitc0ff2093d96d543e60d312a1bf5cc836682cb978 (patch)
tree08322c2a4ac668cf0408244ec911d082e7bd5276 /site/examples/example.json
parent28be2c5b07d0a466640108fad13d3501a8bd0e68 (diff)
add example survey
these can be found in site/examples. There is a simple unencrypted survey in "example.json", and an encrypted variant of the same in "encrypted.json". The key used for encryption can be found in "key.age"; in particular, note that the passphrase for the encrypted survey is exactly that private key.
Diffstat (limited to 'site/examples/example.json')
-rw-r--r--site/examples/example.json1
1 files changed, 1 insertions, 0 deletions
diff --git a/site/examples/example.json b/site/examples/example.json
new file mode 100644
index 0000000..2a6c2f9
--- /dev/null
+++ b/site/examples/example.json
@@ -0,0 +1 @@
+{"title":"Test Survey","description":"This is a test survey.","questions":[{"question":"first question","name":"question1","space":"YesOrNo"},{"question":"second question","name":"question2","space":{"Freeform":"test"}},{"question":"third question","name":"question3","space":{"Multiple":["first possible answer","second possible answer","third possible answer"]}}],"pubkey":"age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu"}