Skip to content

docs: TeamRef logo/city/mascot/conference/division (Phase 2c)#215

Merged
Mlaz-code merged 1 commit into
mainfrom
docs/team-metadata-phase-2c
May 18, 2026
Merged

docs: TeamRef logo/city/mascot/conference/division (Phase 2c)#215
Mlaz-code merged 1 commit into
mainfrom
docs/team-metadata-phase-2c

Conversation

@Mlaz-code
Copy link
Copy Markdown
Collaborator

@Mlaz-code Mlaz-code commented May 7, 2026

Type: docs

Refs Phase 2c rollout

Summary

Phase 2c docs — documents the 5 new optional team metadata fields (logo, city, mascot, conference, division) across /odds, /opportunities/{ev,arbitrage,middles}, /teams, and the entity-reference-ids concept page.

Impl stack landed this session

  • api-adapters #505 — adapter-side enrichment for the 5 fields on home/away (MERGED)
  • api-adapters #512 — R2 logo mirror; atlas logo URLs flipped to `cdn.sharpapi.io` (MERGED)
  • sharp-api-go #349 — `TeamRef` Go struct + atlas embed refresh (MERGED)
  • sharp-api-go #558 — gofmt cleanup (MERGED)

Wire is live; docs are accurate.

Rebased 2026-05-17/18

Was stacked on #214 (Phase 1g, since merged). Rebase dropped the duplicate Phase 1g commit (0b52eab — patch contents already upstream) and replayed the real Phase 2c commit cleanly onto current main. Real diff: 131 add / 22 del across 6 files.

Test plan

  • npm run build clean — site builds across 4 locales (en, de, pt-BR, es), 214 pages indexed by pagefind
  • Branch rebased onto current main; no conflicts

🤖 Generated with Claude Code

@vercel
Copy link
Copy Markdown

vercel Bot commented May 7, 2026

The latest updates on your projects. Learn more about Vercel for GitHub.

Project Deployment Actions Updated (UTC)
docs.sharpapi.io Ready Ready Preview, Comment May 7, 2026 2:00pm

Request Review

Companion to:
- api-adapters PR #489 (refreshed) - Phase 1 atlas backfill
- sharp-api-go PR #345 - Go decode + reference endpoints
- sharp-api-go feat/team-metadata-phase-2c - extend TeamRef
- sharpapi-python feat/team-metadata-phase-2c - pydantic types
- sharpapi-ts feat/team-metadata-phase-2c - TypeScript types

Documents the 5 new optional fields on the nested team object: logo, city,
mascot, conference, division. All backfilled from OpticOdds via
api-adapters PR #499. Coverage ~93% of teams; individual-sport competitors
(tennis players, MMA fighters, golfers) remain unset by design.

Files updated:
- content/en/concepts/entity-reference-ids.mdx — TeamRef section + new
  per-field reference table
- content/en/api-reference/odds.mdx — schema row + JSON sample
- content/en/api-reference/opportunities-ev.mdx — schema row
- content/en/api-reference/opportunities-arbitrage.mdx — schema row + JSON sample
- content/en/api-reference/opportunities-middles.mdx — schema row + JSON sample
- content/en/api-reference/teams.mdx — full schema table + 2 JSON samples + concept section

next build clean. tsc --noEmit clean. New (May 2026) markers added
consistently for visual diff with existing fields.

Co-Authored-By: Claude Opus 4.7 (1M context) <noreply@anthropic.com>
@Mlaz-code Mlaz-code force-pushed the docs/team-metadata-phase-2c branch from 42f275c to cb65430 Compare May 18, 2026 09:39
@Mlaz-code Mlaz-code marked this pull request as ready for review May 18, 2026 09:39
@Mlaz-code Mlaz-code merged commit 2a2057e into main May 18, 2026
@Mlaz-code Mlaz-code deleted the docs/team-metadata-phase-2c branch May 18, 2026 09:40
@Mlaz-code
Copy link
Copy Markdown
Collaborator Author

Merge gate (auto-classified): gate=docs — auto-classified by the gate-log enforcer (10min after merge, no Merge gate: audit comment found). Reviewer agent: please correct if wrong by replying with Merge gate: gate=<correct-word> — <evidence>. The audit log keys on the first such token; your correction overrides this auto-classified guess.

Posted by scripts/gate-log-enforcer.py because instruction-level rules about the gate= template aren't binding (0/N adoption); structural enforcement fills the log either way.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant