From a1df13effafcca33ab921e3748ee78266f85b2a7 Mon Sep 17 00:00:00 2001 From: piscione Date: Fri, 8 Jan 2021 10:20:14 +0100 Subject: [PATCH] Minor on deviceInfo data model. --- MEC029_FAI.yaml | 10 +++++----- proto3/models/device_info.proto | 3 ++- 2 files changed, 7 insertions(+), 6 deletions(-) diff --git a/MEC029_FAI.yaml b/MEC029_FAI.yaml index e8edaf4..d998613 100644 --- a/MEC029_FAI.yaml +++ b/MEC029_FAI.yaml @@ -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' + diff --git a/proto3/models/device_info.proto b/proto3/models/device_info.proto index df9e61e..74eaaf0 100644 --- a/proto3/models/device_info.proto +++ b/proto3/models/device_info.proto @@ -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; -- GitLab