...
Note: The guest details require the count of adults, children, babies and pets. For every child and baby, there should be a corresponding age in childrenAges array.
Age Guest rules:
Guests are categorised based on the following conditions:
Babies: less than 2 years old (ages considered as baby are 0 and 1).
Children: greater than or equal to 2 years and less than 18 years (ages considered as children are 2 to 17).
Adults: greater than or equal to 18 years of age.
There is no price differentiation between adults and children, however age information is useful for the host.
Babies are always free.
...