# Contract

Type: object

Schema: [Contract](https://api.prompteasy.eu/docs/api/models/contract/index.md)

- `id` (optional)
  Type: string, uuid
  
  Example:
  
  ```json
  "9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53"
  ```

- `contract_id` (optional)
  Type: string, uuid; nullable
  
  Example:
  
  ```json
  "9b2d5a39-ec9b-4b21-b3b4-4ffc8b671a53"
  ```

- `contract_name` (optional)
  Type: string
  
  Example:
  
  ```json
  "Terms of Service"
  ```

- `version` (optional)
  Type: integer
  
  Example:
  
  ```json
  1
  ```

- `contract_content` (optional)
  Type: string
  
  Example:
  
  ```json
  "Standard Terms of Service text..."
  ```

- `changes_summary` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "Minor wording updates in Section 2."
  ```

- `agreement_for` (optional)
  Type: string
  
  Example:
  
  ```json
  "tos"
  ```

- `only_for_plan` (optional)
  Type: string; nullable
  
  Example:
  
  ```json
  "premium"
  ```

- `is_user_contract` (optional)
  Type: boolean
  
  Example:
  
  ```json
  false
  ```

- `created_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-11-25T13:12:29+00:00"
  ```

- `updated_at` (optional)
  Type: string, date-time
  
  Example:
  
  ```json
  "2025-11-25T13:12:29+00:00"
  ```