mirror of
https://github.com/nostr-protocol/nips.git
synced 2024-11-10 06:09:08 -05:00
Clarify requirements for multiple a tags
This commit is contained in:
parent
ae79cab62e
commit
3f0584ade5
4
62.md
4
62.md
|
@ -40,8 +40,8 @@ An event of kind `32000` SHALL serve to authenticate an unversioned object host
|
||||||
|
|
||||||
An event of kind `32001` SHALL serve to authenticate a versioned object hosted by a third-party service (i.e., not a Nostr client or relay). Events of this kind MUST implement the specification for kind `32000`, along with the following rules:
|
An event of kind `32001` SHALL serve to authenticate a versioned object hosted by a third-party service (i.e., not a Nostr client or relay). Events of this kind MUST implement the specification for kind `32000`, along with the following rules:
|
||||||
|
|
||||||
- An `a` tag MUST reference the kind `32000` or `32001` event that represents the immediately previous version of the object.
|
- The `a` tag MUST reference the kind `32000` event that represents the initial version of the object.
|
||||||
- An `a` tag MUST reference the kind `32000` event that represents the initial version of the object.
|
- A second `a` tag MUST reference the kind `32001` event that represents the immediately previous version of the object when the previous version is represented by a kind `32001` event.
|
||||||
- The `d` tag MUST use as an identifier a hash of the versioned object, so that each version is uniquely identified.
|
- The `d` tag MUST use as an identifier a hash of the versioned object, so that each version is uniquely identified.
|
||||||
- The `hash` tag MUST be included to specify the hash method used to produce the object's unique identifier.
|
- The `hash` tag MUST be included to specify the hash method used to produce the object's unique identifier.
|
||||||
- The initial version of an object SHOULD be represented by a kind `32000` event, and all subsequent versions MUST by represented by events of kind `32001`.
|
- The initial version of an object SHOULD be represented by a kind `32000` event, and all subsequent versions MUST by represented by events of kind `32001`.
|
||||||
|
|
Loading…
Reference in New Issue
Block a user