It depends on the evidence admitted at the contested hearing. You would best retain an experienced Family Law Attorney to represent you, as soon as possible, to prepare for that hearing.
Please note that this answer does not constitute legal advice, and should not be relied on, as each situation is fact specific, and it is not possible to evaluate a legal problem without a comprehensive consultation and review of all the facts and court pleadings filed in the case. This answer does not create an attorney-client relationship.
While every case is different, if the court grants a restraining order, the court typically orders a 100 yard stay away, which is the length of a football field. The court can make exceptions to that distance, such as ordering a shorter distance at the child's school functions if the parties have a child together. A restraining order can protect other family members living in the same home as the person asking for the restraining order. However, if there were no acts of domestic violence committed against those persons, you can argue that they should not be included in the order. I would highly recommend that you obtain legal representation since there are a lot of consequences if the court grants a permanent restraining order.
This answer does to constitute legal advice nor shall it create an attorney client relationship.
Sign up to receive a 3-part series of useful information and advice about child custody law.