Music Album
A music album identity with an optional artist disambiguator.
Fields
1 required · 2 recommended. Every field points at its schema.org property — the definition lives in one place, so nothing drifts. The full inherited superset stays available through @0xintuition/schema-org.
| Field | Type | Description | |
|---|---|---|---|
name |
string | required | The title of the album. schema.org/name |
byArtist |
string | optional | The artist name when needed. schema.org/byArtist |
sameAs |
string[] | optional | Canonical URLs that identify the same music album. schema.org/sameAs |
The canonical shape
What a Music Album atom's data looks like. These exact bytes are what calculateAtomId hashes — shared shape is shared identity.
{
"@context": "https://schema.org/",
"@type": "MusicAlbum",
"name": "Discovery",
"byArtist": "Daft Punk",
"sameAs": [
"https://example.com/canonical"
]
}
import { buildAtomData } from "@0xintuition/classifications";
import { calculateAtomId } from "@0xintuition/ids";
const atomData = buildAtomData("music-album", {
name: "Discovery",
byArtist: "Daft Punk",
});
// deterministic — same bytes, same ID, offchain and on
const atomId = calculateAtomId(atomData);
What a Music Album can say
The recommended triple vocabulary for this classification — each row is a claim shape the graph already understands, with the kind of atom expected on the other end.
Enrichment
Paste a bare reference and the enrichment engine fills a Music Album in from its sources (default pipeline: song) — titles, canonical sameAs URLs, and the fields above, merged onto the same deterministic atom.