Created
August 30, 2021 13:48
-
-
Save nemanja-da/48fa48a40d17ebbbcb8e383c8f8fbed8 to your computer and use it in GitHub Desktop.
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
template Vehicle | |
with | |
operator: Party | |
id: VehicleId | |
lastTsLocation: TsLocation | |
plan: [RideActionCid] -- List of activities to perform (pickups and drop offs) | |
where | |
signatory operator | |
observer id.driver | |
key (operator, id.name): (Party, Text) | |
maintainer key._1 | |
data TsLocation = TsLocation with time: Time, space: Location | |
data Location = Location with x: Decimal, y: Decimal |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment