The detention of the minor shall only be carried out through a court order. The detention of a minor prior to the adjudicative hearing will not be ordered unless:
(1) It is necessary for the safety of the minor or because he represents a risk to the community;
(2) the minor refuses to, or is mentally or physically unable to state his name, that of his parents or guardian and his residential address;
(3) when there are no responsible persons willing to assume custody of the minor and guarantee his appearance at subsequent procedures;
(4) that the minor has fled or has a known record of nonappearances;
(5) that, because it has been determined that he has previously committed offenses which, if committed by an adult would constitute a felony, and probable cause has been determined in the offense he is charged with at present, it could be reasonably believed that he seriously threatens the public peace, or
(6) that upon having summoned the minor for the hearing to determine probable cause, he does not appear and probable cause is determined in his absence.
History —July 9, 1986, No. 88, p. 276, § 20, eff. 180 days after July 9, 1986.