# Event

Type: Event

Schema: [Event](https://sourcey-traccar.pages.dev/api-reference/models/event/index.md)

- `id` (optional)
  Type: integer, int64
  
  Unique event identifier

- `type` (optional)
  Type: string
  
  Event type name

- `eventTime` (optional)
  Type: string, date-time
  
  in ISO 8601 format. eg. `1963-11-22T18:30:00Z`

- `deviceId` (optional)
  Type: integer, int64
  
  Device associated with the event

- `positionId` (optional)
  Type: integer, int64
  
  Position record linked to the event when applicable

- `geofenceId` (optional)
  Type: integer, int64
  
  Geofence referenced by the event if any

- `maintenanceId` (optional)
  Type: integer
  
  Maintenance record tied to the event

- `attributes` (optional)
  Type: object
  
  Additional event-specific attributes