A person may be released on his or her own recognizance in the court's discretion, subject to the same factors considered in setting bail.
Before any person arrested for a serious felony may be released on bail, a hearing may be held before the magistrate or judge, and the prosecuting attorney and the victim shall be given notice and reasonable opportunity to be heard on the matter.
When a judge or magistrate grants or denies bail or release on a person's own recognizance, the reasons for that decision shall be stated in the record and included in the court's minutes.
Cal. Const. art. I § 28