3321.22 Juvenile court proceedings.(A) Except as provided in division (B) of this section, if a complaint is filed against the parent, guardian, or other person in charge of a child for a failure to cause the child to attend school or a part-time school or class and if the parent, guardian, or other person proves an inability to do so, then the parent, guardian, or other person in charge of a child shall be discharged. Upon the discharge, the attendance officer shall file a complaint before the judge of the juvenile court of the county alleging that the child is a delinquent child, unruly child, or dependent child within the meaning of section 2151.022 , 2151.04 , or 2152.02 of the Revised Code. The judge shall hear the complaint and if the judge determines that the child is a delinquent, unruly, or dependent child within one of those sections the judge shall deal with the child according to section 2151.35 or 2151.36 of the Revised Code.