Skip to content

CreateEventInput

Input

This input type is used to create a new Event for a custom event producer. See EventProducer for more details.

Input fields

NameTypeDescription
idID

The unique identifier for the event. If not provided, one will be automatically assigned.

eventProducerIdString!

The unique identifier of the EventProducer that will own the event.

typeString!

The type of the event, which should convey the broad category of the event.

subTypeString

The subtype of the event, if provided, which should provide more context on the category of the event.

startTimeDateTimeOffset!

The time at which the event started.

endTimeDateTimeOffset

The time at which the event ended. If not provided, the event is still ongoing.

positionGeoJSONPointInput

The GeoJSON point to be recorded with the event, if any.

timezoneString

The timezone for the event, if provided.

metadataJSON

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.

propertiesEventPropertiesInput

Optional additional information associated with this event, including related data sources, sites, and tags.

draftBoolean!

Whether the event is a draft.

Default: false

validationEventValidationInput

Optional information to validate the accuracy of the event.

priorityString

Optional string to indicate the priority of an event.