From ceea5b91c14830b04e523d2f4de44f6a0793d83e Mon Sep 17 00:00:00 2001 From: Andre Staltz Date: Wed, 13 Sep 2023 19:04:56 +0300 Subject: [PATCH] update protospec --- protospec.md | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) diff --git a/protospec.md b/protospec.md index 79a5b86..3b68bfb 100644 --- a/protospec.md +++ b/protospec.md @@ -21,13 +21,13 @@ classDef default fill:#bbb,stroke:#fff0,color:#000 Reducing the tangle above in a topological sort allows you to build a record (a JSON object) `{age, name}`. -## Msg type +## Msg metadata domain -`msg.metadata.type` MUST start with `record_v1__`. E.g. `record_v1__profile`. +`msg.metadata.domain` MUST start with `record_v1__`. E.g. `record_v1__profile`. -## Msg content +## Msg data -`msg.content` format: +`msg.data` format: ```typescript interface MsgContent { @@ -36,7 +36,7 @@ interface MsgContent { } ``` -RECOMMENDED that the `msg.content.update` is as flat as possible (no nesting). +RECOMMENDED that the `msg.data.update` is as flat as possible (no nesting). ## Supersedes links