An order of custody gives responsibility for the care, control and maintenance of a child to one or both of the child's parents or to another party. There are two types of legal custody.Sole custody means that one parent has the authority to make decisions about the child. Order of Custody: An order determining who the custodial parent of the child will be. Order of Filiation: An order establishing the legal parent of a child. In custody matters, part of the court's consideration is who has been the primary caretaker of the child. DEFINITIONS. BAIL: Property given as surety that a person released from custody will return at an appointed time. Many cases of parenting time, visitation, custody, and family court matters begin with an order to show cause, specifying how the service should be addressed. The other two sections focus on cases related to two youth populations, Persons In Need of Supervision (PINS) and Juvenile Delinquents (JD). Any personal information and facts about the defendant that might help release the defendant from custody.