---
title: Job
description: Job protocol schemas
---

{/* ⚠️  AUTO-GENERATED — DO NOT EDIT. Run build-docs.ts to regenerate. Hand-written docs go in content/docs/guides/. */}

<Callout type="info">
**Source:** `packages/spec/src/automation/job.zod.ts`
</Callout>

## TypeScript Usage

```typescript
import { RetryPolicy } from '@objectstack/spec/automation';
import type { RetryPolicy } from '@objectstack/spec/automation';

// Validate data
const result = RetryPolicy.parse(data);
```

---

## RetryPolicy

### Properties

| Property | Type | Required | Description |
| :--- | :--- | :--- | :--- |
| **maxRetries** | `integer` | ✅ | Retry attempts before giving up |
| **retryDelayMs** | `integer` | ✅ | Base delay between retries (ms) |
| **backoffMultiplier** | `number` | ✅ | Exponential backoff multiplier |
| **maxRetryDelayMs** | `integer` | ✅ | Maximum delay between retries (ms) |
| **jitter** | `boolean` | ✅ | Add random jitter to retry delay |


---

