For completed examples of some legal forms, see our Self Help Form and Sample Packets page. Handwritten forms are hard to read.Sample Petition for Writ of Habeas Corpus. Issues which may be raised on habeas corpus; timeliness requirements for filing the writ; format and specific Sixth District's procedures. Under California law, a defendant seeking habeas corpus relief may not file a discovery motion or issue a subpoena duces tecum unless an order to. Be reviewed in the U.S. district courts upon petition for a writ of habeas corpus. I need to file a trial brief in Santa Clara County, CA. The court instructs to "lodge" exhibits totaling over 20 pages. Patient may request writ of habeas corpus any time during 14-day period. Joseph Ryan Hayes was convicted of murder and other offenses in Santa Clara Superior Court. Now before the Court is his petition for writ of habeas corpus.