Build with card data
Card data standards
Four Cambridge-maintained specifications for identifiers, card names and official translations, pricing calculations and structured records. Each has its own version and implementation status.
CTCG-SKU-v1v1.0 · frozenCanonical SKU format
<game>-<set>-<number>-<lang>[-<variant>], lowercase and hyphen-separated. 22 public game codes are registered. Validation checks syntax; it does not verify catalog coverage, language membership or a physical printing.
Read canonical sku formatReference implementation in the repository: packages/sku/ (public repository)
CTCG-PRICING-v1v1.0 · draftChannel-aware pricing math
Reference channel-price calculations from a JPY amount, with explicit exchange rate, VAT, margin and rounding inputs. A calculation does not establish market value or permission to publish a source price.
Read channel-aware pricing mathReference implementation in the repository: packages/pricing/ (public repository)
CTCG-UNIVERSAL-v1v1.0 · implementedUniversal-representation (math-mirror)
Structured card records with content hashes, typed links and explicit unknown or withheld fields. A content hash is not proof of a physical card or its authenticity.
Read universal-representation (math-mirror)Implemented route template: /api/v1/universal/card/[sku]. Available fields depend on the catalog and their publication rules.
CTCG-NAMES-v1v1.0 · draftCard names and official translations
One name per card key (<game>-<set>-<number>) and language, marked official, vendor, community or machine, with its source. Versioned rules take condition, rarity and variant markers off shop titles or refuse; agreement between sources never makes a name official, and a name never establishes a SKU mapping.
Read card names and official translationsReference implementation in the repository: packages/sku/src/names.ts (public repository)
Using the specifications and code
Specification text: the existing CC0 dedication in docs/STANDARDS-LICENSE.md covers these specification texts. No account or attribution is required to use them.
Reference code: licensed Apache-2.0 under the repository LICENSE and applicable more-specific notices. The source repository is public on GitHub (cambridgetcg/Cambridge-TCG-monorepo); the workspace packages are not npm releases. The published standards are these specification pages and the JSON Schemas under /spec/v1/ (for example SkuIdentity.schema.json).
Data and images: each source and field has its own permissions. A valid identifier, attributed image or open-source implementation does not grant permission to redistribute upstream content.
What the statuses mean
- Frozen
- Stable specification; breaking changes require a new version.
- Draft
- Published specification that may still be revised.
- Implemented
- A reference route exists in the codebase. This label is not a live service-health or source-coverage check.
- Planned
- Named work without a shipped implementation.