Skip to content

feat(smartphone): add model_3d/body schema fields + fix image_url doc bug (ADR-015) - #83

Merged
Seungpyo1007 merged 1 commit into
mainfrom
feat/smartphone-3d-schema-fields
Sep 24, 2026
Merged

Seungpyo1007 merged 1 commit into
mainfrom
feat/smartphone-3d-schema-fields

Conversation

@Seungpyo1007

Copy link
Copy Markdown
Member

Summary

TechPicks (the reference-consumer app) requested .glb 3D model support for its device viewer. Root-caused their "all image_url 404" report along the way: SPEC.md's own response example showed a fictional cdn.jsdelivr.net/gh/GetTechAPI/images/... path that repo never existed — TechPicks built against that doc example instead of real data (real image_url hotlinks the original host, e.g. gsmarena.com, and works fine).

  • Added Smartphone.model_3d: dict | None and Smartphone.body: dict | None — schema fields only, all-null for now. Actual .glb file sourcing is out of scope (no free/licensed 3D model source identified yet for hundreds of devices) and deferred to a separate track.
  • Fixed the image_url example in SPEC.md §6.4 and appendix C to a real host instead of the fictional CDN path.
  • ADR-015 documents both changes.

Test plan

  • pytest tests/ -k smartphone — 54 passed
  • pytest tests/ (full suite) — all passed

@Seungpyo1007 Seungpyo1007 self-assigned this Sep 24, 2026
@Seungpyo1007
Seungpyo1007 force-pushed the feat/smartphone-3d-schema-fields branch from 8cf9556 to bc32781 Compare September 24, 2026 14:53
@Seungpyo1007
Seungpyo1007 merged commit b9ba9ef into main Sep 24, 2026
1 check passed
@Seungpyo1007
Seungpyo1007 deleted the feat/smartphone-3d-schema-fields branch September 24, 2026 15:00
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