@myrobotaxi/contracts 0.5.0 → 0.6.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +5 -1
- package/dist/index.cjs +364 -0
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +329 -1
- package/dist/index.d.ts +329 -1
- package/dist/index.js +364 -0
- package/dist/index.js.map +1 -1
- package/dist/types.d.cts +300 -1
- package/dist/types.d.ts +300 -1
- package/package.json +3 -1
- package/schemas/drive-detail.schema.json +174 -0
- package/schemas/drives-list.schema.json +184 -0
package/dist/index.js
CHANGED
|
@@ -453,6 +453,368 @@ var vehicle_summary_schema_default = {
|
|
|
453
453
|
}
|
|
454
454
|
};
|
|
455
455
|
|
|
456
|
+
// schemas/drives-list.schema.json
|
|
457
|
+
var drives_list_schema_default = {
|
|
458
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
459
|
+
$id: "https://myrobotaxi.com/schemas/drives-list.schema.json",
|
|
460
|
+
title: "DrivesListResponse",
|
|
461
|
+
description: "Cursor-paginated envelope returned by GET /api/vehicles/{vehicleId}/drives (rest-api.md \xA77.2). Wraps an array of DriveSummary rows under `items`, newest first (ORDER BY startTime DESC, id DESC). Mirrors the Go `drivesPageResponse` struct in telemetry/internal/telemetry/vehicle_drives_types.go and the `PaginatedDrives` component in telemetry/docs/contracts/specs/rest.openapi.yaml. Pairs with the WebSocket `drive_ended` subscription for FR-9.1/FR-9.2: the SDK hydrates the first page here and prepends live `drive_ended` frames without re-fetching. The envelope is part of the wire contract: consumers MUST NOT strip it silently.",
|
|
462
|
+
type: "object",
|
|
463
|
+
additionalProperties: false,
|
|
464
|
+
required: ["items", "nextCursor", "hasMore"],
|
|
465
|
+
properties: {
|
|
466
|
+
items: {
|
|
467
|
+
type: "array",
|
|
468
|
+
description: "Drive summary rows for this page. Always present; an empty array (never null) means no more drives \u2014 e.g. the final page or a vehicle with no completed drives. Ordered startTime DESC, id DESC (rest-api.md \xA77.2 Ordering).",
|
|
469
|
+
"x-classification": "P0",
|
|
470
|
+
items: { $ref: "#/$defs/DriveSummary" }
|
|
471
|
+
},
|
|
472
|
+
nextCursor: {
|
|
473
|
+
type: ["string", "null"],
|
|
474
|
+
description: "Opaque base64 cursor for the next page, or null on the final page. Pass it back as the `cursor` query param to fetch the next page. Encodes (startTime, id) so pagination is stable across concurrent writes. Nullable on the wire \u2014 the Go server emits JSON `null` (not an omitted key) when there is no further page (drivesPageResponse.NextCursor is a `*string` with no omitempty, telemetry/internal/telemetry/vehicle_drives_types.go). Redundant with `hasMore == false`.",
|
|
475
|
+
"x-classification": "P0"
|
|
476
|
+
},
|
|
477
|
+
hasMore: {
|
|
478
|
+
type: "boolean",
|
|
479
|
+
description: "True iff more pages exist after this one. Redundant with `nextCursor != null`, provided for caller convenience.",
|
|
480
|
+
"x-classification": "P0"
|
|
481
|
+
}
|
|
482
|
+
},
|
|
483
|
+
$defs: {
|
|
484
|
+
DriveSummary: {
|
|
485
|
+
title: "DriveSummary",
|
|
486
|
+
description: "Lightweight per-drive row returned by GET /api/vehicles/{vehicleId}/drives. A list-view projection of a completed drive containing the FR-3.4 headline stats plus origin/destination labels, so the history list renders without a per-row DriveDetail fetch. Includes the four P1 location/address labels (MYR-145) and the P0 fsdMiles/fsdPercentage stats (MYR-152). Deliberately omits energyUsedKwh, interventions, and routePoints \u2014 those live on Drive (drive detail, \xA77.3) and DriveRoute (\xA77.4). Mirrors the Go `driveSummary` struct + `toMaskMap` in telemetry/internal/telemetry/vehicle_drives_types.go and the `DriveSummary` component in telemetry/docs/contracts/specs/rest.openapi.yaml.",
|
|
487
|
+
type: "object",
|
|
488
|
+
additionalProperties: false,
|
|
489
|
+
required: [
|
|
490
|
+
"id",
|
|
491
|
+
"vehicleId",
|
|
492
|
+
"startTime",
|
|
493
|
+
"endTime",
|
|
494
|
+
"date",
|
|
495
|
+
"distanceMiles",
|
|
496
|
+
"durationSeconds",
|
|
497
|
+
"avgSpeedMph",
|
|
498
|
+
"maxSpeedMph",
|
|
499
|
+
"startChargeLevel",
|
|
500
|
+
"endChargeLevel",
|
|
501
|
+
"fsdMiles",
|
|
502
|
+
"fsdPercentage",
|
|
503
|
+
"createdAt"
|
|
504
|
+
],
|
|
505
|
+
properties: {
|
|
506
|
+
id: {
|
|
507
|
+
type: "string",
|
|
508
|
+
description: "Opaque database identifier (cuid) for this drive. Matches the `driveId` carried by `drive_started` / `drive_ended` WebSocket frames and the path param of GET /api/drives/{driveId}.",
|
|
509
|
+
"x-classification": "P0",
|
|
510
|
+
examples: ["clmno9876543210zyxw0001"]
|
|
511
|
+
},
|
|
512
|
+
vehicleId: {
|
|
513
|
+
type: "string",
|
|
514
|
+
description: "Opaque database identifier (cuid) for the drive's parent vehicle. Matches VehicleState.vehicleId / VehicleSummary.vehicleId.",
|
|
515
|
+
"x-classification": "P0",
|
|
516
|
+
examples: ["clxyz1234567890abcdef"]
|
|
517
|
+
},
|
|
518
|
+
startTime: {
|
|
519
|
+
type: "string",
|
|
520
|
+
format: "date-time",
|
|
521
|
+
description: "ISO 8601 / RFC 3339 UTC timestamp when the drive began (e.g., '2026-04-13T18:22:00Z').",
|
|
522
|
+
"x-classification": "P0",
|
|
523
|
+
examples: ["2026-04-13T18:22:00Z"]
|
|
524
|
+
},
|
|
525
|
+
endTime: {
|
|
526
|
+
type: "string",
|
|
527
|
+
format: "date-time",
|
|
528
|
+
description: "ISO 8601 / RFC 3339 UTC timestamp when the drive ended (e.g., '2026-04-13T18:46:18Z').",
|
|
529
|
+
"x-classification": "P0",
|
|
530
|
+
examples: ["2026-04-13T18:46:18Z"]
|
|
531
|
+
},
|
|
532
|
+
date: {
|
|
533
|
+
type: "string",
|
|
534
|
+
format: "date",
|
|
535
|
+
description: "Local calendar date of the drive as a 'YYYY-MM-DD' string (e.g., '2026-04-13'), for day-grouping the history list. Not a full timestamp \u2014 use startTime/endTime for instants.",
|
|
536
|
+
"x-classification": "P0",
|
|
537
|
+
examples: ["2026-04-13"]
|
|
538
|
+
},
|
|
539
|
+
startLocation: {
|
|
540
|
+
type: "string",
|
|
541
|
+
description: "Reverse-geocoded place name at the drive's start (e.g., 'Home', 'Whole Foods Market'). OPTIONAL on the wire: the Go handler OMITS this key entirely (never emits '' or null) when the underlying Drive.startLocation column is empty \u2014 zero-GPS at drive start or reverse-geocode failed (toMaskMap, telemetry/internal/telemetry/vehicle_drives_types.go). Consumers branch on key presence.",
|
|
542
|
+
"x-classification": "P1",
|
|
543
|
+
examples: ["Home"]
|
|
544
|
+
},
|
|
545
|
+
startAddress: {
|
|
546
|
+
type: "string",
|
|
547
|
+
description: "Reverse-geocoded street address at the drive's start. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.startAddress column is empty (same omit-when-empty convention as startLocation).",
|
|
548
|
+
"x-classification": "P1",
|
|
549
|
+
examples: ["742 Evergreen Terrace, San Francisco, CA 94107"]
|
|
550
|
+
},
|
|
551
|
+
endLocation: {
|
|
552
|
+
type: "string",
|
|
553
|
+
description: "Reverse-geocoded place name at the drive's end. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.endLocation column is empty \u2014 drive in progress, zero-GPS at drive end, or reverse-geocode failed.",
|
|
554
|
+
"x-classification": "P1",
|
|
555
|
+
examples: ["Whole Foods Market"]
|
|
556
|
+
},
|
|
557
|
+
endAddress: {
|
|
558
|
+
type: "string",
|
|
559
|
+
description: "Reverse-geocoded street address at the drive's end. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.endAddress column is empty.",
|
|
560
|
+
"x-classification": "P1",
|
|
561
|
+
examples: ["399 4th Street, San Francisco, CA 94107"]
|
|
562
|
+
},
|
|
563
|
+
distanceMiles: {
|
|
564
|
+
type: "number",
|
|
565
|
+
description: "Total distance driven, in miles (FR-3.4).",
|
|
566
|
+
"x-classification": "P0",
|
|
567
|
+
"x-unit": "miles",
|
|
568
|
+
minimum: 0,
|
|
569
|
+
examples: [12.4]
|
|
570
|
+
},
|
|
571
|
+
durationSeconds: {
|
|
572
|
+
type: "integer",
|
|
573
|
+
description: "Total drive duration, in seconds (FR-3.4). The Go server converts the stored DurationMinutes to seconds (DurationMinutes * 60) before emitting. Matches the WebSocket drive_ended.payload.durationSeconds shape (DV-12).",
|
|
574
|
+
"x-classification": "P0",
|
|
575
|
+
"x-unit": "seconds",
|
|
576
|
+
minimum: 0,
|
|
577
|
+
examples: [1458]
|
|
578
|
+
},
|
|
579
|
+
avgSpeedMph: {
|
|
580
|
+
type: "number",
|
|
581
|
+
description: "Average speed over the drive, in miles per hour (FR-3.4).",
|
|
582
|
+
"x-classification": "P0",
|
|
583
|
+
"x-unit": "mph",
|
|
584
|
+
minimum: 0,
|
|
585
|
+
examples: [30.5]
|
|
586
|
+
},
|
|
587
|
+
maxSpeedMph: {
|
|
588
|
+
type: "number",
|
|
589
|
+
description: "Maximum speed reached during the drive, in miles per hour (FR-3.4).",
|
|
590
|
+
"x-classification": "P0",
|
|
591
|
+
"x-unit": "mph",
|
|
592
|
+
minimum: 0,
|
|
593
|
+
examples: [65.2]
|
|
594
|
+
},
|
|
595
|
+
startChargeLevel: {
|
|
596
|
+
type: "integer",
|
|
597
|
+
description: "Battery state of charge at drive start (FR-3.4).",
|
|
598
|
+
"x-classification": "P0",
|
|
599
|
+
"x-unit": "percent",
|
|
600
|
+
minimum: 0,
|
|
601
|
+
maximum: 100,
|
|
602
|
+
examples: [82]
|
|
603
|
+
},
|
|
604
|
+
endChargeLevel: {
|
|
605
|
+
type: "integer",
|
|
606
|
+
description: "Battery state of charge at drive end (FR-3.4).",
|
|
607
|
+
"x-classification": "P0",
|
|
608
|
+
"x-unit": "percent",
|
|
609
|
+
minimum: 0,
|
|
610
|
+
maximum: 100,
|
|
611
|
+
examples: [76]
|
|
612
|
+
},
|
|
613
|
+
fsdMiles: {
|
|
614
|
+
type: "number",
|
|
615
|
+
description: "Miles driven under Full Self-Driving during this drive (FR-3.4, MYR-152). Always present; defaults to 0 for a drive with no FSD usage.",
|
|
616
|
+
"x-classification": "P0",
|
|
617
|
+
"x-unit": "miles",
|
|
618
|
+
minimum: 0,
|
|
619
|
+
examples: [8.1]
|
|
620
|
+
},
|
|
621
|
+
fsdPercentage: {
|
|
622
|
+
type: "number",
|
|
623
|
+
description: "Percent of the drive covered by FSD (FR-3.4, MYR-152). Always present; defaults to 0 for a drive with no FSD usage.",
|
|
624
|
+
"x-classification": "P0",
|
|
625
|
+
"x-unit": "percent",
|
|
626
|
+
minimum: 0,
|
|
627
|
+
maximum: 100,
|
|
628
|
+
examples: [65.3]
|
|
629
|
+
},
|
|
630
|
+
createdAt: {
|
|
631
|
+
type: "string",
|
|
632
|
+
format: "date-time",
|
|
633
|
+
description: "ISO 8601 / RFC 3339 UTC row-creation timestamp. The Go server renders it as `CreatedAt.UTC().Format(time.RFC3339)` (telemetry/internal/telemetry/vehicle_drives_types.go).",
|
|
634
|
+
"x-classification": "P0",
|
|
635
|
+
examples: ["2026-04-13T18:46:19Z"]
|
|
636
|
+
}
|
|
637
|
+
}
|
|
638
|
+
}
|
|
639
|
+
}
|
|
640
|
+
};
|
|
641
|
+
|
|
642
|
+
// schemas/drive-detail.schema.json
|
|
643
|
+
var drive_detail_schema_default = {
|
|
644
|
+
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
645
|
+
$id: "https://myrobotaxi.com/schemas/drive-detail.schema.json",
|
|
646
|
+
title: "Drive",
|
|
647
|
+
description: "Full FR-3.4 record for a single completed drive, returned as a bare object (NOT an envelope) by GET /api/drives/{driveId} (rest-api.md \xA77.3). Contains every FR-3.4 stat EXCEPT routePoints, which is served separately by GET /api/drives/{driveId}/route (DriveRoute, \xA77.4). This is the tap-through detail behind a DriveSummary row / a `drive_ended` frame: the SDK's fetchDrive(driveId) helper. Mirrors the Go `driveDetail` struct + `toMaskMap` in telemetry/internal/telemetry/drive_detail_types.go and the `DriveDetail` component in telemetry/docs/contracts/specs/rest.openapi.yaml. Owners and viewers see the same field set including start/end location and address (viewer consent via accepted invite, \xA75.2.3).",
|
|
648
|
+
type: "object",
|
|
649
|
+
additionalProperties: false,
|
|
650
|
+
required: [
|
|
651
|
+
"id",
|
|
652
|
+
"vehicleId",
|
|
653
|
+
"startTime",
|
|
654
|
+
"endTime",
|
|
655
|
+
"date",
|
|
656
|
+
"distanceMiles",
|
|
657
|
+
"durationSeconds",
|
|
658
|
+
"avgSpeedMph",
|
|
659
|
+
"maxSpeedMph",
|
|
660
|
+
"energyUsedKwh",
|
|
661
|
+
"startChargeLevel",
|
|
662
|
+
"endChargeLevel",
|
|
663
|
+
"fsdMiles",
|
|
664
|
+
"fsdPercentage",
|
|
665
|
+
"interventions",
|
|
666
|
+
"createdAt"
|
|
667
|
+
],
|
|
668
|
+
properties: {
|
|
669
|
+
id: {
|
|
670
|
+
type: "string",
|
|
671
|
+
description: "Opaque database identifier (cuid) for this drive. Matches DriveSummary.id and the `driveId` carried by `drive_started` / `drive_ended` WebSocket frames.",
|
|
672
|
+
"x-classification": "P0",
|
|
673
|
+
examples: ["clmno9876543210zyxw0001"]
|
|
674
|
+
},
|
|
675
|
+
vehicleId: {
|
|
676
|
+
type: "string",
|
|
677
|
+
description: "Opaque database identifier (cuid) for the drive's parent vehicle. Matches VehicleState.vehicleId / VehicleSummary.vehicleId / DriveSummary.vehicleId.",
|
|
678
|
+
"x-classification": "P0",
|
|
679
|
+
examples: ["clxyz1234567890abcdef"]
|
|
680
|
+
},
|
|
681
|
+
startTime: {
|
|
682
|
+
type: "string",
|
|
683
|
+
format: "date-time",
|
|
684
|
+
description: "ISO 8601 / RFC 3339 UTC timestamp when the drive began (e.g., '2026-04-13T18:22:00Z').",
|
|
685
|
+
"x-classification": "P0",
|
|
686
|
+
examples: ["2026-04-13T18:22:00Z"]
|
|
687
|
+
},
|
|
688
|
+
endTime: {
|
|
689
|
+
type: "string",
|
|
690
|
+
format: "date-time",
|
|
691
|
+
description: "ISO 8601 / RFC 3339 UTC timestamp when the drive ended (e.g., '2026-04-13T18:46:18Z').",
|
|
692
|
+
"x-classification": "P0",
|
|
693
|
+
examples: ["2026-04-13T18:46:18Z"]
|
|
694
|
+
},
|
|
695
|
+
date: {
|
|
696
|
+
type: "string",
|
|
697
|
+
format: "date",
|
|
698
|
+
description: "Local calendar date of the drive as a 'YYYY-MM-DD' string (e.g., '2026-04-13'). Same field as DriveSummary.date.",
|
|
699
|
+
"x-classification": "P0",
|
|
700
|
+
examples: ["2026-04-13"]
|
|
701
|
+
},
|
|
702
|
+
distanceMiles: {
|
|
703
|
+
type: "number",
|
|
704
|
+
description: "Total distance driven, in miles (FR-3.4).",
|
|
705
|
+
"x-classification": "P0",
|
|
706
|
+
"x-unit": "miles",
|
|
707
|
+
minimum: 0,
|
|
708
|
+
examples: [12.4]
|
|
709
|
+
},
|
|
710
|
+
durationSeconds: {
|
|
711
|
+
type: "integer",
|
|
712
|
+
description: "Total drive duration, in seconds (FR-3.4). The Go server converts the stored DurationMinutes to seconds (DurationMinutes * 60) before emitting.",
|
|
713
|
+
"x-classification": "P0",
|
|
714
|
+
"x-unit": "seconds",
|
|
715
|
+
minimum: 0,
|
|
716
|
+
examples: [1458]
|
|
717
|
+
},
|
|
718
|
+
avgSpeedMph: {
|
|
719
|
+
type: "number",
|
|
720
|
+
description: "Average speed over the drive, in miles per hour (FR-3.4).",
|
|
721
|
+
"x-classification": "P0",
|
|
722
|
+
"x-unit": "mph",
|
|
723
|
+
minimum: 0,
|
|
724
|
+
examples: [30.5]
|
|
725
|
+
},
|
|
726
|
+
maxSpeedMph: {
|
|
727
|
+
type: "number",
|
|
728
|
+
description: "Maximum speed reached during the drive, in miles per hour (FR-3.4).",
|
|
729
|
+
"x-classification": "P0",
|
|
730
|
+
"x-unit": "mph",
|
|
731
|
+
minimum: 0,
|
|
732
|
+
examples: [65.2]
|
|
733
|
+
},
|
|
734
|
+
energyUsedKwh: {
|
|
735
|
+
type: "number",
|
|
736
|
+
description: "Energy consumed during the drive, in kilowatt-hours (FR-3.4). Detail-only stat \u2014 deliberately absent from DriveSummary.",
|
|
737
|
+
"x-classification": "P0",
|
|
738
|
+
"x-unit": "kWh",
|
|
739
|
+
minimum: 0,
|
|
740
|
+
examples: [4.2]
|
|
741
|
+
},
|
|
742
|
+
startChargeLevel: {
|
|
743
|
+
type: "integer",
|
|
744
|
+
description: "Battery state of charge at drive start (FR-3.4).",
|
|
745
|
+
"x-classification": "P0",
|
|
746
|
+
"x-unit": "percent",
|
|
747
|
+
minimum: 0,
|
|
748
|
+
maximum: 100,
|
|
749
|
+
examples: [82]
|
|
750
|
+
},
|
|
751
|
+
endChargeLevel: {
|
|
752
|
+
type: "integer",
|
|
753
|
+
description: "Battery state of charge at drive end (FR-3.4).",
|
|
754
|
+
"x-classification": "P0",
|
|
755
|
+
"x-unit": "percent",
|
|
756
|
+
minimum: 0,
|
|
757
|
+
maximum: 100,
|
|
758
|
+
examples: [76]
|
|
759
|
+
},
|
|
760
|
+
fsdMiles: {
|
|
761
|
+
type: "number",
|
|
762
|
+
description: "Miles driven under Full Self-Driving during this drive (FR-3.4). Always present; defaults to 0 for a drive with no FSD usage.",
|
|
763
|
+
"x-classification": "P0",
|
|
764
|
+
"x-unit": "miles",
|
|
765
|
+
minimum: 0,
|
|
766
|
+
examples: [8.1]
|
|
767
|
+
},
|
|
768
|
+
fsdPercentage: {
|
|
769
|
+
type: "number",
|
|
770
|
+
description: "Percent of the drive covered by FSD (FR-3.4). Always present; defaults to 0 for a drive with no FSD usage.",
|
|
771
|
+
"x-classification": "P0",
|
|
772
|
+
"x-unit": "percent",
|
|
773
|
+
minimum: 0,
|
|
774
|
+
maximum: 100,
|
|
775
|
+
examples: [65.3]
|
|
776
|
+
},
|
|
777
|
+
interventions: {
|
|
778
|
+
type: "integer",
|
|
779
|
+
description: "Count of FSD interventions recorded during the drive (FR-3.4). Detail-only stat \u2014 deliberately absent from DriveSummary.",
|
|
780
|
+
"x-classification": "P0",
|
|
781
|
+
minimum: 0,
|
|
782
|
+
examples: [1]
|
|
783
|
+
},
|
|
784
|
+
startLocation: {
|
|
785
|
+
type: "string",
|
|
786
|
+
description: "Reverse-geocoded place name at the drive's start (e.g., 'Home'). OPTIONAL on the wire: the Go handler OMITS this key entirely (never emits '' or null) when the underlying Drive.startLocation column is empty (toMaskMap, telemetry/internal/telemetry/drive_detail_types.go). Consumers branch on key presence. NOTE: the OpenAPI DriveDetail component types this `[string, null]`, but the Go handler omits the key rather than emitting null \u2014 the code is ground truth (see MYR-202 PR body doc-drift note).",
|
|
787
|
+
"x-classification": "P1",
|
|
788
|
+
examples: ["Home"]
|
|
789
|
+
},
|
|
790
|
+
startAddress: {
|
|
791
|
+
type: "string",
|
|
792
|
+
description: "Reverse-geocoded street address at the drive's start. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.startAddress column is empty (same omit-when-empty convention as startLocation).",
|
|
793
|
+
"x-classification": "P1",
|
|
794
|
+
examples: ["742 Evergreen Terrace, San Francisco, CA 94107"]
|
|
795
|
+
},
|
|
796
|
+
endLocation: {
|
|
797
|
+
type: "string",
|
|
798
|
+
description: "Reverse-geocoded place name at the drive's end. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.endLocation column is empty.",
|
|
799
|
+
"x-classification": "P1",
|
|
800
|
+
examples: ["Whole Foods Market"]
|
|
801
|
+
},
|
|
802
|
+
endAddress: {
|
|
803
|
+
type: "string",
|
|
804
|
+
description: "Reverse-geocoded street address at the drive's end. OPTIONAL on the wire: the key is omitted entirely when the underlying Drive.endAddress column is empty.",
|
|
805
|
+
"x-classification": "P1",
|
|
806
|
+
examples: ["399 4th Street, San Francisco, CA 94107"]
|
|
807
|
+
},
|
|
808
|
+
createdAt: {
|
|
809
|
+
type: "string",
|
|
810
|
+
format: "date-time",
|
|
811
|
+
description: "ISO 8601 / RFC 3339 UTC row-creation timestamp. The Go server renders it as `CreatedAt.UTC().Format(time.RFC3339)` (telemetry/internal/telemetry/drive_detail_types.go).",
|
|
812
|
+
"x-classification": "P0",
|
|
813
|
+
examples: ["2026-04-13T18:46:19Z"]
|
|
814
|
+
}
|
|
815
|
+
}
|
|
816
|
+
};
|
|
817
|
+
|
|
456
818
|
// schemas/ws-messages.schema.json
|
|
457
819
|
var ws_messages_schema_default = {
|
|
458
820
|
$schema: "https://json-schema.org/draft/2020-12/schema",
|
|
@@ -823,6 +1185,8 @@ var ws_envelope_schema_default = {
|
|
|
823
1185
|
var schemas = {
|
|
824
1186
|
vehicleState: vehicle_state_schema_default,
|
|
825
1187
|
vehicleSummary: vehicle_summary_schema_default,
|
|
1188
|
+
drivesList: drives_list_schema_default,
|
|
1189
|
+
driveDetail: drive_detail_schema_default,
|
|
826
1190
|
wsMessages: ws_messages_schema_default,
|
|
827
1191
|
wsEnvelope: ws_envelope_schema_default
|
|
828
1192
|
};
|