Metadata structure
Each JSON file has a maximum of 1000 albums. Where there are more than 1000 albums per update, then multiple JSON files will be delivered.
The naming structure of the JSON files is: TG_{yyyyMMdd}_{HHmmss}.json
The metadata delivered within the JSON file is described below
1. Objects
Album | releaseId | Y | ||
Album | action | Y | ||
Album | upc | Y | ||
Album | grid | N | ||
Album | type | Y | ||
Album | title | display | Y | |
Album | title | language | Y | |
Album | artistId | Y | ||
Album | artistName | display | Y | |
Album | artistName | language | Y | |
Album | genre | genreName | N | |
Album | genre | subGenreName | N | |
Album | contributors | id | 2.69 | N |
Album | contributors | role | 2.69 | N |
Album | contributors | name | 2.69 | N |
Album | discCount | Y | ||
Album | trackCount | Y | ||
Album | recordLabel | labelOwnerId | Y | |
Album | recordLabel | labelOwnerName | Y | |
Album | subRecordLabel | labelOwnerId | N | |
Album | subRecordLabel | labelOwnerName | N | |
Album | displayLabel | Y | ||
Album | provisionProducerLine | N | ||
Album | distFlg | Y | ||
Album | originalReleaseDate | Y | ||
Album | rights | startDate | Y | |
Album | rights | endDate | Y | |
Album | rights | country | Y | |
Album | rights | type | Y | |
Album | mediaFlg | Y | ||
Album | explicit | Y | ||
Album | contentLanguage | N | ||
Album | custom1 | N | ||
Album | custom2 | N | ||
Album | custom3 | N | ||
Album | custom4 | N | ||
Album | custom5 | N | ||
Album | imageLocation | N | ||
≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ | ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ | ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ | ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ | ≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡≡ |
Track | discNumber | Y | ||
Track | trackNumber | Y | ||
Track | trackId | Y | ||
Track | grid | N | ||
Track | isrc | Y | ||
Track | duration | Y | ||
Track | title | display | Y | |
Track | title | language | Y | |
Track | artistId | Y | ||
Track | artistName | display | Y | |
Track | artistName | language | Y | |
Track | genre | genreName | Y* | |
Track | genre | subGenreName | Y* | |
Track | distFlg | Y | ||
Track | displayLabel | Y | ||
Track | contributors | id | N | |
Track | contributors | role | N | |
Track | contributors | name | N | |
Track | provisionProducerLine | N | ||
Track | rights | startDate | Y | |
Track | rights | endDate | Y | |
Track | rights | country | Y | |
Track | rights | type | Y | |
Track | mediaFlg | Y | ||
Track | explicit | Y | ||
Track | audioLocation | N | ||
Track | contentLanguage | N | ||
Track | pubRights | N | ||
Track | audioAnalysis | integratedLufs | N | |
Track | audioAnalysis | loudnessRange | N | |
Track | audioAnalysis | truePeakDbfs | N | |
Track | audioAnalysis | maxTruePeakDbfs | N | |
Track | audioAnalysis | dbOffset | N | |
Track | audioAnalysis | normalizationMultiplier | N | |
Track | disambiguation | disambiguationId | N | |
Track | disambiguation | confidenceScore | N | |
Track | custom1 | N | ||
Track | custom2 | N | ||
Track | custom3 | N | ||
Track | custom4 | N | ||
Track | custom5 | N |
2. Fields description
ALBUM
2.21 releaseId
TunedGlobal`s unique album identifier ID. Use this ID for access to album assets such as artwork (via Content Feed API)
2.21 releaseId | String | Y |
2.22 action
This field will describe the delivery. Options are New, Update or Takedown.
Recommended best practice is:
- New Action: Add all metadata to your system as a new item. Best practice is to test for the existence of this ID, even though it is denoted as new.
- Note that to make an album or track active on your system you must still check the Album Rights (2.38) and Track Rights (2.60) and ensure that you are complying with the startDate to give people access to the asset. Note: This is a critical requirement of your licensing, otherwise you will be in Breach of your agreement.
- Update Action: Treat an update as a New, being to delete the metadata in your system and re-insert as per a New. This includes fetching new objects as they may have been updated by the label.
- Notes
- An update can be a takedown in that the endDate in rights has been updated to be a past, today or future date. You must check these dates and manage the availability of the products on your system. This means that if an endDate is past or today, then the album or track should NOT be available. If it is a future date, you must create a system to make this product unavailable at that time. TUNED will not send through an additional update for this item.
- To make an album or track active on your system you must still check the Album Rights (2.38) and Track Rights (2.60) and ensure that you are complying with the startDate to give people access to the asset.
- Rights management is a critical requirement of your licensing, otherwise you will be in Breach of your agreement.
- If an Takedown, you can assume you can remove all the rights to this item immediately and make it unavailable on your system.
2.22 action | I=INSERT (NEW) U=UPDATE X=TAKEDOWN | String | Y |
2.23 upc
The UPC that identifies this release. Note that a UPC is not unique, multiple labels may deliver the same UPC. This is for information only, rely on the releaseId as a unique property.
2.23 upc | String | Y |
2.24 grid
The GRID that identifies this release.
2.24 grid | String | N |
2.25 type
Denotes the type of release, Album, Single, EP etc.
2.25 type | String | Y |
2.26 title
This is an array denoting the title of the album. The array supports multiple languages.
The values are:
- display: The Title to display
- language: denoting the ISO code for the language.
2.26 title | display | String | Y |
language | String (ISO 3166-1 alpha-2) |
2.27 artistId
Denotes the artist ID. Use this ID to build your own Artist Data System.
2.27 artistId | String | Y |
2.28 artistName
This is an array denoting the name of the artist. The array supports multiple languages.
The values are:
- display: The Artist Name to display
- language: denoting the ISO code for the language.
2.28 artistName | display | String | Y |
language | String (ISO 3166-1 alpha-2) | Y |
2.29 genre
This is an array denoting the genre of the album. The array supports multiple genres.
The values are:
- genreName: A primary genre for this album
- subGenreName: denoting a sub genre to the primary genre.
2.29 genre | display | String | Y |
language | String (ISO 3166-1 alpha-2) | Y |
2.30 discCount
Denotes number of discs for this Album.
2.30 discCount | Number | Y |
2.31 trackCount
Denotes number of tracks for this Album.
2.31 trackCount | Number | Y |
2.32 recordLabel
This is a parent label / master rights holder for the the album.
The values are:
- labelOwnerID: This is the Tuned Global id of delivering party
- labelOwnerName: denoting the name of the delivering party.
2.32 recordLabel | labelOwnerId | Number | Y |
labelOwnerName | String | Y |
2.33 subRecordLabel
This is a sub label or the delivery partner for the parent label.
The values are:
- labelOwnerID: This is the Tuned Global id of delivering party
- labelOwnerName: denoting the name of the delivering party.
2.33 subRecordLabel | labelOwnerId | Number | Y |
labelOwnerName | String | Y |
2.34 displayLabel
Display label (eg. LaFace records).
2.34 displayLabel | String | Y |
2.35 provisionProducerLine
C Line for display only
2.35 provisionProducerLine | String | Y |
2.36 distFlg
Denotes general availability of this album for display purposes. Streaming rights are at a track level.
2.36 distFlg | 0 = Album Distribution is available 1 = Album Distribution is NOT available | String | Y |
2.37 originalReleaseDate
Denotes original release date of album. If unavailable the release date will be used.
2.37 originalReleaseDate | String, yyyy-mm-dd | Y |
2.38 rights
This is an array denoting the availability of the album. Granular streaming rights are at a track level. The array supports multiple territories.
The values are:
- startDate: the start date for access, sent with UTC offset
- endDate: the end date for access
- country: the applicable territory in ISO 3166 format(WW denotes worldwide)
- type: the usage type such as streaming or download, streaming is the default.
2.38 rights | startDate | String, YYYY-MM-DD | Y |
endDate | String, YYYY-MM-DD | Y | |
country | String, (ISO 3166-1 alpha-2 includes WW) | Y | |
type | String | Y |
2.39 mediaFlag
Denotes if the Album is a video or audio album.
2.39 mediaFlag | 1: Audio only | Number | Y |
2.40 explicit
Denotes if the album contains explicit lyrics
2.40 explicit | Options are True or False | String | Y |
2.41 custom1
Custom field for client (eg. BPM or key). This custom field is currently used to send BPM.
2.41 custom1 | String | N |
2.42 custom2
Custom field for client (eg. BPM or key).
2.42 custom2 | String | N |
2.43 custom3
Custom field for client (eg. BPM or key).
2.43 custom3 | String | N |
2.44 custom4
Custom field for client (eg. BPM or key).
2.44 custom4 | String | N |
2.45 custom5
Custom field for client (eg. BPM or key).
2.45 custom5 | String | N |
2.46 custom6
No longer used. Use the Content Feed API to request the asset.
2.46 custom6 | String | N |
2.70 contentLanguage
This denotes the language of the performance. It is only made available if it is explicitly sent through by the Licensor, otherwise this will be NULL.
2.70 contentLanguage | String (ISO 639-2 alpha-3) | N |
TRACK (List)
2.47 discNumber
The disc number of this release
2.47 discNumber | Number | Y |
2.48 trackNumber
The track number of this release. Note if there are 2 discs the numbering will continue as a total track count, not per disc.
2.48 trackNumber | Number | Y |
2.49 trackId
TunedGlobal`s unique track identifier ID. Use this ID for access to track assets such as audio or video files (via Content Feed API)
2.49 trackId | String | Y |
2.50 grid
The GRID that identifies this track.
2.50 grid | String | N |
2.51 isrc
The ISRC that identifies this track. Note that an ISRC is not unique, labels may deliver the same ISRC on different albums. This is for information only, rely on the trackId as a unique property.
2.51 isrc | String | Y |
2.52 duration
The duration of the track in seconds
2.52 duration | Number | Y |
2.53 title
This is an array denoting the title of the track. The array supports multiple languages.
The values are:
- display: The Title to display
- language: denoting the ISO code for the language.
2.53 title | display | String | Y |
language | String (ISO 3166-1 alpha-2) | Y |
2.54 artistID
Denotes the artist ID. Use this ID to build your own Artist Data System.
2.54 artistID | String | Y |
2.55 artistName
This is an array denoting the name of the artist. The array supports multiple languages.
The values are:
- display: The Artist Name to display
- language: denoting the ISO code for the language.
2.53 title | display | String | Y |
language | String (ISO 3166-1 alpha-2) | Y |
2.56 genre
This is an array denoting the genre of the track. The array supports multiple genres.
The values are:
- genreName: A primary genre for this album
- subGenreName: denoting a sub genre to the primary genre.
2.56 genre | genreName | String | N |
subGenreName | String | N |
2.57 distFlg
Denotes general availability of this album for display purposes. Streaming rights are at a track level.
2.57 distFlg | 0 = Album Distribution is available 1 = Album Distribution is NOT available | String | Y |
2.58 displayLabel
Display label (eg. LaFace records).
2.58 displayLabel | String | Y |
2.59 provisionProducerLine
P Line for display only.
2.59 provisionProducerLine | Number | Y |
2.60 rights
This is an array denoting the availability of a track in regards to its Master Rights only (not Publishing Rights). Granular streaming rights are at a track level. The array supports multiple territories and usage types.
The values are:
- startDate: the start date for access, sent with UTC offset
- endDate: the end date for access
- country: the applicable territory in ISO 3166 format (WW denotes worldwide)
- type: the usage type such as streaming or download, streaming is the default.
Dates are formatted as follows: YYYY-MM-DDThh:mm:ssTZD (eg 1997-07-16T19:20:30+01:00)
2.60 rights | startDate | String, YYYY-MM-DDThh:mm:ssTDZ | Y |
endDate | String, YYYY-MM-DDThh:mm:ssTDZ | Y | |
country | String, (ISO 3166-1 alpha-2 includes WW) | Y | |
type | String | Y |
2.61 mediaFlag
Denotes if the Album is a video or audio album.
2.61 mediaFlag | 1: Audio only | Number | Y |
2.62 explicit
Denotes if the track contains explicit lyrics.
2.62 explicit | True | String | Y |
2.63 custom1
Custom field for client (Currently used to provide BPM).
2.63 custom1 | String | N |
2.64 custom2
Custom field for client (eg. Tag Value, such as mood).
2.64 custom2 | String | N |
2.65 custom3
Custom field for client (eg. Tag Value, such as mood).
2.65 custom3 | String | N |
2.66 custom4
Custom field for client (eg. Tag Value, such as mood, usually used for LyricFind id, if licensed).
2.66 custom4 | String | N |
2.67 custom5
Custom field for client (eg. Tag Value, such as mood).
2.67 custom5 | String | N |
2.68 audioLocation
No longer used. Use the Content Feed API to request the asset.
2.68 audioLocation | String | N |
2.69 contributors
This is an array denoting the contributor. The array supports multiple contributors.
The values are:
- id: artist id if the name exist in the artist table, else the value will be 0
- role: contributor role
- name: contributor name
2.69 contributors | id | String | N |
role | String | N | |
name | String | N |
2.71 contentLanguage
This denotes the language of the performance. It is only made available if it is explicitly sent through by the Licensor, otherwise this will be NULL.
2.71 contentLanguage | String (ISO 639-2 alpha-3) | N |
2.72 pubRights
This is an array denoting the availability of a track in regards to its Publishing Rights only (not Master Rights). The array supports multiple territories and is only displayed for a territory where it has been denoted that 100% of Publishing Rights are available.
The value within the array is;
- country: the applicable territory in ISO 3166 format
2.72 pubRights | country | String, (ISO 3166-1 alpha-2) | N |
2.73 audioAnalysis
This object describes how loud the track is and the peak level it reaches, as measured by Tuned Global when the track is ingested. It is only delivered where the track has been analysed and audio analysis is enabled on your feed. Where it is not delivered the object is omitted from the track rather than sent as null, as is any individual measurement that has no value.
The values are:
- integratedLufs: integrated loudness of the track, in LUFS
- loudnessRange: loudness range of the track, in LU
- truePeakDbfs: true peak level of the track, in dBFS
- maxTruePeakDbfs: reference ceiling for normalisation headroom, in dBFS
- dbOffset: loudness offset for the track, in dB
- normalizationMultiplier: the loudness offset expressed as a linear multiplier
2.73 audioAnalysis | integratedLufs | Number | N |
loudnessRange | Number | N | |
truePeakDbfs | Number | N | |
maxTruePeakDbfs | Number | N | |
dbOffset | Number | N | |
normalizationMultiplier | Number | N |
2.74 disambiguation
The same recording can appear in the feed under several different trackIds, because it is delivered on more than one release (a single, an album, a compilation, a deluxe edition). This object lets you identify those duplicates: every track matched to the same recording carries the same disambiguationId, which is the trackId Tuned Global treats as the reference for that recording. A track can be its own reference, in which case disambiguationId matches its own trackId. Where there is no match for a track the object is omitted rather than sent as null.
The values are:
- disambiguationId: the trackId (2.49) of the track Tuned Global treats as the reference for this recording
- confidenceScore: an indication of how the match was made
2.74 disambiguation | disambiguationId | Number | N |
confidenceScore | Number | N |
On this page
- Metadata structure