Resources
Resources
Canonical metadata resource types.
OpenMusicMetadata resources use the same core resource shape as OpenMusic.
type Type = "song" | "album" | "artist";
interface Resource {
id: `omm:${Type}:${string}`;
type: Type;
}Relationships
Only these relationships are supported:
| Resource | Relationships |
|---|---|
song | albums, artists |
album | artists |