{"id":"ab4e1fe85ec9488bbc0e35de9a3d17a0595e9bb0e2cad232651fe1102f5895f9","pubkey":"a22dbe51e3c719ad8b2cdc3e4ffc2176f20373f3027b67a1dc6c6e976fbcd6d8","created_at":1783934498,"kind":30817,"tags":[["d","metadata"],["title","Metadata"],["k","34578","Metadata"],["client","better-nips"]],"content":"NIP-Metadata\n======\n\nMetadata events\n-----------------------------\n\n`draft` `optional`\n\nDefines a protocol for metadata events. Metadata events hold metadata information about other events, or entities\n\n---\n## Kind 34578 — Metadata Event\n\nMetadata events use **kind 34578** (addressable). They are distinguished by their `d` tag and the presence of the `[\"t\", \"<sub_type>\"]` tag. The content of a metadata event always has a json which is encrypted to the author's pubkey. The shape of the json depends on the sub type of the metadata event\n\n| tag | value |\n|-----|-------|\n| `d` | depends on the sub-type of the metadata event |\n| `t` | `\"<sub-type>\"` — sub-type of the event |\n\n---\n\n\n## Examples\n\nUser metadata event:\n\n```jsonc\n{\n  \"kind\": 34578,\n  \"pubkey\": \"abc123...\",\n  \"created_at\": 1700000000,\n  \"tags\": [\n    [\"d\", \"0:abc123...\"],\n  ],\n  \"content\": \"<nip44-ciphertext of json encrypted to abc123>\",\n  \"sig\": \"...\"\n}\n```","sig":"b853708f87f3d780584828ded0ba0cb1cf24edf95faaea4107be21497dd4f459c6b97ff95dff68b58324658ba5ce1d40bb104f962676cdca5538dc2c39d331fb"}