ChronicleSchema
Used on
MusicRecording and their subclasses
Expected type
MusicAlbum
Values
At most one value
Required
No

In other vocabularies

VocabularyTerm
schema.org Same as inAlbum

Examples

Listening to a track

A ListenAction for one play in Spotify's recently played list.

{
  "@type": "ListenAction",
  "@key": ["@type", "source", "agent.handle", "object.sourceId", "timestamp"],
  "source": "spotify",
  "timestamp": "2026-05-09T16:04:51.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "handle"],
    "source": "spotify",
    "handle": "pat",
    "name": "Pat Example",
    "url": "https://open.spotify.com/user/pat",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "MusicRecording",
    "@key": ["@type", "source", "sourceId"],
    "source": "spotify",
    "sourceId": "6mT8qR2vN5xK9pL3bH7wC4",
    "url": "https://open.spotify.com/track/6mT8qR2vN5xK9pL3bH7wC4",
    "name": "Morning Light",
    "duration": "PT215S",
    "artist": [
      {
        "@type": "MusicGroup",
        "@key": ["@type", "source", "sourceId"],
        "source": "spotify",
        "sourceId": "4kQ7wN2pR8sT1vX3yZ5bC6",
        "url": "https://open.spotify.com/artist/4kQ7wN2pR8sT1vX3yZ5bC6",
        "name": "The Example Band"
      }
    ],
    "inAlbum": {
      "@type": "MusicAlbum",
      "@key": ["@type", "source", "sourceId"],
      "source": "spotify",
      "sourceId": "1bD4fG7hJ9kL2mN5pQ8rS3",
      "url": "https://open.spotify.com/album/1bD4fG7hJ9kL2mN5pQ8rS3",
      "name": "Morning Songs",
      "datePublished": "2024-03-01"
    },
    "emblem": {
      "@type": "ImageObject",
      "@key": ["url"],
      "url": "https://images.example.com/covers/morning-songs.jpg",
      "width": 640,
      "height": 640
    }
  }
}

A scrobbled track

A ListenAction for one play in a Last.fm listening history, keyed by its timestamp.

{
  "@type": "ListenAction",
  "@key": ["@type", "source", "timestamp"],
  "source": "lastfm",
  "timestamp": "2026-05-09T18:22:07.000Z",
  "agent": {
    "@type": "Agent",
    "@key": ["@type", "source", "handle"],
    "source": "lastfm",
    "handle": "sam_listens",
    "url": "https://www.last.fm/user/sam_listens",
    "name": "Sam Rivers",
    "sameAs": ["@me"]
  },
  "object": {
    "@type": "MusicRecording",
    "@key": ["@type", "source", "sourceId"],
    "source": "lastfm",
    "sourceId": "3f2b7c1e-8a4d-4e6f-9b0a-1c2d3e4f5a6b",
    "url": "https://www.last.fm/music/The+Example+Band/_/Morning+Light",
    "name": "Morning Light",
    "emblem": {
      "@type": "ImageObject",
      "@key": ["url"],
      "url": "https://images.example.com/covers/morning-light.png"
    },
    "artist": [
      {
        "@type": "MusicGroup",
        "@key": ["@type", "source", "sourceId"],
        "source": "lastfm",
        "sourceId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
        "name": "The Example Band",
        "url": "https://www.last.fm/music/The+Example+Band",
        "emblem": {
          "@type": "ImageObject",
          "@key": ["url"],
          "url": "https://images.example.com/artists/the-example-band.png"
        }
      }
    ],
    "inAlbum": {
      "@type": "MusicAlbum",
      "@key": ["@type", "source", "sourceId"],
      "source": "lastfm",
      "sourceId": "0d1e2f3a-4b5c-4d6e-8f7a-9b0c1d2e3f4a",
      "name": "Early Hours",
      "artist": [
        {
          "@type": "MusicGroup",
          "@key": ["@type", "source", "sourceId"],
          "source": "lastfm",
          "sourceId": "9a8b7c6d-5e4f-4a3b-8c2d-1e0f9a8b7c6d",
          "name": "The Example Band",
          "url": "https://www.last.fm/music/The+Example+Band"
        }
      ]
    }
  }
}

URI https://schema.chronicle.app/inAlbum · Suggest a change

Esc

↑↓ to move↵ to open/ or ⌘K to search