@@ -31,7 +31,7 @@ pub mod airbag_seat_massager {
31
31
#[ derive( derivative:: Derivative ) ]
32
32
#[ derivative( Default ) ]
33
33
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
34
- pub struct TYPE {
34
+ pub struct PAYLOAD_TYPE {
35
35
#[ serde( rename = "@context" ) ]
36
36
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
37
37
pub context : Vec < String > ,
@@ -53,7 +53,7 @@ pub mod airbag_seat_massager {
53
53
#[ derive( derivative:: Derivative ) ]
54
54
#[ derivative( Default ) ]
55
55
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
56
- pub struct TYPE {
56
+ pub struct PAYLOAD_TYPE {
57
57
#[ serde( rename = "@context" ) ]
58
58
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
59
59
pub context : Vec < String > ,
@@ -80,7 +80,7 @@ pub mod airbag_seat_massager {
80
80
#[ derive( derivative:: Derivative ) ]
81
81
#[ derivative( Default ) ]
82
82
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
83
- pub struct TYPE {
83
+ pub struct PAYLOAD_TYPE {
84
84
#[ serde( rename = "@context" ) ]
85
85
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
86
86
pub context : Vec < String > ,
@@ -101,7 +101,7 @@ pub mod airbag_seat_massager {
101
101
#[ derive( derivative:: Derivative ) ]
102
102
#[ derivative( Default ) ]
103
103
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
104
- pub struct TYPE {
104
+ pub struct PAYLOAD_TYPE {
105
105
#[ serde( rename = "@context" ) ]
106
106
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
107
107
pub context : Vec < String > ,
@@ -156,7 +156,7 @@ pub mod basic_airbag_seat_massager {
156
156
#[ derive( derivative:: Derivative ) ]
157
157
#[ derivative( Default ) ]
158
158
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
159
- pub struct TYPE {
159
+ pub struct ENTITY_TYPE {
160
160
#[ serde( rename = "@context" ) ]
161
161
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
162
162
pub context : Vec < String > ,
@@ -242,7 +242,7 @@ pub mod cabin {
242
242
#[ derive( derivative:: Derivative ) ]
243
243
#[ derivative( Default ) ]
244
244
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
245
- pub struct TYPE {
245
+ pub struct ENTITY_TYPE {
246
246
#[ serde( rename = "@context" ) ]
247
247
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
248
248
pub context : Vec < String > ,
@@ -281,6 +281,20 @@ pub mod camera {
281
281
pub media_content : Vec < u8 > ,
282
282
}
283
283
}
284
+
285
+ #[ derive( derivative:: Derivative ) ]
286
+ #[ derivative( Default ) ]
287
+ #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
288
+ pub struct ENTITY_TYPE {
289
+ #[ serde( rename = "@context" ) ]
290
+ #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
291
+ pub context : Vec < String > ,
292
+ #[ serde( rename = "@id" ) ]
293
+ pub instance_id : String ,
294
+ #[ serde( rename = "@type" ) ]
295
+ #[ derivative( Default ( value = "crate::sdv_v1::camera::ID.to_string()" ) ) ]
296
+ pub model_id : String ,
297
+ }
284
298
}
285
299
286
300
pub mod hmi {
@@ -300,7 +314,7 @@ pub mod hmi {
300
314
#[ derive( derivative:: Derivative ) ]
301
315
#[ derivative( Default ) ]
302
316
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
303
- pub struct TYPE {
317
+ pub struct PAYLOAD_TYPE {
304
318
#[ serde( rename = "@context" ) ]
305
319
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
306
320
pub context : Vec < String > ,
@@ -335,6 +349,20 @@ pub mod hmi {
335
349
}
336
350
}
337
351
352
+ #[ derive( derivative:: Derivative ) ]
353
+ #[ derivative( Default ) ]
354
+ #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
355
+ pub struct ENTITY_TYPE {
356
+ #[ serde( rename = "@context" ) ]
357
+ #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
358
+ pub context : Vec < String > ,
359
+ #[ serde( rename = "@id" ) ]
360
+ pub instance_id : String ,
361
+ #[ serde( rename = "@type" ) ]
362
+ #[ derivative( Default ( value = "crate::sdv_v1::hmi::ID.to_string()" ) ) ]
363
+ pub model_id : String ,
364
+ }
365
+
338
366
pub mod status {
339
367
pub const ID : & str = "dtmi:sdv:hmi:status;1" ;
340
368
pub const NAME : & str = "status" ;
@@ -367,6 +395,20 @@ pub mod hvac {
367
395
368
396
pub type TYPE = bool ;
369
397
}
398
+
399
+ #[ derive( derivative:: Derivative ) ]
400
+ #[ derivative( Default ) ]
401
+ #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
402
+ pub struct ENTITY_TYPE {
403
+ #[ serde( rename = "@context" ) ]
404
+ #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
405
+ pub context : Vec < String > ,
406
+ #[ serde( rename = "@id" ) ]
407
+ pub instance_id : String ,
408
+ #[ serde( rename = "@type" ) ]
409
+ #[ derivative( Default ( value = "crate::sdv_v1::hvac::ID.to_string()" ) ) ]
410
+ pub model_id : String ,
411
+ }
370
412
}
371
413
372
414
pub mod obd {
@@ -380,6 +422,20 @@ pub mod obd {
380
422
381
423
pub type TYPE = i32 ;
382
424
}
425
+
426
+ #[ derive( derivative:: Derivative ) ]
427
+ #[ derivative( Default ) ]
428
+ #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
429
+ pub struct ENTITY_TYPE {
430
+ #[ serde( rename = "@context" ) ]
431
+ #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
432
+ pub context : Vec < String > ,
433
+ #[ serde( rename = "@id" ) ]
434
+ pub instance_id : String ,
435
+ #[ serde( rename = "@type" ) ]
436
+ #[ derivative( Default ( value = "crate::sdv_v1::obd::ID.to_string()" ) ) ]
437
+ pub model_id : String ,
438
+ }
383
439
}
384
440
385
441
pub mod premium_airbag_seat_massager {
@@ -389,7 +445,7 @@ pub mod premium_airbag_seat_massager {
389
445
#[ derive( derivative:: Derivative ) ]
390
446
#[ derivative( Default ) ]
391
447
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
392
- pub struct TYPE {
448
+ pub struct ENTITY_TYPE {
393
449
#[ serde( rename = "@context" ) ]
394
450
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
395
451
pub context : Vec < String > ,
@@ -427,7 +483,7 @@ pub mod seat {
427
483
#[ derive( derivative:: Derivative ) ]
428
484
#[ derivative( Default ) ]
429
485
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
430
- pub struct TYPE {
486
+ pub struct ENTITY_TYPE {
431
487
#[ serde( rename = "@context" ) ]
432
488
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
433
489
pub context : Vec < String > ,
@@ -449,20 +505,7 @@ pub mod seat_massager {
449
505
pub const NAME : & str = "sequence_names" ;
450
506
pub const DESCRIPTION : & str = "The name of each of the stored sequences." ;
451
507
452
- #[ derive( derivative:: Derivative ) ]
453
- #[ derivative( Default ) ]
454
- #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
455
- pub struct TYPE {
456
- #[ serde( rename = "@context" ) ]
457
- #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
458
- pub context : Vec < String > ,
459
- #[ serde( rename = "@type" ) ]
460
- #[ derivative( Default (
461
- value = "crate::sdv_v1::seat_massager::sequence_names::ID.to_string()"
462
- ) ) ]
463
- pub model_id : String ,
464
- pub value : Vec < String > ,
465
- }
508
+ pub type TYPE = Vec < String > ;
466
509
}
467
510
468
511
pub mod load_sequence {
@@ -478,7 +521,7 @@ pub mod seat_massager {
478
521
#[ derive( derivative:: Derivative ) ]
479
522
#[ derivative( Default ) ]
480
523
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
481
- pub struct TYPE {
524
+ pub struct PAYLOAD_TYPE {
482
525
#[ serde( rename = "@context" ) ]
483
526
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
484
527
pub context : Vec < String > ,
@@ -499,7 +542,7 @@ pub mod seat_massager {
499
542
#[ derive( derivative:: Derivative ) ]
500
543
#[ derivative( Default ) ]
501
544
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
502
- pub struct TYPE {
545
+ pub struct PAYLOAD_TYPE {
503
546
#[ serde( rename = "@context" ) ]
504
547
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
505
548
pub context : Vec < String > ,
@@ -526,7 +569,7 @@ pub mod seat_massager {
526
569
#[ derive( derivative:: Derivative ) ]
527
570
#[ derivative( Default ) ]
528
571
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
529
- pub struct TYPE {
572
+ pub struct PAYLOAD_TYPE {
530
573
#[ serde( rename = "@context" ) ]
531
574
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
532
575
pub context : Vec < String > ,
@@ -546,7 +589,7 @@ pub mod seat_massager {
546
589
#[ derive( derivative:: Derivative ) ]
547
590
#[ derivative( Default ) ]
548
591
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
549
- pub struct TYPE {
592
+ pub struct PAYLOAD_TYPE {
550
593
#[ serde( rename = "@context" ) ]
551
594
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
552
595
pub context : Vec < String > ,
@@ -573,7 +616,7 @@ pub mod seat_massager {
573
616
#[ derive( derivative:: Derivative ) ]
574
617
#[ derivative( Default ) ]
575
618
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
576
- pub struct TYPE {
619
+ pub struct PAYLOAD_TYPE {
577
620
#[ serde( rename = "@context" ) ]
578
621
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
579
622
pub context : Vec < String > ,
@@ -593,7 +636,7 @@ pub mod seat_massager {
593
636
#[ derive( derivative:: Derivative ) ]
594
637
#[ derivative( Default ) ]
595
638
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
596
- pub struct TYPE {
639
+ pub struct PAYLOAD_TYPE {
597
640
#[ serde( rename = "@context" ) ]
598
641
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
599
642
pub context : Vec < String > ,
@@ -620,7 +663,7 @@ pub mod seat_massager {
620
663
#[ derive( derivative:: Derivative ) ]
621
664
#[ derivative( Default ) ]
622
665
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
623
- pub struct TYPE {
666
+ pub struct PAYLOAD_TYPE {
624
667
#[ serde( rename = "@context" ) ]
625
668
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
626
669
pub context : Vec < String > ,
@@ -640,7 +683,7 @@ pub mod seat_massager {
640
683
#[ derive( derivative:: Derivative ) ]
641
684
#[ derivative( Default ) ]
642
685
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
643
- pub struct TYPE {
686
+ pub struct PAYLOAD_TYPE {
644
687
#[ serde( rename = "@context" ) ]
645
688
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
646
689
pub context : Vec < String > ,
@@ -684,18 +727,8 @@ pub mod vehicle {
684
727
pub type TYPE = String ;
685
728
}
686
729
687
- #[ derive( derivative:: Derivative ) ]
688
- #[ derivative( Default ) ]
689
- #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
730
+ #[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug , Default ) ]
690
731
pub struct TYPE {
691
- #[ serde( rename = "@context" ) ]
692
- #[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
693
- pub context : Vec < String > ,
694
- #[ serde( rename = "@type" ) ]
695
- #[ derivative( Default (
696
- value = "crate::sdv_v1::vehicle::vehicle_identification::ID.to_string()"
697
- ) ) ]
698
- pub model_id : String ,
699
732
pub vin : crate :: sdv_v1:: vehicle:: vehicle_identification:: vin:: TYPE ,
700
733
}
701
734
}
@@ -719,7 +752,7 @@ pub mod vehicle {
719
752
#[ derive( derivative:: Derivative ) ]
720
753
#[ derivative( Default ) ]
721
754
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
722
- pub struct TYPE {
755
+ pub struct ENTITY_TYPE {
723
756
#[ serde( rename = "@context" ) ]
724
757
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
725
758
pub context : Vec < String > ,
0 commit comments