From 4a020dc25aa40247a4cd00e13c00b11d6088d7dc Mon Sep 17 00:00:00 2001 From: Vitor Pamplona Date: Sat, 23 Nov 2024 19:25:36 -0500 Subject: [PATCH] separating root from other nodes. --- 63.md | 29 +++++++++++++++++++++-------- 1 file changed, 21 insertions(+), 8 deletions(-) diff --git a/63.md b/63.md index aae04e5..6f61d65 100644 --- a/63.md +++ b/63.md @@ -6,22 +6,18 @@ Build Your Own Story `draft` `optional` -This NIP defines `kind:296` as a text note with options to navigate to the next text notes and continue reading. +This NIP defines `kind:296` and `kind:297` as text notes with options to navigate to the next text notes and continue reading. Kind `296` serves as the root story and `297` for the sections of that story. -The idea is to replicate the dynamism of build your own adventure books, where each reader makes their own version of the story. +The idea is to replicate the dynamism of build your own adventure books, where each reader takes their own journey in the story. -## Story Section Events - -Story Section events contain a `title` tag and `option` tags for the next sections. +Story Section events contain an optional `title` tag and `option` tags for the next sections. Clients SHOULD render options in a way that users can select and move to that post. -The story ends when there are no `option`s available. - ```jsonc { "kind": 296, - "content": "", + "content": "", "tags": [ ["title", ""], @@ -32,4 +28,21 @@ The story ends when there are no `option`s available. } ``` +```jsonc +{ + "kind": 297, + "content": "", + "tags": [ + ["title", ""], + + ["e", "", "" ] // root event. + ["option", "", "", ""], + ["option", "", "", ""], + // ... + ] +} +``` + +The story ends when there are no `option`s available. + `.content` SHOULD use the same formatting rules as `kind:1` \ No newline at end of file