How is the person with parental authority determined?

チルドレン・ファースト
The person who has parental authority is to be determined by agreement between the parents.
Such agreement should be reached after consultation between the parents, taking into consideration the child’s future as well as which parent would be preferable for looking after the child or deciding matters involving education (including schools and health care) or property.