From 943bff4b3d8c9d09f054035924e780a2a887dac2 Mon Sep 17 00:00:00 2001 From: Jeremy Wall Date: Sun, 30 Mar 2025 15:11:26 -0400 Subject: [PATCH] docs: update design notes --- DESIGN.md | 33 +++++++++++++++++++++++++-------- 1 file changed, 25 insertions(+), 8 deletions(-) diff --git a/DESIGN.md b/DESIGN.md index bab44ab..981549f 100644 --- a/DESIGN.md +++ b/DESIGN.md @@ -21,11 +21,20 @@ Resource reference paths are rooted at `/api/v1/ref/`. ```json { - "objectId": , + "objectId": , + "content_address": , "path": "/path/name0", "dependents": [ - { "path": "path/name1", "objectId": , content: }, - { "path": "path/name2", "objectId": , content: } + { + "path": "path/name1", + "content_address": , + "objectId": , content: + }, + { + "path": "path/name2", + "content_address": , + "objectId": , content: + } ], } ``` @@ -49,17 +58,25 @@ content key. ```json { - "objectId": , + "objectId": , "path": "/path/name0", "dependents": [ { - "objectId": , + "objectId": , "path": "path/name1", "content": { - "objectId": , + "objectId": , "dependents": [ - { "path": "path/name1", "objectId": , content: }, - { "path": "path/name2", "objectId": , content: } + { + "path": "path/name1", + "content_address": , + "objectId": , content: + }, + { + "path": "path/name2", + "content_address": , + "objectId": , content: + } ], } }