-
Notifications
You must be signed in to change notification settings - Fork 11
Expand file tree
/
Copy pathcpm_schema_2-1-0.json
More file actions
1466 lines (1466 loc) · 51.3 KB
/
cpm_schema_2-1-0.json
File metadata and controls
1466 lines (1466 loc) · 51.3 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://Orange-OpenSource.github.io/its-client/schema/cpm",
"description": "CPM JSON schema",
"$references": [
{
"$comment": "This technical specification file (TS) is hereby considered right over the European standard one (EN); meaning that for any difference that may be present between those files this schema will prefer what is defined in the technical specification",
"name": "CPM TS 103 324",
"version": "2.1.1",
"url": "https://forge.etsi.org/rep/ITS/asn1/cpm_ts103324/-/tree/v2.1.1"
},
{
"$comment": "This technical specification file (TS) is hereby considered right over the European standard one (EN); meaning that for any difference that may be present between those files this schema will prefer what is defined in the technical specification",
"name": "CDD TS 102 894-2",
"version": "2.1.1",
"url": "https://forge.etsi.org/rep/ITS/asn1/cdd_ts102894_2/-/tree/v2.1.1"
}
],
"type": "object",
"additionalProperties": false,
"required": [
"message_type",
"source_uuid",
"timestamp",
"version",
"message"
],
"properties": {
"message_type": {
"type": "string",
"description": "Type of the message carried in message property.",
"const": "cpm"
},
"source_uuid": {
"type": "string",
"description": "Unique id all over the world for the message sender.",
"examples": [
"com_car_4294967295",
"com_application_42"
]
},
"timestamp": {
"type": "integer",
"description": "Timestamp when the message was generated since Unix Epoch (millisecond).",
"examples": [
1574778515424
],
"minimum": 1514764800000,
"maximum": 1830297600000
},
"version": {
"type": "string",
"description": "JSON message format version.",
"const": "2.1.0"
},
"message": {
"type": "object",
"required": [
"protocol_version",
"station_id",
"management_container"
],
"properties": {
"protocol_version": {
"type": "integer",
"description": "Version of the ITS message.",
"minimum": 0,
"maximum": 255,
"examples": [
1
]
},
"station_id": {
"type": "integer",
"description": "Identifier for an ITS-S.",
"minimum": 0,
"maximum": 4294967295,
"examples": [
4294967295,
42
]
},
"management_container": {
"type": "object",
"required": [
"reference_time",
"reference_position"
],
"properties": {
"reference_time": {
"type": "integer",
"description": "Reference time for all time related information in the CPM.",
"default": 0,
"minimum": 0,
"maximum": 4398046511103
},
"reference_position": {
"$ref": "#/$defs/reference_position"
},
"segmentation_info": {
"type": "object",
"description": "Information regarding the message segmentation on the facility layer.",
"required": [
"total_msg_no",
"this_msg_no"
],
"properties": {
"total_msg_no": {
"type": "integer",
"description": "Total number of messages that has been used on the transmitter side to encode the information.",
"minimum": 1,
"maximum": 8
},
"this_msg_no": {
"type": "integer",
"description": "Position of the message within of the total set of messages.",
"minimum": 1,
"maximum": 8
}
}
},
"message_rate_range": {
"type": "object",
"description": "Planned or expected range of the CPM generation rate.",
"required": [
"message_rate_min",
"message_rate_max"
],
"properties": {
"message_rate_min": {
"$ref": "#/$defs/message_rate_hz"
},
"message_rate_max": {
"$ref": "#/$defs/message_rate_hz"
}
}
}
}
},
"originating_vehicle_container": {
"type": "object",
"required": [
"orientation_angle"
],
"properties": {
"orientation_angle": {
"$ref": "#/$defs/angle"
},
"pitch_angle": {
"$ref": "#/$defs/angle"
},
"roll_angle": {
"$ref": "#/$defs/angle"
},
"trailer_data_set": {
"type": "array",
"description": "Information about the trailer dimensions and orientation in case a trailer is present.",
"items": {
"type": "object",
"required": [
"ref_point_id",
"hitch_point_offset",
"hitch_angle"
],
"properties": {
"ref_point_id": {
"type": "integer",
"description": "Identifier of the reference point of the trailer.",
"minimum": 0,
"maximum": 255
},
"hitch_point_offset": {
"type": "integer",
"description": "Position of the hitch point in negative x-direction (according to ISO 8855) from the vehicle Reference Point.",
"minimum": 0,
"maximum": 255
},
"hitch_angle": {
"$ref": "#/$defs/angle"
},
"front_overhang": {
"type": "integer",
"description": "Length of the trailer overhang in the positive x direction (according to ISO 8855) from the trailer Reference Point indicated by the refPointID.",
"minimum": 0,
"maximum": 255
},
"rear_overhang": {
"type": "integer",
"description": "Length of the trailer overhang in the negative x direction (according to ISO 8855) from the trailer Reference Point indicated by the refPointID.",
"minimum": 0,
"maximum": 255
},
"trailer_width": {
"type": "integer",
"description": "Width of the trailer. Unit: 0.1 metre. outOfRange (61), unavailable (62).",
"default": 62,
"minimum": 1,
"maximum": 62
}
}
}
}
}
},
"originating_rsu_container": {
"type": "array",
"description": "Identifies the MAPEM containing the topology information reference in the Perceived Object Container.",
"items": {
"$ref": "#/$defs/map_reference"
}
},
"sensor_information_container": {
"type": "array",
"description": "List of information for individual sensor(s) which are mounted to a a vehicle or roadside.",
"minItems": 1,
"maxItems": 128,
"items": {
"type": "object",
"required": [
"sensor_id",
"sensor_type",
"shadowing_applies"
],
"properties": {
"sensor_id": {
"type": "integer",
"description": "Sensor identifier.",
"minimum": 0,
"maximum": 255
},
"sensor_type": {
"type": "integer",
"description": "Type of attached sensor. undefined(0), radar(1), lidar(2), monovideo(3), stereovision(4), nightvision(5), ultrasonic(6), pmd(7), inductionloop(8), sphericalCamera(9), uwb (10), acoustic (11), localAggregation (12), itsAggregation (13).",
"minimum": 0,
"maximum": 31
},
"perception_region_shape": {
"$ref": "#/$defs/shape"
},
"perception_region_confidence": {
"type": "integer",
"description": "Homogeneous perception region confidence that can be assumed for the entire perception region shape of this sensor.",
"minimum": 1,
"maximum": 101,
"default": 101
},
"shadowing_applies": {
"type": "boolean",
"description": "Indicates if the standard shadowing approach applies to the described perception region."
}
}
}
},
"perception_region_container": {
"type": "array",
"description": "Perception Region Container as a list of perception region information objects.",
"minItems": 1,
"maxItems": 256,
"items": {
"type": "object",
"required": [
"measurement_delta_time",
"perception_region_confidence",
"perception_region_shape",
"shadowing_applies"
],
"properties": {
"measurement_delta_time": {
"type": "integer",
"description": "Difference between the time of estimation of the perception region and the reference time. Positive values indicates that the provided information refers to a point in time after the reference time.",
"minimum": -2048,
"maximum": 2047
},
"perception_region_confidence": {
"type": "integer",
"description": "Perception confidence.",
"minimum": 1,
"maximum": 101,
"default": 101
},
"perception_region_shape": {
"$ref": "#/$defs/shape"
},
"shadowing_applies": {
"type": "boolean",
"description": "Indicates if the standard shadowing approach applies to the described perception region."
},
"sensor_id_list": {
"type": "array",
"description": "Optional list of identifiers of the sensors which are involved in perceiving the region.",
"minItems": 1,
"maxItems": 128,
"items": {
"type": "integer",
"description": "Sensor identifier.",
"minimum": 0,
"maximum": 255
}
},
"perceived_object_ids": {
"type": "array",
"description": "Optional list of identifiers of the objects specified in the Perceived Object Container that are contained in the perception region specified in the component perceptionRegionShape.",
"minItems": 0,
"maxItems": 255,
"items": {
"type": "integer",
"description": "Object identifier",
"minimum": 0,
"maximum": 65535
}
}
}
}
},
"perceived_object_container": {
"type": "array",
"description": "List of information for individual perceived object. The total number of detected objects by the station at the time of generating the message. Due to the dynamic message generation rules, this number does not have to reflect the number of objects included in this message but states the number of objects known to the sender at the time of generating the message.",
"minItems": 0,
"maxItems": 255,
"items": {
"type": "object",
"required": [
"measurement_delta_time",
"position"
],
"properties": {
"measurement_delta_time": {
"type": "integer",
"description": "Time difference from a reference time to the time of the measurement of the object.",
"minimum": -2048,
"maximum": 2047
},
"position": {
"$ref": "#/$defs/cartesian_position_3d_with_confidence"
},
"object_id": {
"type": "integer",
"description": "Optional identifier assigned to a detected object.",
"minimum": 0,
"maximum": 65535
},
"velocity": {
"type": "object",
"description": "Velocity vector of the object within the pre-defined coordinate system.",
"oneOf": [
{
"required": [
"polar_velocity"
]
},
{
"required": [
"cartesian_velocity"
]
}
],
"properties": {
"polar_velocity": {
"type": "object",
"description": "Representation of the velocity vector in a polar or cylindrical coordinate system.",
"required": [
"velocity_magnitude",
"velocity_direction"
],
"properties": {
"velocity_magnitude": {
"$ref": "#/$defs/speed"
},
"velocity_direction": {
"$ref": "#/$defs/angle"
},
"z_velocity": {
"$ref": "#/$defs/velocity_component"
}
}
},
"cartesian_velocity": {
"type": "object",
"description": "Representation of the velocity vector in a cartesian coordinate system.",
"required": [
"x_velocity",
"y_velocity"
],
"properties": {
"x_velocity": {
"$ref": "#/$defs/velocity_component"
},
"y_velocity": {
"$ref": "#/$defs/velocity_component"
},
"z_velocity": {
"$ref": "#/$defs/velocity_component"
}
}
}
}
},
"acceleration": {
"type": "object",
"description": "Acceleration vector of the object within the pre-defined coordinate system.",
"oneOf": [
{
"required": [
"polar_acceleration"
]
},
{
"required": [
"cartesian_acceleration"
]
}
],
"properties": {
"polar_acceleration": {
"type": "object",
"description": "Representation of the acceleration vector in a polar or cylindrical coordinate system.",
"required": [
"acceleration_magnitude",
"acceleration_direction"
],
"properties": {
"acceleration_magnitude": {
"type": "object",
"description": "Acceleration vector in a polar or cylindrical coordinate system.",
"required": [
"value",
"confidence"
],
"properties": {
"value": {
"type": "integer",
"description": "Magnitude of the acceleration vector.",
"minimum": 0,
"maximum": 161,
"default": 161
},
"confidence": {
"type": "integer",
"description": "Confidence value of the magnitude value.",
"minimum": 0,
"maximum": 102,
"default": 102
}
}
},
"acceleration_direction": {
"$ref": "#/$defs/angle"
},
"z_acceleration": {
"$ref": "#/$defs/acceleration_component"
}
}
},
"cartesian_acceleration": {
"type": "object",
"description": "Representation of the acceleration vector in a cartesian coordinate system.",
"required": [
"x_acceleration",
"y_acceleration"
],
"properties": {
"x_acceleration": {
"$ref": "#/$defs/acceleration_component"
},
"y_acceleration": {
"$ref": "#/$defs/acceleration_component"
},
"z_acceleration": {
"$ref": "#/$defs/acceleration_component"
}
}
}
}
},
"angles": {
"type": "object",
"description": "Optional Euler angles of the object bounding box at the time of measurement.",
"required": [
"z_angle"
],
"properties": {
"z_angle": {
"$ref": "#/$defs/angle"
},
"y_angle": {
"$ref": "#/$defs/angle"
},
"x_angle": {
"$ref": "#/$defs/angle"
}
}
},
"z_angular_velocity": {
"$ref": "#/$defs/cartesian_angular_velocity_component"
},
"lower_triangular_correlation_matrices": {
"type": "array",
"description": "Optional set of lower triangular correlation matrices for selected components of the provided kinematic state and attitude vector.",
"minItems": 1,
"maxItems": 4,
"items": {
"type": "object",
"description": "Lower triangular positive semi-definite matrix.",
"required": [
"components_included_in_the_matrix",
"matrix"
],
"properties": {
"components_included_in_the_matrix": {
"type": "object",
"description": "Indication of which components of a PerceivedObject are included in the matrix.",
"required": [
"x_position",
"y_position",
"z_position",
"x_velocity_or_velocity_magnitude",
"y_velocity_or_velocity_direction",
"z_speed",
"x_accel_or_accel_magnitude",
"y_accel_or_accel_direction",
"z_acceleration",
"z_angle",
"y_angle",
"x_angle",
"z_angular_velocity"
],
"properties": {
"x_position": {
"type": "boolean"
},
"y_position": {
"type": "boolean"
},
"z_position": {
"type": "boolean"
},
"x_velocity_or_velocity_magnitude": {
"type": "boolean"
},
"y_velocity_or_velocity_direction": {
"type": "boolean"
},
"z_speed": {
"type": "boolean"
},
"x_accel_or_accel_magnitude": {
"type": "boolean"
},
"y_accel_or_accel_direction": {
"type": "boolean"
},
"z_acceleration": {
"type": "boolean"
},
"z_angle": {
"type": "boolean"
},
"y_angle": {
"type": "boolean"
},
"x_angle": {
"type": "boolean"
},
"z_angular_velocity": {
"type": "boolean"
}
}
},
"matrix": {
"type": "array",
"description": "List of cells of the lower triangular positive semi-definite matrix ordered by columns and by rows.",
"minItems": 1,
"maxItems": 13,
"items": {
"type": "array",
"items": {
"type": "array",
"minItems": 1,
"maxItems": 13,
"items": {
"type": "integer",
"description": "Bravais-Pearson correlation value for each cell of a lower triangular correlation matrix.",
"minimum": -100,
"maximum": 101,
"default": 101
}
}
}
}
}
}
},
"object_dimension_z": {
"$ref": "#/$defs/object_dimension"
},
"object_dimension_y": {
"$ref": "#/$defs/object_dimension"
},
"object_dimension_x": {
"$ref": "#/$defs/object_dimension"
},
"object_age": {
"type": "integer",
"description": "Optional age of the detected and described object, i.e. the difference in time between the moment t has been first detected and the reference time of the message.",
"minimum": -2048,
"maximum": 2047
},
"object_perception_quality": {
"type": "integer",
"description": "Optional confidence associated to the object.",
"minimum": 0,
"maximum": 15
},
"sensor_id_list": {
"type": "array",
"description": "Optional list of sensor-IDs which provided the measurement data.",
"minItems": 1,
"maxItems": 128,
"items": {
"type": "integer",
"minimum": 0,
"maximum": 255
}
},
"classification": {
"type": "array",
"description": "Optional classification of the described object.",
"minItems": 1,
"maxItems": 8,
"items": {
"type": "object",
"required": [
"object_class",
"confidence"
],
"properties": {
"object_class": {
"type": "object",
"oneOf": [
{
"required": [
"vehicle"
]
},
{
"required": [
"vru"
]
},
{
"required": [
"group"
]
},
{
"required": [
"other"
]
}
],
"properties": {
"vehicle": {
"type": "integer",
"description": "Object is a road vehicle and the specific subclass is specified. unknown (0), pedestrian (1), cyclist (2), moped (3), motorcycle (4), passengerCar (5), bus (6), lightTruck (7), heavyTruck (8), trailer (9), specialVehicle (10), tram 11), lightVruVehicle (12), animal (13), agricultural (14), roadSideUnit (15).",
"minimum": 0,
"maximum": 255
},
"vru": {
"type": "object",
"description": "Object is a VRU and the specific subclass is specified.",
"oneOf": [
{
"required": [
"pedestrian"
]
},
{
"required": [
"bicyclist_and_light_vru_vehicle"
]
},
{
"required": [
"motorcylist"
]
},
{
"required": [
"animal"
]
}
],
"properties": {
"pedestrian": {
"type": "integer",
"description": "unavailable(0), ordinary-pedestrian(1), road-worker(2), first-responder(3), max(15).",
"minimum": 0,
"maximum": 15,
"default": 0
},
"bicyclist_and_light_vru_vehicle": {
"type": "integer",
"description": "unavailable(0), bicyclist(1), wheelchair-user(2), horse-and-rider(3), rollerskater(4), e-scooter(5), personal-transporter(6), pedelec(7), speed-pedelec(8), max(15).",
"minimum": 0,
"maximum": 15,
"default": 0
},
"motorcylist": {
"type": "integer",
"description": "unavailable(0), moped(1), motorcycle(2), motorcycle-and-sidecar-right(3), motorcycle-and-sidecar-left(4), max(15).",
"minimum": 0,
"maximum": 15,
"default": 0
},
"animal": {
"type": "integer",
"description": "unavailable(0), wild-animal(1), farm-animal(2), service-animal(3), max(15).",
"minimum": 0,
"maximum": 15,
"default": 0
}
}
},
"group": {
"type": "object",
"description": "Object is a VRU group or cluster and the cluster information is specified.",
"required": [
"cluster_bounding_box_shape",
"cluster_cardinality_size"
],
"properties": {
"cluster_bounding_box_shape": {
"$ref": "#/$defs/shape"
},
"cluster_cardinality_size": {
"type": "integer",
"description": "Indicates an estimation of the number of VRUs in the group. unavailable(0), onlyLeader(1).",
"minimum": 0,
"maximum": 255
},
"cluster_id": {
"type": "integer",
"description": "Optional identifier of a VRU cluster.",
"minimum": 0,
"maximum": 255
},
"cluster_profiles": {
"type": "object",
"description": "Optionally identifies all the VRU profile types that are known to be within the cluster.",
"required": [
"pedestrian",
"bicyclist",
"motorcyclist",
"animal"
],
"properties": {
"pedestrian": {
"type": "boolean",
"description": "Indicates that the VRU cluster contains at least one pedestrian VRU."
},
"bicyclist": {
"type": "boolean",
"description": "Indicates that the VRU cluster contains at least one bicycle VRU member."
},
"motorcyclist": {
"type": "boolean",
"description": "Indicates that the VRU cluster contains at least one motorcycle VRU member."
},
"animal": {
"type": "boolean",
"description": "Indicates that the VRU cluster contains at least one animal VRU member."
}
}
}
}
},
"other": {
"type": "integer",
"description": "Object is of a different type than the above and the specific subclass is specified. unknown (0), singleObject (1), multipleObjects (2), bulkMaterial (3).",
"minimum": 0,
"maximum": 255
}
}
},
"confidence": {
"type": "integer",
"description": "Confidence value of the classification.",
"minimum": 1,
"maximum": 101,
"default": 101
}
}
}
},
"map_position": {
"type": "object",
"description": "Optional map-matched position of an object.",
"properties": {
"map_reference": {
"$ref": "#/$defs/map_reference"
},
"lane_id": {
"type": "integer",
"description": "Optionally identifies the lane in the road segment or intersection topology on which the position is located.",
"minimum": 0,
"maximum": 255
},
"connection_id": {
"type": "integer",
"description": "Optionally identifies the connection inside the conflict area of an intersection, i.e. it identifies a trajectory for travelling through the conflict area of an intersection which connects e.g an ingress with an egress lane.",
"minimum": 0,
"maximum": 255
},
"longitudinal_lane_position": {
"$ref": "#/$defs/longitudinal_lane_position"
}
}
}
}
}
}
}
}
},
"$defs": {
"pos_confidence_ellipse": {
"type": "object",
"required": [
"semi_major",
"semi_minor",
"semi_major_orientation"
],
"properties": {
"semi_major": {
"type": "integer",
"description": "Half of length of the major axis, i.e. distance between the centre point and major axis point of the position accuracy ellipse.",
"default": 4095,
"minimum": 0,
"maximum": 4095
},
"semi_minor": {
"type": "integer",
"description": "Half of length of the minor axis, i.e. distance between the centre point and minor axis point of the position accuracy ellipse.",
"default": 4095,
"minimum": 0,
"maximum": 4095
},
"semi_major_orientation": {
"type": "integer",
"description": "Orientation direction of the ellipse major axis of the position accuracy ellipse with regards to the WGS84 north.",
"default": 3601,
"minimum": 0,
"maximum": 3601
}
}
},
"altitude": {
"type": "object",
"description": "Altitude and an altitude accuracy of the geographical point.",
"required": [
"value",
"confidence"
],
"properties": {
"value": {
"type": "integer",
"description": "Altitude of a geographical point.",
"default": 800001,
"minimum": -100000,
"maximum": 800001
},
"confidence": {
"type": "integer",
"description": "Confidence level of the altitudeValue.",
"default": 15,
"minimum": 0,
"maximum": 15
}
}
},
"latitude_value": {
"type": "integer",
"description": "Latitude of the geographical point.",
"default": 900000001,
"minimum": -900000000,
"maximum": 900000001
},
"longitude_value": {
"type": "integer",
"description": "Longitude of the geographical point.",
"default": 1800000001,
"minimum": -1800000000,
"maximum": 1800000001
},
"reference_position": {
"type": "object",
"required": [
"latitude",
"longitude",
"position_confidence_ellipse",
"altitude"
],
"properties": {
"latitude": {
"$ref": "#/$defs/latitude_value"
},
"longitude": {
"$ref": "#/$defs/longitude_value"
},
"position_confidence_ellipse": {
"$ref": "#/$defs/pos_confidence_ellipse"
},
"altitude": {
"$ref": "#/$defs/altitude"
}
}
},
"angle_value": {
"type": "integer",
"description": "Angle value in degrees described in the WGS84 reference system with respect to the WGS84 north.",
"default": 3601,
"minimum": 0,
"maximum": 3601
},
"angle": {
"type": "object",
"required": [
"value",
"confidence"
],
"properties": {
"value": {
"$ref": "#/$defs/angle_value"
},
"confidence": {
"type": "integer",
"description": "Unit: 0.1 degrees. outOfRange (126), unavailable (127).",
"minimum": 1,
"maximum": 127,
"default": 127
}
}
},
"map_reference": {
"type": "object",
"oneOf": [
{
"required": [
"road_segment"
]
},
{
"required": [
"intersection"
]
}
],
"properties": {
"road_segment": {
"type": "object",
"description": "Option that identifies the description of a road segment contained in a MAPEM.",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"description": "Identifier of the road segment.",
"minimum": 0,
"maximum": 65535
},
"region": {
"type": "integer",
"description": "Optional identifier of the entity that is responsible for the region in which the road segment is placed.",
"minimum": 0,
"maximum": 65535
}
}
},
"intersection": {
"type": "object",
"description": "Option that identifies the description of an intersection contained in a MAPEM.",
"required": [
"id"
],
"properties": {
"id": {
"type": "integer",
"description": "Identifier of the intersection.",
"minimum": 0,
"maximum": 65535
},
"region": {
"type": "integer",
"description": "Optional identifier of the entity that is responsible for the region in which the intersection is placed.",
"minimum": 0,
"maximum": 65535
}
}
}