uplink:Subscription. Progressive and Cigna both return uplink:Policy. Your app builds one renderer per type and gets every current and future connector in that category for free.
A connector’s catalog entry lists the types it emits in
produces: which action, which field of that action’s output, and which type. You can choose a renderer before running anything. See Semantic schemas (iOS) for the pattern.Type identifiers
Types use theuplink: prefix and a /vN version suffix.
$ref. The produces entry on the catalog says whether a field holds one value or an array (many).
The current vocabulary
Accounts and billing
Shopping
Banking
Insurance and health
Payroll and tax
Travel and loyalty
Media
Fitness
Shared building blocks
Packages
- JavaScript / TypeScript:
@uplink-code/vocabularyon npm ships a zod schema and TypeScript type per type, plus the JSON Schemas (draft 2020-12) underschemas/. Each schema’s$idis its type identifier. - Swift:
uplink-vocabularyships aCodablestruct per type and the same JSON Schemas. Its versions match npm. See Semantic schemas (iOS).
Design principles
- Semantic, not presentational. Types describe what a thing is, not how to render it. Presentation is your choice.
- Additive. New types don’t break older consumers — unknown types fall through to whatever your default handler is.
- Versioned. Once a type ships, its shape is frozen at
v1. Breaking changes bump tov2and older consumers keep working. - Closed shapes. A vocabulary object carries only its documented fields. Connectors put provider-specific data in a separate field of the action’s output (often
raw), never on the vocabulary object. - Declared up front. Types come from the action’s published output schema, not from inspecting results, so you know what an action returns before you run it.