1-27-101. Petition to be under oath; contents.
(a) The petition for the writ of habeas corpus shall be sworn to and shall state:
(i) The person for whom the writ is sought is restrained of his liberty, by whom he is restrained and the place where he is restrained, stating the names of the parties if known and if unknown, describing them with as much particularity as practicable;
(ii) The cause or reason for the restraint according to the best information of the petitioner, and if it is by virtue of any legal process, a copy thereof must be annexed or a satisfactory reason presented for its absence;
(iii) The restraint is illegal;
(iv) The legality of the restraint has not been adjudged in a prior proceeding, of the same character, to the best knowledge and belief of the applicant, or if previously adjudged the facts of the prior proceeding with a copy of all the papers connected therewith or a satisfactory reason for the absence thereof; and
(v) Whether petition for the writ has been made to and refused by any court or judge, and if a petition has been made, a copy of the petition with the reason for the refusal appended or satisfactory reasons given for the failure to do so.