Skip to content

Commit 4890eee

Browse files
error in example
1 parent f0e120e commit 4890eee

8 files changed

Lines changed: 111 additions & 3 deletions

File tree

CONTRIBUTORS.yaml

Lines changed: 7 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,12 @@
11
description: This is a compilation list of all CONTRIBUTORS across different objects (data models) alphabetically ordered. All fields are non mandatory
22
contributors:
3+
- name:
4+
surname:
5+
mail: os2fleetoptimiser@os2.eu
6+
organization: OS2.eu
7+
project: OS2 GPS-Connector
8+
comments: Project funded by OS2 for danish municipalities.
9+
year: 2025
310
- name: Piet
411
surname: Bikker
512
mail: piet@arvoo.com

ItemFlowObserved/examples/example-normalized.json

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -56,8 +56,8 @@
5656
"value": "monoHull"
5757
},
5858
"laneId": {
59-
"type": "Boolean",
60-
"value": true
59+
"type": "Number",
60+
"value": 1
6161
},
6262
"laneDirection": {
6363
"type": "Text",

Vehicle/ADOPTERS.yaml

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -24,4 +24,12 @@ currentAdopters:
2424
project: https://sedimark.eu/
2525
comments:
2626
startDate:
27+
-
28+
adopter: OS2 GPS-Connector
29+
description: Open source project for danish municipalities to collect GPS data for analysis and optimisation
30+
mail: os2fleetoptimiser@os2.eu
31+
organization: https://www.os2.eu/
32+
project: https://github.com/OS2sandbox/gps-connector
33+
comments: Storing additional meta-data for vehicle, such as 'leasingInfo', is useful for the municipalities when managing their leased vehicles. Further, it is crucial for analysis and optimisation to bring in values such as 'monthlyLeaseCost' and 'allowedAnnualDistance' to account for the TCO of a vehicle.
34+
startDate:
2735

Vehicle/examples/example-normalized.json

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -166,5 +166,18 @@
166166
"zoneId": "2",
167167
"wardNum": 4
168168
}
169+
},
170+
"leasingInfo": {
171+
"type": "StructuredValue",
172+
"value": {
173+
"leasingType": "Operating Lease",
174+
"leasingStartDate": "2025-06-01T00:00:00.000Z",
175+
"leasingEndDate": "2029-06-01T00:00:00.000Z",
176+
"monthlyLeaseCost": 525,
177+
"allowedAnnualDistance": 20000,
178+
"allowedDistanceUnit": "kilometer",
179+
"excessDistanceCost": 1,
180+
"leasingProvider": "Municipality Leasing A/S"
181+
}
169182
}
170183
}

Vehicle/examples/example-normalized.jsonld

Lines changed: 13 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,6 +160,19 @@
160160
"zoneName": {
161161
"type": "Property",
162162
"value": "South Zone"
163+
},
164+
"leasingInfo": {
165+
"type": "Property",
166+
"value": {
167+
"leasingType": "Operating Lease",
168+
"leasingStartDate": "2025-06-01T00:00:00.000Z",
169+
"leasingEndDate": "2029-06-01T00:00:00.000Z",
170+
"monthlyLeaseCost": 525,
171+
"allowedAnnualDistance": 20000,
172+
"allowedDistanceUnit": "kilometer",
173+
"excessDistanceCost": 1,
174+
"leasingProvider": "Municipality Leasing A/S"
175+
}
163176
},
164177
"@context": [
165178
"https://smart-data-models.github.io/dataModel.Transportation/context.jsonld"

Vehicle/examples/example.json

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -55,5 +55,15 @@
5555
"wardName": "Bangalore Urban",
5656
"zoneId": "2",
5757
"wardNum": 4
58+
},
59+
"leasingInfo": {
60+
"leasingType": "Operating Lease",
61+
"leasingStartDate": "2025-06-01T00:00:00.000Z",
62+
"leasingEndDate": "2029-06-01T00:00:00.000Z",
63+
"monthlyLeaseCost": 525,
64+
"allowedAnnualDistance": 20000,
65+
"allowedDistanceUnit": "kilometer",
66+
"excessDistanceCost": 1,
67+
"leasingProvider": "Municipality Leasing A/S"
5868
}
5969
}

Vehicle/examples/example.jsonld

Lines changed: 10 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,16 @@
5656
"wardId": "4",
5757
"wardName": "Kempegowda Ward",
5858
"zoneName": "South Zone",
59+
"leasingInfo": {
60+
"leasingType": "Operating Lease",
61+
"leasingStartDate": "2025-06-01T00:00:00.000Z",
62+
"leasingEndDate": "2029-06-01T00:00:00.000Z",
63+
"monthlyLeaseCost": 525,
64+
"allowedAnnualDistance": 20000,
65+
"allowedDistanceUnit": "kilometer",
66+
"excessDistanceCost": 1,
67+
"leasingProvider": "Municipality Leasing A/S"
68+
},
5969
"@context": [
6070
"https://smart-data-models.github.io/dataModel.Transportation/context.jsonld"
6171
]

Vehicle/schema.json

Lines changed: 48 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,6 @@
11
{
22
"$schema": "https://json-schema.org/draft/2020-12/schema",
3-
"$schemaVersion": "0.2.3",
3+
"$schemaVersion": "0.2.4",
44
"modelTags": "IUDX, SEDIMARK",
55
"$id": "https://smart-data-models.github.io/dataModel.Transportation/Vehicle/schema.json",
66
"title": "Smart Data Models - Vehicle",
@@ -418,6 +418,53 @@
418418
"description": "Property. Model:'https://schema.org/Number'. Ward number corresponding to this observation"
419419
}
420420
}
421+
},
422+
"leasingInfo": {
423+
"type": "object",
424+
"description": "Property. Leasing contract information for the vehicle.",
425+
"properties": {
426+
"leasingType": {
427+
"type": "string",
428+
"description": "Property. Type of leasing contract"
429+
},
430+
"leasingStartDate": {
431+
"type": "string",
432+
"format": "date-time",
433+
"description": "Property. Model:'https://schema.org/DateTime'. Start date of the leasing contract"
434+
},
435+
"leasingEndDate": {
436+
"type": "string",
437+
"format": "date-time",
438+
"description": "Property. Model:'https://schema.org/DateTime'. End date of the leasing contract"
439+
},
440+
"monthlyLeaseCost": {
441+
"type": "number",
442+
"minimum": 0,
443+
"description": "Property. Fixed monthly lease payment amount in the contract currency"
444+
},
445+
"allowedAnnualDistance": {
446+
"type": "number",
447+
"minimum": 0,
448+
"description": "Property. Maximum allowed annual distance according to lease contract"
449+
},
450+
"allowedDistanceUnit": {
451+
"type": "string",
452+
"enum": [
453+
"kilometer",
454+
"mile"
455+
],
456+
"description": "Property. Unit for distance measurements in the lease contract"
457+
},
458+
"excessDistanceCost": {
459+
"type": "number",
460+
"minimum": 0,
461+
"description": "Property. Cost per unit distance for exceeding the allowed annual distance"
462+
},
463+
"leasingProvider": {
464+
"type": "string",
465+
"description": "Property. Name or identifier of the leasing company"
466+
}
467+
}
421468
}
422469
}
423470
}

0 commit comments

Comments
 (0)