mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-12-23 00:45:53 -05:00
Add labels to 85
This commit is contained in:
parent
c2e92f053f
commit
0b8c76158c
6
85.md
6
85.md
|
@ -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"],
|
||||||
|
|
Loading…
Reference in New Issue
Block a user