HuggingChat via OpenAssistant gave me this when I asked for a federated chat packet format (for inspiration, I suppose)
{ "sender": "@johndoe@examplefediverse.net", "receiver": "@janesmith@examplefediverse.net", "message": "<https://examplefediverse.me/messages/@johndoe@examplefediverse.net/_matrix/client-server/*/d+> Hello Jane! How can I assist you today?", "timestamp": "2023-03-14T16:35:00Z" }
I find it funny that it uses both "fediverse" and "matrix"...