Skip to main content

The Event object

Props

id
string
Id of unique event, generated by Mangrove
slug
string
Slug of the event type that this event represents. Event types and their slugs are defined within the Mangrove instance
event_type
string
Display name of the event type (e.g., Biochar Delivery)
tracking_id
string
Optional. Reference ID tracking a specific object as it moves through the project
start_time
string
Start time of event
end_time
string
End time of event
data_points
object[]
List of datapoints within the event. Each datapoint within an event has a slug and a value
locations
object[]
List of locations associated with the event. Each unique location is associated with a Location in Mangrove
evidences
object[]
List of supporting evidence associated with an event. Each object includes the evidence according to the evidence_type
  • id
  • start_time
  • end_time
  • created_at
  • updated_at
  • status
  • tracking_id
  • friendly_id

EventType

id
integer
Unique ID of EventType, generated by Mangrove
slug
string
Slug of the event type. Event types and their slugs are defined within the Mangrove instance. Examples of standard event types include capture_co2, loss_co2, anduse_electricity
name
string
Display name of the event type (e.g., Biochar Delivery, Feedstock Delivery)
is_static
boolean
Whether this is a static (system-defined) event type or a custom event type
data_point_types
array
List of datapoint types within the event. See the Datapoint Object
created_at
string
Timestamp when the event type was created
updated_at
string
Timestamp when the event type was last updated