<!--
{
  "availability" : [

  ],
  "documentType" : "symbol",
  "framework" : "AppleMusicAPI",
  "identifier" : "/documentation/AppleMusicAPI/Relationship",
  "metadataVersion" : "0.1.0",
  "role" : "Object",
  "symbol" : {
    "kind" : "Object",
    "modules" : [
      "Apple Music API"
    ],
    "preciseIdentifier" : "data:music_api:Relationship"
  },
  "title" : "Relationship"
}
-->

# Relationship

A to-one or to-many relationship from one resource object to others.

```
object Relationship
```

## Discussion

A to-one relationship contains a single object in the `data` array.

The rules that apply to the members of this object are:

- Must contain one of these members: `href`, `data`, or `meta`.
- If a to-many relationship, may contain the `next` member.

## Topics

### Related Objects

[`object Relationship.Meta`](/documentation/AppleMusicAPI/Relationship/Meta-data.dictionary)

Information about the request or response.



---

Copyright &copy; 2026 Apple Inc. All rights reserved. | [Terms of Use](https://www.apple.com/legal/internet-services/terms/site.html) | [Privacy Policy](https://www.apple.com/privacy/privacy-policy)