> ## Documentation Index
> Fetch the complete documentation index at: https://docs.uplink.build/llms.txt
> Use this file to discover all available pages before exploring further.

# Semantic vocabulary

> Canonical entity types Uplink connectors emit, so one renderer works across every connector for a given category.

The Uplink **semantic vocabulary** is a set of canonical entity types that connectors emit. Netflix, Spotify, and Verizon all return their plans as `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.

> [!NOTE]
>
> 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)](https://docs.uplink.build/connectors-ios/semantic-schemas.md) for the pattern.

## Type identifiers

Types use the `uplink:` prefix and a `/vN` version suffix.

```
uplink:Subscription/v1   — Subscription, version 1
uplink:Subscription      — the same type; v1 when no version is given
```

An action's output schema references vocabulary types with `$ref`. The `produces` entry on the catalog says whether a field holds one value or an array (`many`).

## The current vocabulary

### Accounts and billing

| Type | Description |
| - | - |
| [`uplink:AccountIdentity`](https://docs.uplink.build/vocabulary/AccountIdentity) | Who a provider account belongs to |
| [`uplink:Subscription`](https://docs.uplink.build/vocabulary/Subscription) | Current state of a subscription or membership |
| [`uplink:SubscriptionMembers`](https://docs.uplink.build/vocabulary/SubscriptionMembers) | Seats and members on a shared plan |
| [`uplink:Bill`](https://docs.uplink.build/vocabulary/Bill) | Recurring billing snapshot with payment history |
| [`uplink:PaymentMethod`](https://docs.uplink.build/vocabulary/PaymentMethod) | A card, bank, or wallet attached to an account |
| [`uplink:Discount`](https://docs.uplink.build/vocabulary/Discount) | A discount an account receives or qualifies for |
| [`uplink:Usage`](https://docs.uplink.build/vocabulary/Usage) | Metered use against an allowance (data, power, storage) |
| [`uplink:ConnectedApp`](https://docs.uplink.build/vocabulary/ConnectedApp) | A third-party app authorized through the account |

### Shopping

| Type | Description |
| - | - |
| [`uplink:Order`](https://docs.uplink.build/vocabulary/Order) | A purchase from a merchant: items, charges, total |

### Banking

| Type | Description |
| - | - |
| [`uplink:FinancialAccount`](https://docs.uplink.build/vocabulary/FinancialAccount) | A bank, card, loan, or investment account with balances |
| [`uplink:Transaction`](https://docs.uplink.build/vocabulary/Transaction) | A movement of money on a financial account |

### Insurance and health

| Type | Description |
| - | - |
| [`uplink:Policy`](https://docs.uplink.build/vocabulary/Policy) | An insurance policy (auto, home, health, umbrella, …) |
| [`uplink:Coverage`](https://docs.uplink.build/vocabulary/Coverage) | A single coverage line item on a policy |
| [`uplink:Vehicle`](https://docs.uplink.build/vocabulary/Vehicle) | A vehicle on an insurance policy |
| [`uplink:Claim`](https://docs.uplink.build/vocabulary/Claim) | An insurance claim (open or closed) |
| [`uplink:HealthMember`](https://docs.uplink.build/vocabulary/HealthMember) | A person covered by a health plan |
| [`uplink:DeductibleStatus`](https://docs.uplink.build/vocabulary/DeductibleStatus) | Deductible and out-of-pocket progress for a member |

### Payroll and tax

| Type | Description |
| - | - |
| [`uplink:Employment`](https://docs.uplink.build/vocabulary/Employment) | Employer, role, and compensation snapshot |
| [`uplink:Paystub`](https://docs.uplink.build/vocabulary/Paystub) | One pay statement with earnings and deductions |
| [`uplink:TaxForm`](https://docs.uplink.build/vocabulary/TaxForm) | A tax form such as a W-2, as the original document |

### Travel and loyalty

| Type | Description |
| - | - |
| [`uplink:LoyaltyAccount`](https://docs.uplink.build/vocabulary/LoyaltyAccount) | Rewards balance, tier, and tier progress |
| [`uplink:Reservation`](https://docs.uplink.build/vocabulary/Reservation) | A flight, hotel, car, or rail booking |
| [`uplink:PointsActivity`](https://docs.uplink.build/vocabulary/PointsActivity) | One earn or redemption on a rewards balance |
| [`uplink:Voucher`](https://docs.uplink.build/vocabulary/Voucher) | A credit or certificate with value and expiry |

### Media

| Type | Description |
| - | - |
| [`uplink:StreamingActivity`](https://docs.uplink.build/vocabulary/StreamingActivity) | Recent viewing or listening on a profile |
| [`uplink:MusicAlbum`](https://docs.uplink.build/vocabulary/MusicAlbum) | An album saved to a music library |
| [`uplink:MusicArtist`](https://docs.uplink.build/vocabulary/MusicArtist) | An artist the user follows |

### Fitness

| Type | Description |
| - | - |
| [`uplink:Route`](https://docs.uplink.build/vocabulary/Route) | A saved route on a fitness or mapping platform |
| [`uplink:SportsActivity`](https://docs.uplink.build/vocabulary/SportsActivity) | A completed run, ride, workout, etc. |
| [`uplink:AggregateStat`](https://docs.uplink.build/vocabulary/AggregateStat) | A single scalar metric with an optional delta |

### Shared building blocks

| Type | Description |
| - | - |
| [`uplink:PostalAddress`](https://docs.uplink.build/vocabulary/PostalAddress) | A postal address |
| [`uplink:FileReference`](https://docs.uplink.build/vocabulary/FileReference) | A file a connector downloaded, such as a PDF |

## Packages

* **JavaScript / TypeScript:** [`@uplink-code/vocabulary`](https://www.npmjs.com/package/@uplink-code/vocabulary) on npm ships a zod schema and TypeScript type per type, plus the JSON Schemas (draft 2020-12) under `schemas/`. Each schema's `$id` is its type identifier.
* **Swift:** [`uplink-vocabulary`](https://github.com/uplink-code/uplink-vocabulary) ships a `Codable` struct per type and the same JSON Schemas. Its versions match npm. See [Semantic schemas (iOS)](https://docs.uplink.build/connectors-ios/semantic-schemas.md#decode-with-uplinkvocabulary).

## 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 to `v2` and 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.


This documentation is built and hosted on [Mintlify](https://mintlify.com), a developer documentation platform.