Commit a1df13ef authored by piscione's avatar piscione

Minor on deviceInfo data model.

parent a5501712
......@@ -1181,11 +1181,10 @@ components:
DeviceInfo:
properties:
deviceId:
description: 'Typically, the serial number of the device.
This value shall remain fixed over the lifetime of the device, including across firmware updates.'
type: string
description: 'Typically, the serial number of the device.This value shall remain fixed over the lifetime of the device, including across firmware updates.'
type: array
items:
type: string
x-etsi-mec-cardinality: 0..1
x-etsi-mec-origin-type: String
deviceStatus:
......@@ -2076,3 +2075,4 @@ components:
application/json:
schema:
$ref: '#/components/schemas/ProblemDetails'
......@@ -12,6 +12,7 @@ syntax = "proto3";
package mec029;
option java_multiple_files=true;
import public "models/device_info_device_status.proto";
import public "models/download_diagnostics.proto";
import public "models/ip_ping_diagnostics.proto";
......@@ -22,7 +23,7 @@ import public "models/upload_diagnostics.proto";
message DeviceInfo {
// Typically, the serial number of the device. This value shall remain fixed over the lifetime of the device, including across firmware updates.
string device_id = 1;
repeated string device_id = 1;
DeviceInfoDeviceStatus device_status = 2;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment