... | ... | @@ -45,19 +45,27 @@ The event is the main part of this data ingestion API. This element is where the |
|
|
- deviceUseTypeId * (integer number): identifier of the type of use of the device that sends the information. Possible values in / deviceUseTypes. 1 = Worker, 2 = Vehicle
|
|
|
|
|
|
- speed * (integer number): speed measured in kilometers per hour at which the element is at the moment it sends the event
|
|
|
|
|
|
#### Requirements
|
|
|
|
|
|
In order to maintain the quality of the messages, the following requirements will apply to the content of the messages:
|
|
|
|
|
|
- The geographical position must be contained in the Spanish territory
|
|
|
|
|
|
- The position provided by the GPS must not have an error greater than 5 meters
|
|
|
|
|
|
- Given the criticality of this information, events will be required to be generated from the moment workers enter the risk zone, and stop being sent when they leave it
|
|
|
|
|
|
- A maximum age of 15 seconds from UTC time is required
|
|
|
|
|
|
- A refresh rate of 15 seconds is estimated for roads with a maximum speed of 120 km / h and 20 seconds for roads with a maximum speed of less than or equal to 90 km / h from the moment of entry, and during the entire stay within the road risk zone
|
|
|
|
|
|
- In the case that the type of device is a connected cone (deviceTypeId = 3), the frequency of sending the message will be at least 10 minutes |
|
|
|
|
|
<u>Note:</u> In case the device type is a cone (deviceType = 3), the following fields must have certain values:
|
|
|
|
|
|
- beaconType = 4
|
|
|
|
|
|
- vehicleType = 0
|
|
|
|
|
|
- deviceUseType = 3
|
|
|
|
|
|
#### Requirements
|
|
|
|
|
|
In order to maintain the quality of the messages, the following requirements will apply to the content of the messages:
|
|
|
|
|
|
- The geographical position must be contained in the Spanish territory
|
|
|
|
|
|
- The position provided by the GPS must not have an error greater than 5 meters
|
|
|
|
|
|
- Given the criticality of this information, events will be required to be generated from the moment workers enter the risk zone, and stop being sent when they leave it
|
|
|
|
|
|
- A maximum age of 15 seconds from UTC time is required
|
|
|
|
|
|
- A refresh rate of 15 seconds is estimated for roads with a maximum speed of 120 km / h and 20 seconds for roads with a maximum speed of less than or equal to 90 km / h from the moment of entry, and during the entire stay within the road risk zone
|
|
|
|
|
|
- In the case that the type of device is a connected cone (deviceTypeId = 3), the frequency of sending the message will be at least 10 minutes |