@@ -41,7 +41,7 @@ pub mod airbag_seat_massager {
41
41
) ) ]
42
42
pub model_id : String ,
43
43
pub sequence_name : String ,
44
- pub sequence : crate :: sdv_v1:: airbag_seat_massager:: massage_step:: TYPE ,
44
+ pub sequence : crate :: sdv_v1:: airbag_seat_massager:: massage_step:: SCHEMA_TYPE ,
45
45
}
46
46
}
47
47
@@ -62,7 +62,7 @@ pub mod airbag_seat_massager {
62
62
value = "crate::sdv_v1::airbag_seat_massager::store_sequence::response::ID.to_string()"
63
63
) ) ]
64
64
pub model_id : String ,
65
- pub status : crate :: sdv_v1:: airbag_seat_massager:: status:: TYPE ,
65
+ pub status : crate :: sdv_v1:: airbag_seat_massager:: status:: SCHEMA_TYPE ,
66
66
}
67
67
}
68
68
}
@@ -89,7 +89,7 @@ pub mod airbag_seat_massager {
89
89
value = "crate::sdv_v1::airbag_seat_massager::perform_step::request::ID.to_string()"
90
90
) ) ]
91
91
pub model_id : String ,
92
- pub step : crate :: sdv_v1:: airbag_seat_massager:: massage_step:: TYPE ,
92
+ pub step : crate :: sdv_v1:: airbag_seat_massager:: massage_step:: SCHEMA_TYPE ,
93
93
}
94
94
}
95
95
@@ -110,7 +110,7 @@ pub mod airbag_seat_massager {
110
110
value = "crate::sdv_v1::airbag_seat_massager::perform_step::response::ID.to_string()"
111
111
) ) ]
112
112
pub model_id : String ,
113
- pub status : crate :: sdv_v1:: airbag_seat_massager:: status:: TYPE ,
113
+ pub status : crate :: sdv_v1:: airbag_seat_massager:: status:: SCHEMA_TYPE ,
114
114
}
115
115
}
116
116
}
@@ -121,7 +121,7 @@ pub mod airbag_seat_massager {
121
121
pub const DESCRIPTION : & str = "An airbag adjustment." ;
122
122
123
123
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
124
- pub struct TYPE {
124
+ pub struct SCHEMA_TYPE {
125
125
pub airbag_identifier : i32 ,
126
126
pub inflation_level : i32 ,
127
127
pub inflation_duration_in_seconds : i32 ,
@@ -133,7 +133,8 @@ pub mod airbag_seat_massager {
133
133
pub const NAME : & str = "massage_step" ;
134
134
pub const DESCRIPTION : & str = "The massage step." ;
135
135
136
- pub type TYPE = Vec < crate :: sdv_v1:: airbag_seat_massager:: airbag_adjustment:: TYPE > ;
136
+ pub type SCHEMA_TYPE =
137
+ Vec < crate :: sdv_v1:: airbag_seat_massager:: airbag_adjustment:: SCHEMA_TYPE > ;
137
138
}
138
139
139
140
pub mod status {
@@ -142,7 +143,7 @@ pub mod airbag_seat_massager {
142
143
pub const DESCRIPTION : & str = "The status." ;
143
144
144
145
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug , Default ) ]
145
- pub struct TYPE {
146
+ pub struct SCHEMA_TYPE {
146
147
pub code : i32 ,
147
148
pub message : String ,
148
149
}
@@ -167,7 +168,7 @@ pub mod basic_airbag_seat_massager {
167
168
value = "crate::sdv_v1::basic_airbag_seat_massager::ID.to_string()"
168
169
) ) ]
169
170
pub model_id : String ,
170
- pub sequence_names : crate :: sdv_v1:: seat_massager:: sequence_names:: TYPE ,
171
+ pub sequence_names : crate :: sdv_v1:: seat_massager:: sequence_names:: SCHEMA_TYPE ,
171
172
}
172
173
}
173
174
@@ -187,8 +188,6 @@ pub mod cabin {
187
188
#[ serde( rename = "@id" ) ]
188
189
pub instance_id : String ,
189
190
}
190
-
191
- pub type TYPE = Vec < RELATIONSHIP_TYPE > ;
192
191
}
193
192
194
193
pub mod hvac {
@@ -203,8 +202,6 @@ pub mod cabin {
203
202
#[ serde( rename = "@id" ) ]
204
203
pub instance_id : String ,
205
204
}
206
-
207
- pub type TYPE = Vec < RELATIONSHIP_TYPE > ;
208
205
}
209
206
210
207
pub mod seat {
@@ -235,8 +232,6 @@ pub mod cabin {
235
232
pub seat_row : SEAT_ROW_TYPE ,
236
233
pub seat_position : SEAT_POSITION_TYPE ,
237
234
}
238
-
239
- pub type TYPE = Vec < RELATIONSHIP_TYPE > ;
240
235
}
241
236
242
237
#[ derive( derivative:: Derivative ) ]
@@ -251,9 +246,9 @@ pub mod cabin {
251
246
#[ serde( rename = "@type" ) ]
252
247
#[ derivative( Default ( value = "crate::sdv_v1::cabin::ID.to_string()" ) ) ]
253
248
pub model_id : String ,
254
- pub infotainment : crate :: sdv_v1:: cabin:: infotainment:: TYPE ,
255
- pub hvac : crate :: sdv_v1:: cabin:: hvac:: TYPE ,
256
- pub seat : crate :: sdv_v1:: cabin:: seat:: TYPE ,
249
+ pub infotainment : Vec < crate :: sdv_v1:: cabin:: infotainment:: RELATIONSHIP_TYPE > ,
250
+ pub hvac : Vec < crate :: sdv_v1:: cabin:: hvac:: RELATIONSHIP_TYPE > ,
251
+ pub seat : Vec < crate :: sdv_v1:: cabin:: seat:: RELATIONSHIP_TYPE > ,
257
252
}
258
253
}
259
254
@@ -270,7 +265,7 @@ pub mod camera {
270
265
#[ derive( derivative:: Derivative ) ]
271
266
#[ derivative( Default ) ]
272
267
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
273
- pub struct TYPE {
268
+ pub struct PAYLOAD_TYPE {
274
269
#[ serde( rename = "@context" ) ]
275
270
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
276
271
pub context : Vec < String > ,
@@ -294,7 +289,7 @@ pub mod camera {
294
289
#[ serde( rename = "@type" ) ]
295
290
#[ derivative( Default ( value = "crate::sdv_v1::camera::ID.to_string()" ) ) ]
296
291
pub model_id : String ,
297
- }
292
+ }
298
293
}
299
294
300
295
pub mod hmi {
@@ -335,7 +330,7 @@ pub mod hmi {
335
330
#[ derive( derivative:: Derivative ) ]
336
331
#[ derivative( Default ) ]
337
332
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug ) ]
338
- pub struct TYPE {
333
+ pub struct PAYLOAD_TYPE {
339
334
#[ serde( rename = "@context" ) ]
340
335
#[ derivative( Default ( value = "crate::sdv_v1::context()" ) ) ]
341
336
pub context : Vec < String > ,
@@ -344,7 +339,7 @@ pub mod hmi {
344
339
value = "crate::sdv_v1::hmi::show_notification::response::ID.to_string()"
345
340
) ) ]
346
341
pub model_id : String ,
347
- pub status : crate :: sdv_v1:: hmi:: status:: TYPE ,
342
+ pub status : crate :: sdv_v1:: hmi:: status:: SCHEMA_TYPE ,
348
343
}
349
344
}
350
345
}
@@ -361,15 +356,15 @@ pub mod hmi {
361
356
#[ serde( rename = "@type" ) ]
362
357
#[ derivative( Default ( value = "crate::sdv_v1::hmi::ID.to_string()" ) ) ]
363
358
pub model_id : String ,
364
- }
359
+ }
365
360
366
361
pub mod status {
367
362
pub const ID : & str = "dtmi:sdv:hmi:status;1" ;
368
363
pub const NAME : & str = "status" ;
369
364
pub const DESCRIPTION : & str = "The status." ;
370
365
371
366
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug , Default ) ]
372
- pub struct TYPE {
367
+ pub struct SCHEMA_TYPE {
373
368
pub code : i32 ,
374
369
pub message : String ,
375
370
}
@@ -385,15 +380,15 @@ pub mod hvac {
385
380
pub const NAME : & str = "ambient_air_temperature" ;
386
381
pub const DESCRIPTION : & str = "The immediate surroundings air temperature (in Fahrenheit)." ;
387
382
388
- pub type TYPE = i32 ;
383
+ pub type SCHEMA_TYPE = i32 ;
389
384
}
390
385
391
386
pub mod is_air_conditioning_active {
392
387
pub const ID : & str = "dtmi:sdv:HVAC:is_air_conditioning_active;1" ;
393
388
pub const NAME : & str = "is_air_conditioning_active" ;
394
389
pub const DESCRIPTION : & str = "Is air conditioning active?" ;
395
390
396
- pub type TYPE = bool ;
391
+ pub type SCHEMA_TYPE = bool ;
397
392
}
398
393
399
394
#[ derive( derivative:: Derivative ) ]
@@ -408,7 +403,7 @@ pub mod hvac {
408
403
#[ serde( rename = "@type" ) ]
409
404
#[ derivative( Default ( value = "crate::sdv_v1::hvac::ID.to_string()" ) ) ]
410
405
pub model_id : String ,
411
- }
406
+ }
412
407
}
413
408
414
409
pub mod obd {
@@ -420,7 +415,7 @@ pub mod obd {
420
415
pub const NAME : & str = "hybrid_battery_remaining" ;
421
416
pub const DESCRIPTION : & str = "The remaining hybrid battery life." ;
422
417
423
- pub type TYPE = i32 ;
418
+ pub type SCHEMA_TYPE = i32 ;
424
419
}
425
420
426
421
#[ derive( derivative:: Derivative ) ]
@@ -435,7 +430,7 @@ pub mod obd {
435
430
#[ serde( rename = "@type" ) ]
436
431
#[ derivative( Default ( value = "crate::sdv_v1::obd::ID.to_string()" ) ) ]
437
432
pub model_id : String ,
438
- }
433
+ }
439
434
}
440
435
441
436
pub mod premium_airbag_seat_massager {
@@ -456,7 +451,7 @@ pub mod premium_airbag_seat_massager {
456
451
value = "crate::sdv_v1::premium_airbag_seat_massager::ID.to_string()"
457
452
) ) ]
458
453
pub model_id : String ,
459
- pub sequence_names : crate :: sdv_v1:: seat_massager:: sequence_names:: TYPE ,
454
+ pub sequence_names : crate :: sdv_v1:: seat_massager:: sequence_names:: SCHEMA_TYPE ,
460
455
}
461
456
}
462
457
@@ -476,8 +471,6 @@ pub mod seat {
476
471
#[ serde( rename = "@id" ) ]
477
472
pub instance_id : String ,
478
473
}
479
-
480
- pub type TYPE = Vec < RELATIONSHIP_TYPE > ;
481
474
}
482
475
483
476
#[ derive( derivative:: Derivative ) ]
@@ -492,7 +485,7 @@ pub mod seat {
492
485
#[ serde( rename = "@type" ) ]
493
486
#[ derivative( Default ( value = "crate::sdv_v1::seat::ID.to_string()" ) ) ]
494
487
pub model_id : String ,
495
- pub seat_massager : crate :: sdv_v1:: seat:: seat_massager:: TYPE ,
488
+ pub seat_massager : Vec < crate :: sdv_v1:: seat:: seat_massager:: RELATIONSHIP_TYPE > ,
496
489
}
497
490
}
498
491
@@ -505,7 +498,7 @@ pub mod seat_massager {
505
498
pub const NAME : & str = "sequence_names" ;
506
499
pub const DESCRIPTION : & str = "The name of each of the stored sequences." ;
507
500
508
- pub type TYPE = Vec < String > ;
501
+ pub type SCHEMA_TYPE = Vec < String > ;
509
502
}
510
503
511
504
pub mod load_sequence {
@@ -551,7 +544,7 @@ pub mod seat_massager {
551
544
value = "crate::sdv_v1::seat_massager::load_sequence::response::ID.to_string()"
552
545
) ) ]
553
546
pub model_id : String ,
554
- pub status : crate :: sdv_v1:: seat_massager:: status:: TYPE ,
547
+ pub status : crate :: sdv_v1:: seat_massager:: status:: SCHEMA_TYPE ,
555
548
}
556
549
}
557
550
}
@@ -598,7 +591,7 @@ pub mod seat_massager {
598
591
value = "crate::sdv_v1::seat_massager::pause::response::ID.to_string()"
599
592
) ) ]
600
593
pub model_id : String ,
601
- pub status : crate :: sdv_v1:: seat_massager:: status:: TYPE ,
594
+ pub status : crate :: sdv_v1:: seat_massager:: status:: SCHEMA_TYPE ,
602
595
}
603
596
}
604
597
}
@@ -645,7 +638,7 @@ pub mod seat_massager {
645
638
value = "crate::sdv_v1::seat_massager::play::response::ID.to_string()"
646
639
) ) ]
647
640
pub model_id : String ,
648
- pub status : crate :: sdv_v1:: seat_massager:: status:: TYPE ,
641
+ pub status : crate :: sdv_v1:: seat_massager:: status:: SCHEMA_TYPE ,
649
642
}
650
643
}
651
644
}
@@ -692,7 +685,7 @@ pub mod seat_massager {
692
685
value = "crate::sdv_v1::seat_massager::reset::response::ID.to_string()"
693
686
) ) ]
694
687
pub model_id : String ,
695
- pub status : crate :: sdv_v1:: seat_massager:: status:: TYPE ,
688
+ pub status : crate :: sdv_v1:: seat_massager:: status:: SCHEMA_TYPE ,
696
689
}
697
690
}
698
691
}
@@ -703,7 +696,7 @@ pub mod seat_massager {
703
696
pub const DESCRIPTION : & str = "The status." ;
704
697
705
698
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug , Default ) ]
706
- pub struct TYPE {
699
+ pub struct SCHEMA_TYPE {
707
700
pub code : i32 ,
708
701
pub message : String ,
709
702
}
@@ -724,12 +717,12 @@ pub mod vehicle {
724
717
pub const NAME : & str = "vin" ;
725
718
pub const DESCRIPTION : & str = "Vehicle Identification Number." ;
726
719
727
- pub type TYPE = String ;
720
+ pub type SCHEMA_TYPE = String ;
728
721
}
729
722
730
723
#[ derive( serde_derive:: Serialize , serde_derive:: Deserialize , Debug , Default ) ]
731
- pub struct TYPE {
732
- pub vin : crate :: sdv_v1:: vehicle:: vehicle_identification:: vin:: TYPE ,
724
+ pub struct SCHEMA_TYPE {
725
+ pub vin : crate :: sdv_v1:: vehicle:: vehicle_identification:: vin:: SCHEMA_TYPE ,
733
726
}
734
727
}
735
728
@@ -745,8 +738,6 @@ pub mod vehicle {
745
738
#[ serde( rename = "@id" ) ]
746
739
pub instance_id : String ,
747
740
}
748
-
749
- pub type TYPE = Vec < RELATIONSHIP_TYPE > ;
750
741
}
751
742
752
743
#[ derive( derivative:: Derivative ) ]
@@ -761,7 +752,7 @@ pub mod vehicle {
761
752
#[ serde( rename = "@type" ) ]
762
753
#[ derivative( Default ( value = "crate::sdv_v1::vehicle::ID.to_string()" ) ) ]
763
754
pub model_id : String ,
764
- pub vehicle_identification : crate :: sdv_v1:: vehicle:: vehicle_identification:: TYPE ,
765
- pub cabin : crate :: sdv_v1:: vehicle:: cabin:: TYPE ,
755
+ pub vehicle_identification : crate :: sdv_v1:: vehicle:: vehicle_identification:: SCHEMA_TYPE ,
756
+ pub cabin : Vec < crate :: sdv_v1:: vehicle:: cabin:: RELATIONSHIP_TYPE > ,
766
757
}
767
758
}
0 commit comments