I added fields to Person which I think are common used.
Implementation of AgeRange is based on spring-social-facebook approach with values adjusted to Google API (based documentation from Google): The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.. In the worse case other values are accepted as well as UNKNOWN.
language is documented as String, so I think it should be fine, verified is boolean, but might be also null.
I added fields to
Person
which I think are common used.Implementation of
AgeRange
is based onspring-social-facebook
approach with values adjusted to Google API (based documentation from Google):The age range of the person. Valid ranges are 17 or younger, 18 to 20, and 21 or older. Age is determined from the user's birthday using Western age reckoning.
. In the worse case other values are accepted as well asUNKNOWN
.language
is documented as String, so I think it should be fine,verified
is boolean, but might be alsonull
.