Skip to content

Commit 622cf0f

Browse files
committed
Update the ExternalReference message by adding the possibility to define a URI to the origin source.
Signed-off-by: Georg Seifert <georg.seifert@carissma.eu>
1 parent 8b72e89 commit 622cf0f

File tree

1 file changed

+15
-7
lines changed

1 file changed

+15
-7
lines changed

osi_common.proto

Lines changed: 15 additions & 7 deletions
Original file line numberDiff line numberDiff line change
@@ -223,6 +223,20 @@ message Identifier
223223
//
224224
message ExternalReference
225225
{
226+
// The source of the external references
227+
//
228+
// Defines the original source of an object as an URI.
229+
// The URI should be follow the syntax according to
230+
// \link https://tools.ietf.org/html/rfc3986 RFC 3986\endlink.
231+
//
232+
optional string reference = 1;
233+
234+
// The type of the external references
235+
//
236+
// Can be used to describe the original source, e.g. OpenDRIVE 1.6
237+
//
238+
optional string type = 2;
239+
226240
// The external identifier reference value.
227241
//
228242
// For a common description of the external identifier, where a wide range
@@ -231,13 +245,7 @@ message ExternalReference
231245
// E.g. referencing a unique lane in OpenDRIVE
232246
// (RoadId --> String, S-Value of LaneSection --> Double, LaneId --> Int)
233247
//
234-
repeated string value = 1;
235-
236-
// The source of the references
237-
//
238-
// Can be used to describe the original source, e.g. OpenDRIVE 1.6
239-
//
240-
optional string source_reference = 2;
248+
repeated string identifier = 3;
241249
}
242250

243251
//

0 commit comments

Comments
 (0)