OpenITS
Docs Schema registry AsyncAPI
Search the docs /
GitHub
Docs/Model reference/traffic-sensor
Illustrative excerpt from openits-traffic-sensor.yang. The full model is the normative source. View source ↗

traffic-sensor

CORE · WIRED

Volume / speed / occupancy detectors: lane-level counts and states from loops, radar and video detection.

Namespace
urn:openits:yang:traffic-sensor
Latest revision
2026-07-21
Reference std
NTCIP 1209
Event types
5

Data model

The configuration and state tree. Safety constraints are expressed as YANG must and validated at every boundary.

container traffic-sensor {
list lanes {
key "index";
leaf index { type uint8; }
leaf volume { type uint32; units "veh"; }
leaf speed { type decimal64; units "km/h"; }
leaf occupancy { type decimal64; units "percent"; }
}
}

Notifications & events

Each event is its own typed notification with its own ce-type. Consumers filter by subject before parsing.

Event
ce-type
Family
fault-cleared
openits.traffic-sensor.fault-cleared.v1
fault
fault-raised
openits.traffic-sensor.fault-raised.v1
fault
queue-state-changed
openits.traffic-sensor.queue-state-changed.v1
queue
traffic-interval-report
openits.traffic-sensor.traffic-interval-report.v1
traffic
traffic-sensor-status-report
openits.traffic-sensor.traffic-sensor-status-report.v1
traffic
Event families: fault queue traffic

Subject & bindings

# canonical subject (reference CloudEvents binding)
openits.us-tx.txdot.d07.traffic-sensor.i35-exit-214.fault-cleared
Open in AsyncAPI ↗ Protobuf shapes

Schema registry

Every revision is immutable and content-addressed. Cite the exact date in ce-dataschema; there is no latest alias.

2026-07-21CURRENT
schema.proto · module.yang ↗
2026-07-16
schema.proto · module.yang ↗
2026-07-15
schema.proto · module.yang ↗
2026-07-14
schema.proto · module.yang ↗
← Previous
perception
Next →
reversible-lane