こうで?
[
"content-warning",
"reason",
"",
"<kind36-id>",
"<relay-hint>"
]
tag[0] = "content-warning"
tag[1] = reason
tag[2] = legacy/fallback body
tag[3] = canonical kind36 event id
tag[4] = optional relay hint
こうか
{
"kind": 1,
"content": "",
"tags": [
["content-warning", "reason", "<kind36-id>"]
]
}
こんな感じにしようかな
{
"kind": 1,
"content": "",
"tags": [
["content-warning", "reason"],
["content-warning-ref", "<kind36-id>", "<relay>", "<pubkey>"]
]
}
{
"kind": 36,
"content": "センシティブな本文",
"tags": [
["content-warning", "reason"]
]
}
(NIP-22のkind3636版)
{
"kind": 3636,
"content": "センシティブな返信",
"tags": [
["content-warning", "reason"],
["E", "<kind36-id>", "<relay>", "<kind36-author-pubkey>"],
["K", "36"],
["P", "<kind36-author-pubkey>", "<relay>"],
["e", "<kind36-id>", "<relay>", "<kind36-author-pubkey>"],
["k", "36"],
["p", "<kind36-author-pubkey>", "<relay>"]
]
}