Skip to content

CreateEventInput

About CreateEventInput

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

id

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

Type: ID

eventProducerId

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

Type: String!

type

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

Type: String!

subType

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

Type: String

startTime

The time at which the event started.

Type: DateTimeOffset!

endTime

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

Type: DateTimeOffset

position

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

Type: GeoJSONPointInput

timezone

The timezone for the event, if provided.

Type: String

draft

Whether the event is a draft.

Type: Boolean!

metadata

Additional metadata associated with the event. This may represent any JSON object structure.

Type: JSON

snapshots

Requests to generate snapshots for this event

Type: [CreateSnapshotInput!]

clips

Requests to associate clips to this event

Type: [CreateClipInput!]

uploads

Requests to upload images for this event

Type: [UploadImageInput!]

trackIds

List of Track IDs to attach to this event. Ensures that the Events UI page renders a map with plotted tracks.

Type: [ID!]

properties

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

Type: EventPropertiesInput

validation

Optional information to validate the accuracy of the event.

Type: EventValidationInput