summaryrefslogtreecommitdiff
path: root/site/examples
diff options
context:
space:
mode:
authorstuebinm2021-04-05 01:25:51 +0200
committerstuebinm2021-04-05 01:28:14 +0200
commitc0ff2093d96d543e60d312a1bf5cc836682cb978 (patch)
tree08322c2a4ac668cf0408244ec911d082e7bd5276 /site/examples
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 '')
-rw-r--r--site/examples/encrypted.jsonbin0 -> 641 bytes
-rw-r--r--site/examples/example.json1
-rw-r--r--site/examples/key.age3
3 files changed, 4 insertions, 0 deletions
diff --git a/site/examples/encrypted.json b/site/examples/encrypted.json
new file mode 100644
index 0000000..3eac1c5
--- /dev/null
+++ b/site/examples/encrypted.json
Binary files differ
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"}
diff --git a/site/examples/key.age b/site/examples/key.age
new file mode 100644
index 0000000..0a17fe5
--- /dev/null
+++ b/site/examples/key.age
@@ -0,0 +1,3 @@
+# created: 2021-04-04T00:24:17+02:00
+# public key: age1f380w6eaeuydey65mmu88h4kqv50dda96pxlgkal78sufpnngypqnetmuu
+AGE-SECRET-KEY-1S2V6TAN98U5V4J4VL78L94HHTUDQ9LJHJAA78L4JH5JALLGAF69SN3WE6X