frbitten on Nostr: How does it work for notes to have content with data format? for example markdown , ...
How does it work for notes to have content with data format? for example markdown , JSON, XML, etc.
Do customers have to guess that it's something formatted by the content itself or is there a tag to indicate the format used in the content?
It's not clear to me when to use a classification by tag and when it's a new kind.
Published at
2023-01-28 14:28:48Event JSON
{
"id": "242986888965611d3c31a9194d23a34b9cb6cbcd48cba78fbec368a0c8e5c7f6",
"pubkey": "fd3423d0cce87f78be31f9eea31577207bbe3daab9013359cfe4b9358367ec3a",
"created_at": 1674916128,
"kind": 1,
"tags": [
[
"e",
"7b91e4aa186780422ffa16671f8e19af7d58281a4a78bd74cfdb56742dae4945",
"wss://nostr-pub.wellorder.net",
"reply"
],
[
"p",
"3bf0c63fcb93463407af97a5e5ee64fa883d107ef9e558472c4eb9aaaefa459d"
],
[
"p",
"63fe6318dc58583cfe16810f86dd09e18bfd76aabc24a0081ce2856f330504ed"
]
],
"content": "How does it work for notes to have content with data format? for example markdown , JSON, XML, etc. \nDo customers have to guess that it's something formatted by the content itself or is there a tag to indicate the format used in the content?\n It's not clear to me when to use a classification by tag and when it's a new kind.",
"sig": "506522fd9458cf150bb9aa7a3b1c2a8b60544b8897923a61b0f5944dd0a9e6b421bf731f8ca63679340024571c5e8f6823421c8e01d7baace95480395f209c11"
}