Clarify requirements for multiple a tags

This commit is contained in:
Michael Jurkoic 2024-01-19 18:41:43 -06:00
parent ae79cab62e
commit 3f0584ade5

4
62.md
View File

@ -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`.