diff --git a/01.md b/01.md index 60d97853..9c2ad03e 100644 --- a/01.md +++ b/01.md @@ -77,11 +77,12 @@ This NIP defines 3 standard tags that can be used across all event kinds with th - The `e` tag, used to refer to an event: `["e", <32-bytes lowercase hex of the id of another event>, ]` - The `p` tag, used to refer to another user: `["p", <32-bytes lowercase hex of a pubkey>, ]` -- The `a` tag, used to refer to a (maybe parameterized) replaceable event - - for a parameterized replaceable event: `["a", :<32-bytes lowercase hex of a pubkey>:, ]` - - for a non-parameterized replaceable event: `["a", :<32-bytes lowercase hex of a pubkey>:, ]` +- The `a` tag, used to refer to a replaceable event. + - The second element (tag value) contains a minimum of 2 identifiers - the kind and the pubkey. If a third is optionally added (the arbitrary "d tag value"), the event becomes "parameterized". + - Structure of a parameterized event: `["a", :<32-bytes lowercase hex of a pubkey>:, ]` + - Structure of a non-parameterized event: `["a", :<32-bytes lowercase hex of a pubkey>:, ]` -As a convention, all single-letter (only english alphabet letters: a-z, A-Z) key tags are expected to be indexed by relays, such that it is possible, for example, to query or subscribe to events that reference the event `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"` by using the `{"#e": ["5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"]}` filter. +As a convention, all single-letter (only English alphabet letters: a-z, A-Z) key tags are expected to be indexed by relays, such that it is possible, for example, to query or subscribe to events that reference the event `"5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"` by using the `{"#e": ["5c83da77af1dec6d7289834998ad7aafbd9e2191396d75ec3cc27f5a77226f36"]}` filter. ### Kinds