diff --git a/backend/data-structure.md b/backend/data-structure.md index e85afc4..65a5bdc 100644 --- a/backend/data-structure.md +++ b/backend/data-structure.md @@ -23,6 +23,10 @@ Each UUID inserted might have a corresponding hash table - `:` -> keys associated with the hash table type +## Reserved keys + +- `raw` - raw data for the specific item + # t: (sorted set) Each type got a sorted set (with a score of one) to easily paginate over the various types @@ -41,6 +45,18 @@ The child(ren) UUID of the UUID. - `child:` -> {`UUID`, `UUID`} +# r: (set) + +The list of relationships from a specific UUID. + +- `r:` -> {`UUID`, `UUID`} + +# rd:: (set) + +The relationship data from an UUID tuple. + +- `rd::` -> {`value`, `value`} + # Statistics ## Automatic API statistics