There’s a similar question where the question is about whether resource-linkages are required in non-compound documents.
I am wondering whether in non-compound documents relationships are allowed to contain a resource linkage or not.
In my opinion the specification does not answer this question clearly:
Resource linkage in a compound document allows a client to link together all of the included resource objects without having to GET any URLs via links.
Resource linkages are only mentioned in conjunction with “compound documents”.
So my question is:
If a relationship object contains a resource linkage (i.e. "data": { "id": "123", "type": "mytype" }
) does it imply that there must also be a matching resource object in the included
array?