> ## 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.

# uplink:Employment

> A snapshot of one employment relationship — employer, role, compensation, and status. Emitted by payroll connectors.

**`uplink:Employment/v1`** — a snapshot of one employment relationship. Emitted by payroll connectors after normalizing each provider's user + role + compensation data. Vertical-agnostic within payroll: works for W-2 employees, contractors, part-time, seasonal, and intern arrangements via `employeeType`.

## Fields

| Field | Type | Required | Description |
| - | - | - | - |
| `employer` | object | ✓ | Employer identity + optional address (see below). |
| `jobTitle` | string | | Current job title (e.g. `Senior Software Engineer`). |
| `employeeType` | enum: `fulltime` \| `parttime` \| `contract` \| `temporary` \| `student` \| `seasonal` \| `intern` | | Employment classification. Payroll providers name these differently; canonical set. |
| `employeeStatus` | string | | Human-readable status (`active`, `terminated`, `on leave`). Provider-varied; consumers switch. |
| `income` | number | | Current compensation amount, denominated per `incomeType`. |
| `incomeType` | enum: `hourly` \| `daily` \| `weekly` \| `monthly` \| `yearly` | | Unit for `income`. Consumers normalize to annual for comparison. |
| `payCycle` | string | | Payroll frequency (`weekly`, `biweekly`, `semimonthly`, `monthly`). |
| `startDate` | date | | Employment start / hire date on the current role. |
| `dateOfBirth` | date | | Employee's date of birth, when the source exposes it. |
| `accounts` | array\<object> | | Direct-deposit destinations for wages. Order isn't significant. Absent for check-only employees. See below. |

### `employer` object

| Field | Type | Required | Description |
| - | - | - | - |
| `name` | string | ✓ | Legal or trade name as it appears on paystubs. |
| `address` | [`uplink:PostalAddress`](https://docs.uplink.build/vocabulary/PostalAddress) | | Work address. |

### `accounts[]` items

| Field | Type | Required | Description |
| - | - | - | - |
| `name` | string | | Nickname for the account (`Checking`, `Primary`). |
| `accountType` | string | | Bank account type (`checking`, `savings`). |
| `routingNumber` | string | | ACH routing number of the receiving institution. |
| `accountNumberMasked` | string | | Masked account number, typically the last four digits (`••••1234`). Full account numbers are never included. |
| `distributionAmount` | string | | Fixed amount per paycheck when pay is split across accounts. Absent means this account receives the remainder. |

## Reading `income` + `incomeType`

The two fields together describe compensation in the provider's native cadence. Consumers doing "annual equivalent" comparisons should normalize:

```swift theme={null}
func annualized(_ e: Employment) -> Double? {
    guard let income = e.income, let type = e.incomeType else { return nil }
    switch type {
    case "hourly":  return income * 40 * 52    // 40h/wk × 52wk
    case "daily":   return income * 5 * 52
    case "weekly":  return income * 52
    case "monthly": return income * 12
    case "yearly":  return income
    default:        return nil
    }
}
```

## Example

```json theme={null}
{
  "employer": {
    "name": "Acme Robotics",
    "address": { "line1": "500 Market St", "city": "San Francisco", "state": "CA", "postalCode": "94105", "country": "US" }
  },
  "jobTitle": "Senior Software Engineer",
  "employeeType": "fulltime",
  "employeeStatus": "active",
  "income": 145000,
  "incomeType": "yearly",
  "payCycle": "biweekly",
  "startDate": "2023-04-10"
}
```

## Emitted by

* `@atomic/gusto` — `employment` on `fetchAll`

## Related

* [`uplink:Paystub`](https://docs.uplink.build/vocabulary/Paystub) — per-period statements for this employment


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