Add guidelines tag to NIP-29 group metadata

This commit is contained in:
Matt Lorentz 2025-04-10 07:28:26 -04:00 committed by GitHub
parent 55f96bbeef
commit d40df82c2e
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

3
29.md

@ -153,6 +153,7 @@ When this event is not found, clients may still connect to the group, but treat
["name", "Pizza Lovers"],
["picture", "https://pizza.com/pizza.png"],
["about", "a group for people who love pizza"],
["guidelines", "Rule #1: No pineapple"]
["public"], // or ["private"]
["open"] // or ["closed"]
]
@ -160,7 +161,7 @@ When this event is not found, clients may still connect to the group, but treat
}
```
`name`, `picture` and `about` are basic metadata for the group for display purposes. `public` signals the group can be _read_ by anyone, while `private` signals that only AUTHed users can read. `open` signals that anyone can request to join and the request will be automatically granted, while `closed` signals that members must be pre-approved or that requests to join will be manually handled.
`name`, `picture`, `about`, and `guidelines` are basic metadata for the group for display purposes. `public` signals the group can be _read_ by anyone, while `private` signals that only AUTHed users can read. `open` signals that anyone can request to join and the request will be automatically granted, while `closed` signals that members must be pre-approved or that requests to join will be manually handled.
- *group admins* (`kind:39001`) (optional)