From 2111dd011437a215c379dc8311b6ed4cd90c4ee1 Mon Sep 17 00:00:00 2001 From: limina1 <131614677+limina1@users.noreply.github.com> Date: Wed, 27 Nov 2024 15:19:39 -0500 Subject: [PATCH] add `a` tag description security model tag specifies how events should be updated --- 62.md | 13 +++++++++---- 1 file changed, 9 insertions(+), 4 deletions(-) diff --git a/62.md b/62.md index bdbdfe6..586cfac 100644 --- a/62.md +++ b/62.md @@ -27,10 +27,14 @@ A publication index defines the structure and metadata of a collection. It serve - `d` tag - `pubkey` - `kind` -- MUST include `a` tags or `e` tags, listing the events in desired display order. - - `a` tags automatically will update with edits, while`e` tags will lock entry to a specific version. See [standardized tags](https://github.com/limina1/nips/tree/master?tab=readme-ov-file#standardized-tags) +- MUST include `a` tags listing the events in desired display order. + - Format: `["a", "kind:pubkey:dtag", "relay hint", "event id"]` + - Optional event ID field enables version tracking while maintaining updateable references - Referenced events SHOULD be kind 30041 sections or nested kind 30040 indices - Additional event kinds MAY be supported +- MUST include a `auto-update` tag specifying update behavior: + - Format: `["auto-update", ""]` + - Controls whether clients should automatically update to newer versions - For derivative works: - MUST include a `p` tag identifying the original author - MUST include an `E` tag referencing the original event immediately after the `p` tag @@ -55,8 +59,9 @@ A publication index defines the structure and metadata of a collection. It serve ["published_by", "public domain"], ["image", "https://imageserver.com/piclink.jpg"], ["summary", "Collection of selected fables from the ancient Greek philosopher, known as Aesop."], - ["e", "", "", ""], - ["e", "", "", ""], + ["a", "", "", ""], + ["a", "", "", ""], + ["auto-update", ""], ["p", ""], ["E", "", "", ""] ],