Align balldontlie OpenAPI integration and clarify search metric semantics
This commit is contained in:
@ -24,9 +24,11 @@ Raw provider response structures must remain inside `apps/providers` (client/ada
|
||||
|
||||
- Source scope is NBA-centric.
|
||||
- Competition is normalized as a single NBA competition (`competition-nba`).
|
||||
- API contract source is `https://www.balldontlie.io/openapi.yml` (server `https://api.balldontlie.io`, NBA endpoints under `/nba/v1/*`).
|
||||
- Team country is not reliably available in source payloads and is normalized to `null`.
|
||||
- Player nationality/birth/physical details are not available in player list payloads and are normalized to `null` (except fields explicitly present).
|
||||
- Configured seasons are normalized from `PROVIDER_BALLDONTLIE_SEASONS`; the highest configured season is marked `is_current=true`.
|
||||
- Stats ingestion uses `/nba/v1/stats` with `seasons[]` and cursor pagination.
|
||||
- Advanced metrics (`usage_rate`, `true_shooting_pct`, `player_efficiency_rating`) are currently unavailable from this source path and normalized to `null`.
|
||||
|
||||
## Domain rules vs provider assumptions
|
||||
|
||||
Reference in New Issue
Block a user