I don't know, if it is correct to use IANA relations in this way and to add custom relations.
But these examples are parsed in the same way.
inlined relations
{
"http://www.iana.org/assignments/relation/self": {
"@id": "https://api.example.com/users/1"