Scooterrific: IoT mobility data demo contract

Used in Internet of Things Hardware
for mobility

This demo contract shows how to classify some.

We link on producer ID (e.g. different brands of mobility scooters). The rider ID and GPS are classified as sensitive.

We validate both the GPS (coordinates) and rider ID (UUID) with PCRE regexes.

Event Contract reference

strm-demo/scooterrific-contract/1.0.0

Schema reference

strm-demo/scooterrific/1.0.0

Event contract overview

TypeFieldValueDescription
Key fieldproducer_idLinks events to the associated field for privacy processing.
PII fieldGPS1needs consent
PII fieldrider_id1needs consent
ValidationGPSregex^([-+]?)([\d]{1,2})(((\.)(\d+)(,)))(\s*)(([-+]?)([\d]{1,3})((\.)(\d+))?)$
Validationrider_idregex\b[0-9a-f]{8}\b-[0-9a-f]{4}-[0-9a-f]{4}-[0-9a-f]{4}-\b[0-9a-f]{12}\b

Serialization schema fields

FieldDescription
device_idthe id of the scooter
rider_id.
GPSthe GPS coordinates
chargethe charge left in the battery
current_speed.
brake_pressure.
producer_idthe id of the producer/customer, e.g. ScooterCom