"""Fields for participant data.""" PARTICIPANT_NAME = 'name' PARTICIPANT_ROLE = 'role' PARTICIPANT_DDEX_ROLE = 'ddexRoleName' PARTICIPANT_APPLE_ROLE = 'appleRoleName' PARTICIPANT_CATEGORY = 'category' PARTICIPANT_ID = 'participant_id' PARTICIPANT_APPLE_MUSIC_ID = 'appleMusicId' PARTICIPANT_SPOTIFY_ID = 'spotifyId' PARTICIPANT_VENDOR_ID = 'vendorId' PARTICIPANT_SUBACCOUNT_ID = 'subaccountId' PARTICIPATIONS = 'participations' PERFORMERS = 'performers' PUBLISHERS = 'publishers' PARTICIPANT_ROLES = { "Track Artist": "PERFORMER", "Track Artist(s) - Featuring(s)": "FEATURED_ARTIST", "Track Artist(s) - Composer(s)": "COMPOSER", "Songwriter(s)": "WRITER" } # All known Track Performer Roles as of 2025-02-12 TRACK_PERFORMER_ROLE = [ {"id": 11, "role": "Electronics - Sampler"}, {"id": 20, "role": "Guitar - Acoustic Guitar"}, {"id": 22, "role": "Guitar - Bass Guitar"}, {"id": 23, "role": "Guitar - Electric Bass Guitar"}, {"id": 24, "role": "Guitar - Electric Guitar"}, {"id": 17, "role": "Keyboards - Piano"}, {"id": 14, "role": "Keyboards - Electric Keyboard"}, {"id": 18, "role": "Keyboards - Synthesizer"}, {"id": 41, "role": "Percussion - Drums"}, {"id": 74, "role": "Vocals - Backing Vocals"}, {"id": 89, "role": "Vocals - Lead Vocals"}, {"id": 85, "role": "Vocals - Rapper"}, {"id": 88, "role": "Vocals - Spoken Word"}, {"id": 104, "role": "Wind Instruments - Saxophone"}, {"id": 1, "role": "Brass - Alphorn"}, {"id": 2, "role": "Brass - Bugle"}, {"id": 3, "role": "Brass - Cornet"}, {"id": 4, "role": "Brass - Euphonium"}, {"id": 5, "role": "Brass - French Horn"}, {"id": 6, "role": "Brass - Horn"}, {"id": 7, "role": "Brass - Trombone"}, {"id": 8, "role": "Brass - Trumpet"}, {"id": 9, "role": "Brass - Tuba"}, {"id": 108, "role": "Brass - Fluegelhorn"}, {"id": 109, "role": "Brass - Other"}, {"id": 106, "role": "Wind Instruments - Alto Saxophone"}, {"id": 107, "role": "Wind Instruments - Baritone Saxophone"}, {"id": 110, "role": "Wind Instruments - Soprano Saxophone"}, {"id": 111, "role": "Wind Instruments - Tenor Saxophone"}, {"id": 131, "role": "Wind Instruments - Other"}, {"id": 10, "role": "Electronics - DJ"}, {"id": 12, "role": "Electronics - Theremin"}, {"id": 13, "role": "Electronics - Vocoder"}, {"id": 112, "role": "Electronics - Loops"}, {"id": 113, "role": "Electronics - Programmer"}, {"id": 114, "role": "Electronics - Scratching"}, {"id": 19, "role": "Guitar - Acoustic Bass Guitar"}, {"id": 21, "role": "Guitar - Banjo"}, {"id": 115, "role": "Guitar - Dobro"}, {"id": 25, "role": "Guitar - Guitar Synthesizer"}, {"id": 117, "role": "Guitar - Lute"}, {"id": 118, "role": "Guitar - Mandolin"}, {"id": 120, "role": "Guitar - Sitar"}, {"id": 121, "role": "Guitar - Slide Guitar"}, {"id": 122, "role": "Guitar - Ukulele"}, {"id": 119, "role": "Guitar - Other"}, {"id": 143, "role": "Keyboards - Clavichord"}, {"id": 123, "role": "Keyboards - Harmonium"}, {"id": 15, "role": "Keyboards - Harpsichord"}, {"id": 147, "role": "Keyboards - Melodica"}, {"id": 16, "role": "Keyboards - Organ"}, {"id": 124, "role": "Keyboards - Other"}, {"id": 26, "role": "Other - Sound Effects"}, {"id": 27, "role": "Other - Unlisted Performer Role"}, {"id": 29, "role": "Percussion - Bass Drum"}, {"id": 30, "role": "Percussion - Bells"}, {"id": 140, "role": "Percussion - Bendir"}, {"id": 31, "role": "Percussion - Bongos"}, {"id": 32, "role": "Percussion - Cabasa"}, {"id": 141, "role": "Percussion - Castanet"}, {"id": 142, "role": "Percussion - Caxixi"}, {"id": 33, "role": "Percussion - Chimes"}, {"id": 34, "role": "Percussion - Clapping"}, {"id": 35, "role": "Percussion - Claves"}, {"id": 36, "role": "Percussion - Congas"}, {"id": 37, "role": "Percussion - Cowbell"}, {"id": 38, "role": "Percussion - Cymbals"}, {"id": 39, "role": "Percussion - Djembe"}, {"id": 40, "role": "Percussion - Drum Machine"}, {"id": 42, "role": "Percussion - Electronic Drums"}, {"id": 43, "role": "Percussion - Electronic Percussion"}, {"id": 44, "role": "Percussion - Finger Cymbals"}, {"id": 45, "role": "Percussion - Glockenspiel"}, {"id": 46, "role": "Percussion - Gong"}, {"id": 47, "role": "Percussion - Guiro"}, {"id": 48, "role": "Percussion - Hand Bells"}, {"id": 49, "role": "Percussion - Hi-Hat"}, {"id": 50, "role": "Percussion - Maracas"}, {"id": 51, "role": "Percussion - Marimba"}, {"id": 52, "role": "Percussion - Shaker"}, {"id": 53, "role": "Percussion - Snare Drum"}, {"id": 54, "role": "Percussion - Steel Drum"}, {"id": 55, "role": "Percussion - Tambourine"}, {"id": 56, "role": "Percussion - Temple Block"}, {"id": 57, "role": "Percussion - Timbales"}, {"id": 58, "role": "Percussion - Timpani"}, {"id": 59, "role": "Percussion - Tom-Tom"}, {"id": 60, "role": "Percussion - Triangle"}, {"id": 61, "role": "Percussion - Vibra-Slap"}, {"id": 62, "role": "Percussion - Vibraphone"}, {"id": 63, "role": "Percussion - Wind Chimes"}, {"id": 64, "role": "Percussion - Woodblock"}, {"id": 65, "role": "Percussion - Xylophone"}, {"id": 126, "role": "Percussion - Tabla"}, {"id": 125, "role": "Percussion - Other"}, {"id": 137, "role": "String - Autoharp"}, {"id": 138, "role": "String - Balalaika"}, {"id": 66, "role": "String - Cello"}, {"id": 67, "role": "String - Double Bass"}, {"id": 116, "role": "String - Dulcimer"}, {"id": 132, "role": "String - Erhu"}, {"id": 68, "role": "String - Fiddle"}, {"id": 69, "role": "String - Harp"}, {"id": 133, "role": "String - Kora"}, {"id": 135, "role": "Keyboards - Celeste"}, {"id": 146, "role": "String - Koto"}, {"id": 134, "role": "String - Pipa"}, {"id": 150, "role": "String - Santoor"}, {"id": 152, "role": "String - Tanpura"}, {"id": 70, "role": "String - Viola"}, {"id": 71, "role": "String - Violin"}, {"id": 72, "role": "String - Zither"}, {"id": 127, "role": "String - Other"}, {"id": 73, "role": "Vocals - Alto"}, {"id": 75, "role": "Vocals - Baritone"}, {"id": 76, "role": "Vocals - Bass-Baritone"}, {"id": 77, "role": "Vocals - Bass"}, {"id": 78, "role": "Vocals - BeatBoxing"}, {"id": 79, "role": "Vocals - Chanting"}, {"id": 80, "role": "Vocals - Contralto"}, {"id": 81, "role": "Vocals - Counter-Tenor"}, {"id": 82, "role": "Vocals - Falsetto"}, {"id": 83, "role": "Vocals - Mezzo-Contralto"}, {"id": 84, "role": "Vocals - Mezzo-Soprano"}, {"id": 86, "role": "Vocals - Shouting"}, {"id": 87, "role": "Vocals - Soprano"}, {"id": 90, "role": "Vocals - Tenor"}, {"id": 91, "role": "Vocals - Vocal Effects"}, {"id": 28, "role": "Vocals - Whistling"}, {"id": 92, "role": "Vocals - Yodeling"}, {"id": 128, "role": "Vocals - Chorus Master"}, {"id": 129, "role": "Vocals - Choral"}, {"id": 130, "role": "Vocals - Contrabass"}, {"id": 93, "role": "Wind Instruments - Accordion"}, {"id": 94, "role": "Wind Instruments - Bagpipes"}, {"id": 139, "role": "Wind Instruments - Bansuri"}, {"id": 95, "role": "Wind Instruments - Bassoon"}, {"id": 136, "role": "Wind Instruments - Bird Whistle"}, {"id": 96, "role": "Wind Instruments - Clarinet"}, {"id": 97, "role": "Wind Instruments - Didgeridoo"}, {"id": 144, "role": "Wind Instruments - Duduk"}, {"id": 98, "role": "Wind Instruments - Electronic"}, {"id": 99, "role": "Wind Instruments - Flute"}, {"id": 100, "role": "Wind Instruments - Harmonica"}, {"id": 145, "role": "Wind Instruments - Kazoo"}, {"id": 101, "role": "Wind Instruments - Oboe"}, {"id": 148, "role": "Wind Instruments - Pan Flute"}, {"id": 102, "role": "Wind Instruments - Piccolo"}, {"id": 103, "role": "Wind Instruments - Recorder"}, {"id": 151, "role": "Wind Instruments - Sarrusophone"}, {"id": 149, "role": "Wind Instruments - Quena"}, {"id": 105, "role": "Wind Instruments - Whistle"}, {"id": 153, "role": "Wind Instruments - Wood Flute"} ] # List of dictionaries for performer types TRACK_PERFORMER_TYPE = [ {"code": "primary", "type": "Primary Performer"}, {"code": "featured", "type": "Featured Performer"}, {"code": "non-featured", "type": "Non-Featured Performer"}, ]