Created
September 21, 2023 10:43
-
-
Save metaisfacil/6ffa5a83b32ce573d26b92cefcd641d6 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
const ENTITY_TYPE_MAP = { | |
// Places | |
'Arranged At': {entityType: 'place', linkType: '865'}, | |
'Engineered At': {entityType: 'place', linkType: '812'}, | |
'Recorded At': {entityType: 'place', linkType: '695'}, | |
'Mixed At': {entityType: 'place', linkType: '696'}, | |
'Mastered At': {entityType: 'place', linkType: '697'}, | |
'Lacquer Cut At': {entityType: 'place', linkType: '968'}, | |
'edited At': {entityType: 'place', linkType: '820'}, | |
'Remixed At': {entityType: 'place', linkType: '828'}, | |
'Produced At': {entityType: 'place', linkType: '824'}, | |
'manufactured At': {entityType: 'place', linkType: '953'}, | |
'Glass Mastered At': {entityType: 'place', linkType: '954'}, | |
'Pressed At': {entityType: 'place', linkType: '941'}, | |
// Labels | |
'Copyright (c)': {entityType: 'label', linkType: '708'}, | |
'Phonographic Copyright (p)': {entityType: 'label', linkType: '711'}, | |
'Licensed From': {entityType: 'label', linkType: '833'}, | |
'Licensed To': {entityType: 'label', linkType: '712'}, | |
'Distributed By': {entityType: 'label', linkType: '361'}, | |
'Made By': {entityType: 'label', linkType: '360'}, | |
'Manufactured By': {entityType: 'label', linkType: '360'}, | |
'Glass Mastered By': {entityType: 'label', linkType: '955'}, | |
'Pressed By': {entityType: 'label', linkType: '942'}, | |
'Marketed By': {entityType: 'label', linkType: '848'}, | |
'Printed By': {entityType: 'label', linkType: '985'}, | |
'Promoted By': {entityType: 'label', linkType: '359'}, | |
'Published By': {entityType: 'label', linkType: '362'}, | |
'Rights Society': {entityType: 'label', linkType: '349'}, | |
'Arranged For': {entityType: 'label', linkType: '948'}, | |
'Manufactured For': {entityType: 'label', linkType: '952'}, | |
'Mixed For': {entityType: 'label', linkType: '947'}, | |
'Produced For': {entityType: 'label', linkType: '951'}, | |
'Miscellaneous Support': {entityType: 'label', linkType: '999'}, | |
// Artists | |
Performer: { entityType: 'artist', linkType: '51'}, | |
Instruments: { entityType: 'artist', linkType: '44'}, | |
Vocals: { entityType: 'artist', linkType: '60'}, | |
Orchestra: { entityType: 'artist', linkType: '45'}, | |
Conductor: { entityType: 'artist', linkType: '46'}, | |
'Chorus Master': {entityType: 'artist', linkType: '53'}, | |
Concertmaster: { entityType: 'artist', linkType: '759'}, | |
Concertmistress: { entityType: 'artist', linkType: '759'}, | |
'Directed By': {entityType: 'artist', linkType: '1187'}, | |
'Compiled By': {entityType: 'artist', linkType: '48'}, | |
'DJ Mix': {entityType: 'artist', linkType: '43'}, | |
Remix: { entityType: 'artist', linkType: '47'}, | |
'contains samples by': {entityType: 'artist', linkType: '49'}, | |
'Written-By': {entityType: 'artist', linkType: '54'}, | |
'Written By': {entityType: 'artist', linkType: '54'}, | |
'Composed By': {entityType: 'artist', linkType: '55'}, | |
'Words By': {entityType: 'artist', linkType: '56'}, | |
'Lyrics By': {entityType: 'artist', linkType: '56'}, | |
'Libretto By': {entityType: 'artist', linkType: '57'}, | |
'Translated By': {entityType: 'artist', linkType: '871'}, | |
'Arranged By': {entityType: 'artist', linkType: '295'}, | |
'Instrumentation By': {entityType: 'artist', linkType: '41'}, | |
'Orchestrated By': {entityType: 'artist', linkType: '40'}, | |
'vocals arranger': {entityType: 'artist', linkType: '296'}, | |
Producer: { entityType: 'artist', linkType: '30'}, | |
'Executive-Producer': { entityType: 'artist', linkType: '30', attributes: ['executive']}, | |
'Co-producer': {entityType: 'artist', linkType: '30', attributes: ['co']}, | |
Engineer: { entityType: 'artist', linkType: '28'}, | |
'Audio Engineer': {entityType: 'artist', linkType: '31'}, | |
'Mastered By': {entityType: 'artist', linkType: '42'}, | |
'Lacquer Cut By': {entityType: 'artist', linkType: '969'}, | |
'sound engineer': {entityType: 'artist', linkType: '29'}, | |
'Mixed By': {entityType: 'artist', linkType: '26'}, | |
'Recorded By': {entityType: 'artist', linkType: '36'}, | |
'Recording Engineer': {entityType: 'artist', linkType: '36'}, | |
'Programmed By': {entityType: 'artist', linkType: '37'}, | |
Editor: { entityType: 'artist', linkType: '38'}, | |
'balance engineer': {entityType: 'artist', linkType: '727'}, | |
'copyrighted by': {entityType: 'artist', linkType: '709'}, | |
'phonographic copyright by': {entityType: 'artist', linkType: '710'}, | |
Legal: { entityType: 'artist', linkType: '22'}, | |
Booking: { entityType: 'artist', linkType: '23'}, | |
'Art Direction': {entityType: 'artist', linkType: '18'}, | |
Artwork: { entityType: 'artist', linkType: '993'}, | |
'Artwork By': {entityType: 'artist', linkType: '993'}, | |
Design: { entityType: 'artist', linkType: '928'}, | |
'Graphic Design': {entityType: 'artist', linkType: '27'}, | |
Illustration: { entityType: 'artist', linkType: '927'}, | |
'Booklet Editor': {entityType: 'artist', linkType: '929'}, | |
'Photography By': {entityType: 'artist', linkType: '20'}, | |
'instruments technician': {entityType: 'artist', linkType: '987'}, | |
publisher: { entityType: 'artist', linkType: '32'}, | |
'liner notes': {entityType: 'artist', linkType: '24'}, | |
}; |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment