CreateEventInput
Input
This input type is used to create a new Event for a custom event producer. See EventProducer for more details.
Input fields
| Name | Type | Description |
|---|---|---|
id | ID | The unique identifier for the event. If not provided, one will be automatically assigned. |
eventProducerId | String! | The unique identifier of the EventProducer that will own the event. |
type | String! | The type of the event, which should convey the broad category of the event. |
subType | String | The subtype of the event, if provided, which should provide more context on the category of the event. |
startTime | DateTimeOffset! | The time at which the event started. |
endTime | DateTimeOffset | The time at which the event ended. If not provided, the event is still ongoing. |
position | GeoJSONPointInput | The GeoJSON point to be recorded with the event, if any. |
timezone | String | The timezone for the event, if provided. |
metadata | JSON | Additional metadata associated with the event. This may represent any JSON object structure. |
snapshots | [CreateSnapshotInput!] | Requests to generate snapshots for this event |
uploads | [UploadImageInput!] | Requests to upload images for this event. |
imageIds | [ID!] | IDs of existing images to associate to this event. |
clips | [CreateClipInput!] | Requests to associate clips to this event |
trackIds | [ID!] | List of Track IDs to attach to this event. Ensures that the Events UI page renders a map with plotted tracks. |
properties | EventPropertiesInput | Optional additional information associated with this event, including related data sources, sites, and tags. |
draft | Boolean! | Whether the event is a draft. Default: |
validation | EventValidationInput | Optional information to validate the accuracy of the event. |
priority | String | Optional string to indicate the priority of an event. |