mleku on Nostr: it's stringified json even lol and yes, generally no impediment to changing it, most ...
it's stringified json even lol
and yes, generally no impediment to changing it, most codecs will swallow whatever you can un-escape out of the content field, so long as it has the main fields in it
relays don't even look at what's inside the content field at all for any reason, only the tags, and only the single letter prefixed ones are indexed
changing the rest of the structure of an event is probably gonna break stuff though, but honestly, for what reason would you do this? and profiles don't even use tag fields necessarily, though often clients will populate them with any hashtags in the "about" field
Published at
2024-11-04 18:39:00Event JSON
{
"id": "5508f37d3d99c4e90c65015ea083a7384bed9d4e6a6ffd6b617504edda94126a",
"pubkey": "4c800257a588a82849d049817c2bdaad984b25a45ad9f6dad66e47d3b47e3b2f",
"created_at": 1730745540,
"kind": 1,
"tags": [
[
"e",
"fc1aafd176cfdac56051738df00089cefec67e8f56e974c1d6afdd1a7b41cdfb",
"wss://relay.primal.net/",
"root"
],
[
"e",
"c6a3d1ee9974cbaafef3b7a2fdf8480245614468b10c3e1fce7264a9b4d453ea",
"wss://theforest.nostr1.com/",
"reply"
],
[
"p",
"7cc328a08ddb2afdf9f9be77beff4c83489ff979721827d628a542f32a247c0e",
"",
"mention"
],
[
"p",
"de7ecd1e2976a6adb2ffa5f4db81a7d812c8bb6698aa00dcf1e76adb55efd645",
"",
"mention"
],
[
"client",
"noStrudel",
"31990:266815e0c9210dfa324c6cba3573b14bee49da4209a9456f9484e5106cd408a5:1686066542546"
]
],
"content": "it's stringified json even lol\n\nand yes, generally no impediment to changing it, most codecs will swallow whatever you can un-escape out of the content field, so long as it has the main fields in it\n\nrelays don't even look at what's inside the content field at all for any reason, only the tags, and only the single letter prefixed ones are indexed\n\nchanging the rest of the structure of an event is probably gonna break stuff though, but honestly, for what reason would you do this? and profiles don't even use tag fields necessarily, though often clients will populate them with any hashtags in the \"about\" field",
"sig": "6852725eb4af30a508eedae3c2fdbfc2358eb2e54cc05fed2a1e9f929289f2d60ca0fcdf0df677969bbc8034f8a44d96d567bd13e2a08dc1566f57d0cb5eb8d3"
}