Compare commits

...

2 Commits

Author SHA1 Message Date
pablof7z
92c2176c17 a bit more explicit 2025-03-21 12:58:47 +00:00
pablof7z
4eb4b13927 adds that clients shouldnt publish contradictory handlers 2025-03-21 12:55:42 +00:00

13
89.md
View File

@@ -74,6 +74,19 @@ Using a `k` tag(s) (instead of having the kind of the `d` tag) provides:
Multiple tags might be registered by the app, following NIP-19 nomenclature as the second value of the array.
No contradictory hints can appear. Apps should not publish handlers with the same `platform:type` duple.
For example: an event with:
```jsonc
["web", "https://.../path1/<bech32>", "nevent"],
["web", "https://.../path2/<bech32>", "nevent"],
```
where the `web` + `nevent` duple is duplicated with contradictory values is invalid and clients SHOULD ignore it.
Applications that have different URLs should use different `kind:31990` to announce the different URLs that should be used per kind.
A tag without a second value in the array SHOULD be considered a generic handler for any NIP-19 entity that is not handled by a different tag.
# Client tag