{"id":"e1c9ac0a80d9220e03af0afbcd7b475b809e1638585604a3e9c3e5ec8b870a8c","pubkey":"460c25e682fda7832b52d1f22d3d22b3176d972f60dcdc3212ed8c92ef85065c","created_at":1767976678,"kind":30817,"tags":[["d","editable-short-notes"],["title","Editable Short Notes"],["client","nostrhub.io"]],"content":"Editable Short Notes\n--------------------\n\n`draft` `optional`\n\nThis NIP allows `.content` edits of `kind:1` short notes with a history of changes.  \n\n`kind:1010` stores the updated content with an `e` tag pointing back to the original `kind:1`. \n\n```js\n{\n  \"kind\": 1010,\n  \"pubkey\": \"<32-bytes hex-encoded public key of the event creator>\",\n  \"tags\": [\n    [\"e\", \"<kind_1_event_id>\", \"relay\"]\n  ],\n  \"content\": \"this is a modified version of the original content\",\n  // ...other fields\n}\n```\n\nClients MUST check if the pubkey of the `kind:1010` is the same as the referenced `kind:1`. \n\nClients SHOULD render the `.content` of the most recent `kind:1010` by `created_at`.\n\nClients MAY present a history of changes over time. \n\n# Collaboration\n\n`kind:1010`s that are not signed by the author of the `e`-tagged event are considered proposals to edit. \n\nA `p` tag notifies the author of a new edit proposal.\n\n```js\n{\n  \"kind\": 1010,\n  \"pubkey\": \"<32-bytes hex-encoded public key of the event creator>\",\n  \"tags\": [\n    [\"e\", \"<kind_1_event_id>\"]\n    [\"p\", \"<kind_1_event_pubkey>\"] // notifying the author\n    [\"summary\", \"<message to the author>\"] \n  ],\n  \"content\": \"this is the proposed change from a third-party to the author\",\n  // ...other fields\n}\n```\n\nTo accept the proposal, the author MUST sign a new `kind:1010` event with a copy of the proposal's `.content`.","sig":"c3e295c008af20d39fbd22a569870ab1b4913b550bd6577c3914c5356e2797b0357ea416cba3846ce15922b1efb81f2c68b412f69b26011f06a10c9194620992"}