According to the Code of Criminal Procedure (CCP), a victim of violent crime is:
Someone who is the victim of sexual assault, kidnapping, aggravated robbery, trafficking of persons, or who has suffered a personal injury or death because of the criminal conduct of another
The close relative (e.g., spouse, parent, adult brother or sister, or child) of a deceased victim
The guardian of a victim
A victim, guardian of a victim, or close relative of a deceased victim is entitled to be present at all public court proceedings with the consent of the presiding judge. A judge, attorney for the state, peace officer, or law enforcement agency is not liable for a failure or inability to provide a right enumerated herein.
The law also states that a victim of a sexual assault has the right to the accompaniment of a victim advocate during the sexual assault exam, if an advocate is available at the time of the examination.
Rights also apply to victims of juvenile crime, including victims who suffer property loss.