fiatjaf on Nostr: I think this "ref" name is bad and it would be better to call it "entity" -- also in ...
I think this "ref" name is bad and it would be better to call it "entity" -- also in my PR above I am referring to these things using only "pubkey" and "identifier" ("d" tag), but I think they should also contain the "kind".
If we decide to all any "parameterized replaceable event" an "entity" instead, that will make everything simpler. And links could be beautiful with the "nent1..." prefix, tags become `["n", "<pubkey>:<kind>:<identifier>", "<relay url>"]`.
Published at
2023-02-04 19:11:12Event JSON
{
"id": "7f7b6cabb9eec13018a28f0c928472203bd426d16b3cea4397325f065dfb7bb6",
"pubkey": "3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d",
"created_at": 1675537872,
"kind": 1,
"tags": [
[
"p",
"9ec7a778167afb1d30c4833de9322da0c08ba71a69e1911d5578d3144bb56437"
],
[
"e",
"5fb364fccb623d7826fe4945bd675925991cbc04768af805d51a45b7b5d4ca8a",
"wss://nostr-pub.wellorder.net",
"root"
],
[
"e",
"19e1495700a425ee6e176a570dcaeafb85f8198e6ce39ddaddc40ec65f42b60e",
"wss://nostr-pub.wellorder.net",
"reply"
]
],
"content": "I think this \"ref\" name is bad and it would be better to call it \"entity\" -- also in my PR above I am referring to these things using only \"pubkey\" and \"identifier\" (\"d\" tag), but I think they should also contain the \"kind\".\n\nIf we decide to all any \"parameterized replaceable event\" an \"entity\" instead, that will make everything simpler. And links could be beautiful with the \"nent1...\" prefix, tags become `[\"n\", \"\u003cpubkey\u003e:\u003ckind\u003e:\u003cidentifier\u003e\", \"\u003crelay url\u003e\"]`.",
"sig": "20331689f23536b6937f8dbaffc0a3f0d49e9dbcc70e33142aa6fc0e433becce0dfe8ac9ca93d484e69e69b86a54bd48737b5129e4e377cf62b92a307a748e83"
}