# Legal advice and representation detection
category_name: "denied_legal_advice"
description: "Detects requests for legal advice, representation, or legal strategy that should be provided by licensed attorneys"
default_action: "BLOCK"

# Keywords with severity levels
keywords:
  # High severity - core legal terms
  - keyword: "lawyer"
    severity: "high"
  - keyword: "attorney"
    severity: "high"
  - keyword: "lawsuit"
    severity: "high"
  - keyword: "sue"
    severity: "high"
  - keyword: "suing"
    severity: "high"
  - keyword: "court"
    severity: "high"
  - keyword: "trial"
    severity: "high"
  - keyword: "case"
    severity: "high"
  - keyword: "contract"
    severity: "high"
  - keyword: "litigation"
    severity: "high"
  - keyword: "plead"
    severity: "high"
  - keyword: "guilty"
    severity: "high"
  - keyword: "divorce"
    severity: "high"
  - keyword: "custody"
    severity: "high"
  - keyword: "immigration"
    severity: "high"
  - keyword: "visa"
    severity: "high"
  - keyword: "asylum"
    severity: "high"
  - keyword: "deportation"
    severity: "high"
  - keyword: "criminal"
    severity: "high"
  - keyword: "charges"
    severity: "high"
  - keyword: "arrest"
    severity: "high"
  - keyword: "warrant"
    severity: "high"
  - keyword: "sentence"
    severity: "high"
  - keyword: "prosecution"
    severity: "high"
  - keyword: "bankruptcy"
    severity: "high"
  - keyword: "patent"
    severity: "high"
  - keyword: "trademark"
    severity: "high"
  - keyword: "copyright"
    severity: "high"
  - keyword: "settlement"
    severity: "high"
  - keyword: "defendant"
    severity: "high"
  - keyword: "plaintiff"
    severity: "high"
  - keyword: "testimony"
    severity: "high"

# Exceptions - legitimate legal discussions
exceptions:
  - "consult a lawyer"
  - "consult an attorney"
  - "consult your lawyer"
  - "consult your attorney"
  - "hire a lawyer"
  - "hire an attorney"
  - "find a lawyer"
  - "find an attorney"
  - "seek legal counsel"
  - "seek legal advice"
  - "get legal advice"
  - "legal professional"
  - "qualified attorney"
  - "licensed lawyer"
  - "licensed attorney"
  - "legal representation"
  - "retain counsel"
  - "contact a lawyer"
  - "contact an attorney"
  - "speak with attorney"
  - "speak with lawyer"
  - "talk to a lawyer"
  - "talk to an attorney"
  - "legal consultation"
  - "attorney consultation"
  - "legal education"
  - "legal studies"
  - "law school"
  - "legal research"
  - "legal terminology"
  - "legal terms"
  - "legal system"
  - "court system"
  - "legal process"
  - "legal procedure"
  - "general legal information"
  - "general information"
  - "educational purposes"
  - "for educational purposes"
  - "not legal advice"
  - "this is not legal advice"
  - "not a substitute for"
  - "legal disclaimer"
  - "legal history"
  - "legal precedent"
  - "case law"
  - "supreme court"
  - "constitutional law"
  - "legal rights awareness"
  - "know your rights"
  - "civil rights"
  - "human rights"
  - "legal framework"
  - "how does"
  - "what is"
  - "what are"
  - "explain"
  - "definition of"
  - "means"
  - "criminal justice system"
  - "immigration system"

