Repository navigation
Add underage to the player type - #22
Merged
Merged
Conversation
Same -1/0/1 encoding as team@underage. Optional, so an existing integration ignoring it stays valid. Players nested in competitor_profile carry it too, since they share the type. Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
This was referenced Sep 25, 2026
dsaiko
approved these changes
Sep 25, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
What & why
Operators in some markets have to enforce age rules per player, not just per team. The REST API exposes
underageon competitors today; the next producer release adds it to theplayerelement onGET /v1/sports/{language}/players/{urn}/profile. This declares it: optionalxs:integer, same-1unknown /0no /1yes encoding asteam@underage. Players nested undercompetitor_profileshare the type, so they carry it too.Additive → MINOR, tag
v1.1.0after merge. Fixtures updated for both endpoints (player_profile.xml= 1,competitor_profile.xml= -1).Verification
make check(via a temurin:17 container): 31 schemas, 41 payloads, 0 problems.Consumers: gosdk gets the matching field in oddin-gg/gosdk#67; its schema test follows
main, so land the two back to back. javasdk / netcoresdk regenerate bindings on their own schedule; they ignore unknown attributes so nothing breaks.🤖 Generated with Claude Code