operator_signed_in
event type: com.mbta.ctd.glides.operator_signed_in.v1
At the start of their shift, operators need to confirm in Glides (on an inspector's device) that they are fit-for-duty and do not have any electronic devices.
Data
Fields in the event's data
:
metadata
(Metadata): how the operator was signed in in Glides, including the inspector who signed them in.operator
(Operator): the operator who signed insignedInAt
(RFC3999 timestamp): the time at which they signed in (this is separate from the event timestamp)signature
(Signature): how the operator signed in.
Metadata
See Metadata
Operator
See Operator
Signature
How the operator signed that they were fit for duty.
Fields:
type
(string, optional): How the the operator made their signature.version
(integer, optional): The version of the sign-in text the operator agreed to.
Current values for type
are
"tap"
if they signed in by tapping their badge to an RFID scanner."type"
if they signed in by typing their badge number into Glides as a signature.
Represented as an object with a string field instead of const
s, so that we could include other types of signatures or other data about the signature in the future without a breaking change.
The tapped badge's RFID serial number is not included in the stream for security reasons (it could be used to impersonate an employee).
Examples
Operator Charlie (badge: 789) returns from his break and stops by Inspector Alice's booth. Alice checks him as fit for duty, and he signs in by tapping his badge to the RFID reader attached to Alice's computer.{
"type": "com.mbta.ctd.glides.operator_signed_in.v1",
"specversion": "1.0",
"source": "glides.mbta.com",
"id": "19fdb184-7dd6-4664-8472-04bd6177ec44",
"time": "2023-01-20T09:30:00-05:00",
"data": {
"metadata": {
"author": {
"emailAddress": "ainspector@example.com",
"badgeNumber": "123"
},
"inputTimestamp": "2023-01-20T09:29:59-05:00",
"inputType": "sign-in",
"location": {
"todsId": "lakst"
}
},
"operator": {
"badgeNumber": "789"
},
"signedInAt": "2023-01-20T09:45:00-05:00",
"signature": {
"type": "tap",
"version": 1
}
}
}
Schema
Loading com.mbta.ctd.glides.operator_signed_in.v1...