Add labels to 85

This commit is contained in:
Jon Staab 2023-11-13 13:54:05 -08:00
parent c2e92f053f
commit 0b8c76158c

6
85.md
View File

@ -4,8 +4,6 @@ NIP-85
Reviews Reviews
------- -------
`draft` `optional` `author:staab`
Kind `1986` MAY be used to leave a review with optional ratings. Kind `1986` MAY be used to leave a review with optional ratings.
The `content` field SHOULD include a human-readable review. The `content` field SHOULD include a human-readable review.
@ -18,6 +16,8 @@ or external resources. As with NIP-01, a relay hint SHOULD be included when usin
Tags MAY contain additional `rating` tags each of which should have a `value` between 0 and 1, Tags MAY contain additional `rating` tags each of which should have a `value` between 0 and 1,
and an optional `mark` specifying an attribute of the thing being reviewed. and an optional `mark` specifying an attribute of the thing being reviewed.
Tags MAY contain NIP 32 labels to help categorize what is being reviewed.
Examples Examples
-------- --------
@ -28,6 +28,8 @@ A relay review with rating metadata.
"kind": 1986, "kind": 1986,
"content": "This relay is fast!", "content": "This relay is fast!",
"tags": [ "tags": [
["L", "review"],
["l", "review/relay", "review"],
["rating", "0.8"], ["rating", "0.8"],
["rating", "0.2", "smell"], ["rating", "0.2", "smell"],
["rating", "1", "service"], ["rating", "1", "service"],