"""Label participant constants.""" SUPPORTED_ROLE_CATEGORIES = [ 'Record Label Personnel', 'Studio Personnel', 'Compositional Contributor', ] OTHER_LABEL_PERSONNEL = 'Other Label Personnel' OTHER_STUDIO_PERSONNEL = 'Other Studio Personnel' OTHER_COMPOSITIONAL_PERSONNEL = 'Other Compositional Contributor' # This is used to override role mappings for roles # that come back from SWB formatted different from the # DDEX name that is provided by participationRoleCategories. ROLE_MAPPING_OVERRIDE = { 'A&R Assistant': 'A & R Coordinator', 'A&R Coordinator': 'A & R Coordinator', 'Coordinator': 'Production Coordinator', 'Performance Arranger': OTHER_STUDIO_PERSONNEL, 'Preparer': OTHER_STUDIO_PERSONNEL, 'Project Coordinator': OTHER_STUDIO_PERSONNEL, 'Re-Mastering Engineer': OTHER_STUDIO_PERSONNEL, 'Re-Mastering Supervisor': OTHER_STUDIO_PERSONNEL, 'Film Company': OTHER_STUDIO_PERSONNEL, 'A&R Director': OTHER_LABEL_PERSONNEL, 'Talent Scout': OTHER_LABEL_PERSONNEL, 'Book Writer': OTHER_COMPOSITIONAL_PERSONNEL, 'Cadenza': OTHER_COMPOSITIONAL_PERSONNEL, 'Dance Arranger': OTHER_COMPOSITIONAL_PERSONNEL, 'Orchestrator': OTHER_COMPOSITIONAL_PERSONNEL, 'ScreenplayAuthor': OTHER_COMPOSITIONAL_PERSONNEL, 'Transcriber': OTHER_COMPOSITIONAL_PERSONNEL }