From 3455f69e713a87f526bc123b0490718763d4502c Mon Sep 17 00:00:00 2001 From: Alexandre Dulaunoy Date: Sun, 30 May 2021 15:48:08 +0200 Subject: [PATCH] Add reserved keywords for the field in the netadata hash table --- backend/data-structure.md | 12 +++++++++++- 1 file changed, 11 insertions(+), 1 deletion(-) diff --git a/backend/data-structure.md b/backend/data-structure.md index a177806..7c25b34 100644 --- a/backend/data-structure.md +++ b/backend/data-structure.md @@ -17,7 +17,7 @@ Each UUID inserted in CyCAT has at least an entry in the backend with the follow | 2 | Project | | 3 | Item | -# : (hash table) +# : (hash table) metadata Each UUID inserted might have a corresponding hash table @@ -26,6 +26,16 @@ Each UUID inserted might have a corresponding hash table ## Reserved keys - `raw` - raw data for the specific item +- `cycat-oid` - UUID of the publisher or project CyCAT +- `link` - URL reference of the publisher, project or item +- `timestamp` - Last update of the UUID metadata +- `short-name` +- `name` +- `maintainer` - maintainer of the metadata (e.g. cycat) +- `description` +- `_cycat_type` + +Other field should be prefixed by the origin of the metadata with a format `:`. # t: (sorted set)