import { Injectable, NotFoundException } from '@nestjs/common'; @Injectable() export class GuidesService { private guides = { lawyers: { audience: 'lawyers', title: 'Quick Reference: Legal Professionals', description: 'For attorneys, public defenders, legal advocates', essentialCases: [ { case: 'Lukumi v. Hialeah (1993)', citation: '508 U.S. 520', holding: 'Laws targeting religious practice violate Free Exercise Clause', }, { case: 'Employment Division v. Smith (1990)', citation: '494 U.S. 872', holding: 'Neutral laws of general applicability may burden religion', }, { case: 'Gonzales v. O Centro (2006)', citation: '546 U.S. 418', holding: 'RFRA protects religious use of controlled substances', }, ], defenseFramework: [ '1. Establish sincere religious belief', '2. Document historical continuity of practice', '3. Challenge selective enforcement', '4. Expert witnesses: anthropologists, religious studies scholars', '5. Invoke RFRA (federal) or state equivalents', '6. International human rights standards as persuasive authority', ], expertWitnesses: [ 'Contact universities with African diaspora religious studies programs', 'Anthropologists specializing in Caribbean religions', 'Religious studies scholars with publication records', ], commonPitfalls: [ 'Allowing prosecution to define "legitimate" religion', 'Failing to challenge media-influenced jury bias', 'Not documenting actual religious practice vs. prosecution claims', ], }, educators: { audience: 'educators', title: 'Quick Reference: Educators', description: 'For teachers, professors, curriculum developers', keyMessages: [ 'Afro-Caribbean religions are legitimate world religions with millions of practitioners', 'Hollywood portrayals are fiction, not documentation', 'Persecution patterns parallel historical religious persecution', 'Academic study is growing rapidly at major universities', 'These traditions have rich philosophical and ethical systems', ], lessonPlanTopics: [ 'World religions: Including African diaspora traditions', 'Religious persecution: Historical and contemporary patterns', 'Media literacy: Analyzing religious representation', 'Colonialism: Impact on indigenous and syncretic religions', 'Civil rights: Religious freedom case studies', ], ageAppropriateApproaches: [ { level: 'Elementary', approach: 'Diversity and respect for different traditions' }, { level: 'Middle School', approach: 'World religions comparison, media literacy' }, { level: 'High School', approach: 'Legal cases, persecution history, colonialism' }, { level: 'University', approach: 'Academic research, fieldwork, primary sources' }, ], resources: [ 'Harvard Pluralism Project', 'Teaching Tolerance (Southern Poverty Law Center)', 'UNESCO Religious Heritage materials', 'Academic journals: Journal of Africana Religions, Nova Religio', ], }, journalists: { audience: 'journalists', title: 'Quick Reference: Journalists', description: 'For reporters, editors, media professionals', ethicalGuidelines: [ 'Consult practitioners and scholars, not just law enforcement', 'Avoid sensationalist language ("cult", "occult", "ritual")', 'Apply same standards to all religions', 'Verify claims about religious motivation with experts', 'Consider impact of coverage on communities', ], expertSources: [ { type: 'Academic', examples: 'Religious studies departments, anthropology, Africana studies' }, { type: 'Community', examples: 'Temple/terreiro leaders, national religious organizations' }, { type: 'Legal', examples: 'Religious freedom advocates, civil liberties organizations' }, ], redFlags: [ 'Law enforcement claiming "ritual crime" without academic consultation', 'Single source stories about religious practices', 'Visual framing that others religious communities', 'Using crime as opportunity to explain unfamiliar religion', ], styleGuide: [ { avoid: 'Voodoo', prefer: 'Vodou (Haitian spelling)' }, { avoid: 'Cult', prefer: 'Religious tradition/community' }, { avoid: 'Ritual killing', prefer: 'Religious sacrifice (if accurate) or crime (if not religious)' }, { avoid: 'Bizarre/strange/weird', prefer: 'Unfamiliar to mainstream audiences' }, ], }, practitioners: { audience: 'practitioners', title: 'Quick Reference: Religious Practitioners', description: 'For Santeros, Houngans, Mambos, Paleros, devotees', knowYourRights: [ 'First Amendment protects sincere religious practice', 'Animal sacrifice is constitutionally protected (Lukumi)', 'Workplace must reasonably accommodate religious practices', 'Cannot be denied housing based on religion', 'Children cannot be removed solely due to parents religion', ], documentYourPractice: [ 'Keep records of initiation, ceremonies, community involvement', 'Document lineage and religious education', 'Photograph altars, religious items (for legal defense if needed)', 'Maintain community connections that can provide witness testimony', ], ifConfrontedByPolice: [ 'Remain calm and respectful', 'You have the right to remain silent', 'Do not consent to searches without warrant', 'Document badge numbers and encounter details', 'Contact religious freedom legal organizations immediately', ], legalResources: [ 'ACLU Religious Freedom Project', 'Becket Fund for Religious Liberty', 'Local religious freedom attorneys', 'National African Religion Congress', ], communityProtection: [ 'Build relationships with local interfaith organizations', 'Educate neighbors about your practice', 'Document any harassment or discrimination', 'Connect with academic researchers as allies', ], }, researchers: { audience: 'researchers', title: 'Quick Reference: Academic Researchers', description: 'For scholars, graduate students, research institutions', ethicalFieldwork: [ 'Obtain informed consent from communities', 'Reciprocity: Give back to communities studied', 'Respect for sacred knowledge (some things should not be published)', 'Collaboration with community members as co-researchers', 'Avoid extractive research practices', ], keyJournals: [ 'Journal of Africana Religions', 'Nova Religio', 'Journal of the American Academy of Religion', 'Anthropological Quarterly', 'Caribbean Quarterly', ], archives: [ 'Schomburg Center for Research in Black Culture (NYPL)', 'Cuban Heritage Collection (University of Miami)', 'Institute for the Study of Latin America and the Caribbean', 'Smithsonian National Museum of African American History', ], methodologies: [ 'Ethnographic fieldwork with community partnership', 'Oral history collection', 'Archival research on colonial persecution', 'Legal case analysis', 'Media content analysis', ], fundingSources: [ 'NEH', 'Ford Foundation', 'Social Science Research Council', 'Wenner-Gren Foundation (anthropology)', 'University diversity and inclusion grants', ], }, }; getAllGuides() { return { count: 5, guides: Object.values(this.guides).map((g) => ({ audience: g.audience, title: g.title, description: g.description, })), }; } getGuide(audience: string) { const guide = this.guides[audience]; if (!guide) { throw new NotFoundException( `Guide for '${audience}' not found. Available: lawyers, educators, journalists, practitioners, researchers`, ); } return guide; } }