Add a second a tag requirement

This commit is contained in:
Michael Jurkoic 2024-01-19 18:39:37 -06:00
parent c86a8c0634
commit ae79cab62e

3
62.md
View File

@ -40,7 +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:
- The `a` tag MUST reference the kind `32000` or `32001` event that represents the immediately previous version of the object. - An `a` tag MUST reference the kind `32000` or `32001` event that represents the immediately previous version of the object.
- An `a` tag MUST reference the kind `32000` event that represents the initial version of the object.
- 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`.