feat: Refactor kind:902 structure for contracts

- Updated the tags section to include an optional "on_behalf_of" field for Power Of Attorney.
- Modified the content field to represent the Name/Title for the Contract.
This commit is contained in:
Sergio Ovalle 2023-09-03 11:13:01 -06:00
parent ae2708a4f5
commit 0151f1f988

7
79.md
View File

@ -88,14 +88,13 @@ The role of witnesses is to provide an additional layer of verification for the
{
"kind": 902,
"tags": [
[ "e", "<Contract's (kind:900) Event ID>" ],
[ "e", "<Signature (kind:901) Event ID>" ]
[ "e", "<Contract's (kind:900) Event ID>" ]
[ "on_behalf_of", "<Name/Title for the Contract>" ] // optional for Power Of Attorney
],
"pubkey": "[Party's Public Key]",
"created_at": [Creation Timestamp],
"content": "",
"content": "<Name/Title for the Contract>",
"id": "[Event ID]",
"ots": "<base64-encoded OTS file data>"
}
```