User:LordSputnik/Unified Metadata Format

From MusicBrainz Wiki
< User:LordSputnik
Revision as of 23:40, 5 December 2013 by LordSputnik (talk | contribs) (Created page with "Unified Metadata Format is a proposed structure for storing data within and exchanging data between metadata applications. It is based on the [http://en.wikipedia.org/wiki/JSO...")
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to navigationJump to search

Unified Metadata Format is a proposed structure for storing data within and exchanging data between metadata applications. It is based on the JSON format.

Key Features

  • JSON-based - supports key-value pairs, nesting and lists.
  • A standard set of key names which can be mapped to both MusicBrainz webservice data and tags in common metadata formats.
  • Non-standard names are stored in common metadata formats in a block, so they aren't lost on conversion and can be read back into UMF if needed.
  • Everything is an entity or a basic value (string, integer, date, etc.) - entities always have mappings to MusicBrainz IDs, and sometimes other IDs too.

Entity Properties

musicbrainz
specifies a MusicBrainz MBID related to the entity.
amazon
specifies an Amazon ASIN related to the entity.

Release Properties

Key Description ID3 Mapping
title The title of the release TALB
artist The artists credited on the release TPE2

Recording Properties

Key Description ID3 Mapping
title The title of the recording TALB
artist The artists featured on the recording TPE2

Track Properties

Key Description ID3 Mapping
title The title of the track, usually as given on the release TALB
artist The artists performing on the track, as credited on the release TPE2
id The number or text used to identify the track. Commonly referred to as the track number. TPE2

Example

   {
       "release": {
           "title":"Vol. 3: (The Subliminal Verses)",
           "musicbrainz":"cffc2fa1-0bc1-3dc0-b865-d79533d79dbc",
           "discogs":1826346,
           "media":[
               {
                   "tracks":[
                       {
                           "id":0,
                           "recording": {
                               "musicbrainz":"77d7867d-c6ed-406c-9bbb-59756f9f8ded"
                           }
                   ]
               }
           ]
       }
   }