summaryrefslogtreecommitdiffstats
path: root/doc
diff options
context:
space:
mode:
authorMatthias Beyer <mail@beyermatthias.de>2016-02-04 13:51:46 +0100
committerMatthias Beyer <mail@beyermatthias.de>2016-02-05 11:55:48 +0100
commitb4d88c72bfa316a82578ef5e515801eae9b1085c (patch)
tree6425769038b175c0596b84ede45c8c76c7214e42 /doc
parentfa5d1553ddbb253f2df3de2754957bc6e276c37d (diff)
doc: Add section store/tagging
Diffstat (limited to 'doc')
-rw-r--r--doc/src/02020-tagging.md13
1 files changed, 13 insertions, 0 deletions
diff --git a/doc/src/02020-tagging.md b/doc/src/02020-tagging.md
new file mode 100644
index 00000000..93fad092
--- /dev/null
+++ b/doc/src/02020-tagging.md
@@ -0,0 +1,13 @@
+## Tagging entries {#sec:thestore:tagging}
+
+A store entry MAY be tagged. A tag is a String which matches the
+regular expression in @lst:tagging:regex
+
+```{#lst:tagging:regex .numberLines caption="Regular Expression for Tags"}
+/^[a-zA-Z]([a-zA-Z0-9_-]*)$/
+```
+
+Tags MUST BE stored in the header section "imag" in the key "tags" as an Array
+of Strings.
+The tags MUST BE sorted in alphabetical order.
+