diff options
Diffstat (limited to '22.md')
| -rw-r--r-- | 22.md | 12 |
1 files changed, 6 insertions, 6 deletions
| @@ -45,7 +45,7 @@ Tags `K` and `k` MUST be present to define the event kind of the root and the pa | |||
| 45 | 45 | ||
| 46 | `I` and `i` tags create scopes for hashtags, geohashes, URLs, and other external identifiers. | 46 | `I` and `i` tags create scopes for hashtags, geohashes, URLs, and other external identifiers. |
| 47 | 47 | ||
| 48 | The possible values for `i` tags – and `k` tags, when related to an extenal identity – are listed on [NIP-73](73.md). | 48 | The possible values for `i` tags – and `k` tags, when related to an external identity – are listed on [NIP-73](73.md). |
| 49 | Their uppercase versions use the same type of values but relate to the root item instead of the parent one. | 49 | Their uppercase versions use the same type of values but relate to the root item instead of the parent one. |
| 50 | 50 | ||
| 51 | `q` tags MAY be used when citing events in the `.content` with [NIP-21](21.md). | 51 | `q` tags MAY be used when citing events in the `.content` with [NIP-21](21.md). |
| @@ -143,13 +143,13 @@ A comment on a website's url looks like this: | |||
| 143 | "tags": [ | 143 | "tags": [ |
| 144 | // referencing the root url | 144 | // referencing the root url |
| 145 | ["I", "https://abc.com/articles/1"], | 145 | ["I", "https://abc.com/articles/1"], |
| 146 | // the root "kind": for an url, the kind is its domain | 146 | // the root "kind": for an url |
| 147 | ["K", "https://abc.com"], | 147 | ["K", "web"], |
| 148 | 148 | ||
| 149 | // the parent reference (same as root for top-level comments) | 149 | // the parent reference (same as root for top-level comments) |
| 150 | ["i", "https://abc.com/articles/1"], | 150 | ["i", "https://abc.com/articles/1"], |
| 151 | // the parent "kind": for an url, the kind is its domain | 151 | // the parent "kind": for an url |
| 152 | ["k", "https://abc.com"] | 152 | ["k", "web"] |
| 153 | ] | 153 | ] |
| 154 | // other fields | 154 | // other fields |
| 155 | } | 155 | } |
| @@ -192,7 +192,7 @@ A reply to a podcast comment: | |||
| 192 | // this is a reference to the above comment | 192 | // this is a reference to the above comment |
| 193 | ["e", "80c48d992a38f9c445b943a9c9f1010b396676013443765750431a9004bdac05", "wss://example.relay", "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111"], | 193 | ["e", "80c48d992a38f9c445b943a9c9f1010b396676013443765750431a9004bdac05", "wss://example.relay", "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111"], |
| 194 | // the parent comment kind | 194 | // the parent comment kind |
| 195 | ["k", "1111"] | 195 | ["k", "1111"], |
| 196 | ["p", "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111"] | 196 | ["p", "252f10c83610ebca1a059c0bae8255eba2f95be4d1d7bcfa89d7248a82d9f111"] |
| 197 | ] | 197 | ] |
| 198 | // other fields | 198 | // other fields |