Reviews
kind 31986kind 31987kind 31985
NIP-85
Reviews
This NIP describes several different types of review which follow a single set of conventions.
In all cases, the content field SHOULD include a human-readable review. A review event's d tag indicates the object of the review.
Ratings
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.
Review Kinds
Event
Kind 31986 indicates a review of any event generated by a pubkey.
- The
dtag MUST be theidof the event. - The
ptag MUST be thepubkeyof the event.
{
"kind": 31986,
"content": "Always publishing quality information about breaking news all over the world.",
...
"tags": [
["d", "<event-id>"]
["p", "<pubkey>"],
["k", "1"],
["rating", "0.8"]
],
}Relays
Kind 31987 indicates a review of a relay. The d tag MUST be the url of the relay.
{
"kind": 31987,
"content": "This relay is fast!",
"tags": [
["d", "wss://relay.example.com/"],
["rating", "0.8"],
["rating", "0.2", "content"],
["rating", "1", "speed"]
],
}Books
Kind 31985 indicates a review of a book. The d tag MUST be a [NIP 73](./73.md) ISBN content ID.
{
"kind": 31985,
"tags": [
["d","isbn:9781529100624"],
["rating", "0.8"]
],
"content": "Good book",
}Accounts
Kind 31988 indicates a review of an account/profile. The d tag MUST be the pubkey of the account being reviewed.
{
"kind": 31988,
"tags": [
["d", "<pubkey>"],
["rating", "0.8"],
["rating", "0.9", "trust"],
["rating", "0.7", "quality"]
],
"content": "Consistently shares valuable insights and engages respectfully with the community.",
}