Hardware Linked Payload
Canonical hardware-generic payload emitted when a hardware item is linked to a site.
| $id | https://schemas.texecom-prod.com/v2/events/payload/service/device/hardware/linked/v1.0.0.json |
| $schema | http://json-schema.org/draft-07/schema |
Properties
hardwareId
| Description |
Identifier of the hardware record. |
| Type | String |
| Required |
Yes |
serial
| Description |
Hardware serial number as printed on the unit. |
| Type | String |
| Required |
Yes |
site_id
| Description |
Identifier of the site the hardware is linked to. |
| Type | String |
| Required |
Yes |
version
| Description |
Wall-clock-ms tiebreaker used by projections for last-write-wins ordering. |
| Type | Number |
| Required |
Yes |
occurredAt
| Description |
UTC timestamp when the link occurred, in ISO 8601 format. |
| Type | String |
| Required |
Yes |
| Format |
date-time |
Schema
{
"$id": "https://schemas.texecom-prod.com/v2/events/payload/service/device/hardware/linked/v1.0.0.json",
"$schema": "http://json-schema.org/draft-07/schema",
"title": "Hardware Linked Payload",
"description": "Canonical hardware-generic payload emitted when a hardware item is linked to a site.",
"type": "object",
"properties": {
"hardwareId": {
"description": "Identifier of the hardware record.",
"type": "string"
},
"serial": {
"description": "Hardware serial number as printed on the unit.",
"type": "string"
},
"site_id": {
"description": "Identifier of the site the hardware is linked to.",
"type": "string"
},
"version": {
"description": "Wall-clock-ms tiebreaker used by projections for last-write-wins ordering.",
"type": "number"
},
"occurredAt": {
"description": "UTC timestamp when the link occurred, in ISO 8601 format.",
"type": "string",
"format": "date-time"
}
},
"required": [
"hardwareId",
"serial",
"site_id",
"version",
"occurredAt"
],
"additionalProperties": false
}