Sensor defines a set of event dependencies (inputs) and triggers (outputs). It listens to events on the eventbus and acts as an event dependency manager to resolve and execute the triggers.
A dependency is an event the sensor is waiting to happen.
Complete specification is available here.
Examples are located under examples/sensors.