upleb.uk

Public git repos — served from a NIP-34 GRASP relay at git.upleb.uk

summaryrefslogtreecommitdiff
path: root/32.md
diff options
context:
space:
mode:
authorOscar Merry <MerryOscar@users.noreply.github.com>2024-08-05 23:08:41 +0100
committerGitHub <noreply@github.com>2024-08-05 23:08:41 +0100
commit29eec055c2ccf115dae3e8560506b480f1a6de05 (patch)
tree634fa65565d0bf40eca479de9851c0c95058af72 /32.md
parent13b830d228b122b29f9d96a3bf10601406ddd646 (diff)
parent428a4779d7c4f4c2ff53815e8958e7cf99d69d26 (diff)
Merge branch 'nostr-protocol:master' into external-content-ids
Diffstat (limited to '32.md')
-rw-r--r--32.md19
1 files changed, 16 insertions, 3 deletions
diff --git a/32.md b/32.md
index 79f5937..0fb765a 100644
--- a/32.md
+++ b/32.md
@@ -6,10 +6,9 @@ Labeling
6 6
7`draft` `optional` 7`draft` `optional`
8 8
9A label is a `kind 1985` event that is used to label other entities. This supports a number of use cases, 9This NIP defines two new indexable tags to label events and a new event kind (`kind:1985`) to attach those labels to existing events. This supports several use cases, including distributed moderation, collection management, license assignment, and content classification.
10including distributed moderation, collection management, license assignment, and content classification.
11 10
12This NIP introduces two new tags: 11New Tags:
13 12
14- `L` denotes a label namespace 13- `L` denotes a label namespace
15- `l` denotes a label 14- `l` denotes a label
@@ -129,6 +128,20 @@ is labeling their note as being related to Milan, Italy using ISO 3166-2.
129} 128}
130``` 129```
131 130
131Author is labeling their note language as English using ISO-639-1.
132
133```json
134{
135 "kind": 1,
136 "tags": [
137 ["L", "ISO-639-1"],
138 ["l", "en", "ISO-639-1"]
139 ],
140 "content": "English text",
141 ...
142}
143```
144
132Other Notes 145Other Notes
133----------- 146-----------
134 147