worth pointing out that although the use of target
is technically invalid on objects, it is possible to use both 400e and 7888 if you’re willing to accept this technical invalidity. they work very similarly, in fact – the difference is basically that 7888 uses the “correct” property and also describes the message distribution flow in more detail depending on whether the context
property is present or not. also i suppose 400e “requires” that you embed a partial node including attributedTo, whereas 7888 does not require any specific representation.
example of both 7888 and 400e:
id: <some-post>
attributedTo: <some-poster>
content: "This is a post in a thread"
context:
- id: <some-thread>
attributedTo: <thread-owner>
target:
- id: <some-thread>
attributedTo: <thread-owner>
another example with a context you’re expected to fetch for yourself (via s2s GET or from your cache):
id: <some-post>
attributedTo: <some-poster>
content: "This is a post in a thread"
context: <some-thread>
target:
- id: <some-thread>
attributedTo: <thread-owner>
if dereferencing the context
doesn’t work for some reason then you can still use it for grouping (while using some other heuristic for determining where to send your reply)