Skip to content
This repository has been archived by the owner on Jan 22, 2024. It is now read-only.

Commit

Permalink
Update TrafficFlowObserved data model (#431)
Browse files Browse the repository at this point in the history
  • Loading branch information
neeeel authored and jmcanterafonseca committed May 10, 2019
1 parent 4f0f4ad commit c162f6d
Show file tree
Hide file tree
Showing 2 changed files with 42 additions and 1 deletion.
10 changes: 10 additions & 0 deletions specs/Transportation/TrafficFlowObserved/doc/spec.md
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,16 @@ The data model is defined as shown below:
- Attribute type: Text or URL
- Optional

- `vehicleType` : Type of vehicle from the point of view of its structural characteristics.
- See definition at [Vehicle](../../Vehicle/Vehicle/doc/spec.md).
- Optional

- `vehicleSubType` : allows to specify a sub type of `vehicleType` , eg if the `vehicleType` is set
to `Lorry` the `vehicleSubType` may be `OGV1` or `OGV2` to convey more information
about the exact type of vehicle
- Optional


- `dataProvider` : Specifies the URL to information about the provider of this
information

Expand Down
33 changes: 32 additions & 1 deletion specs/Transportation/TrafficFlowObserved/schema.json
Original file line number Diff line number Diff line change
Expand Up @@ -73,10 +73,41 @@
"forward",
"backward"
]
},
},
"reversedLane": {
"type": "boolean"
},
"vehicleType": {
"type": "string",
"enum": [
"agriculturalVehicle",
"bicycle",
"bus",
"minibus",
"car",
"caravan",
"tram",
"tanker",
"carWithCaravan",
"carWithTrailer",
"lorry",
"moped",
"motorcycle",
"motorcycleWithSideCar",
"motorscooter",
"trailer",
"van",
"constructionOrMaintenanceVehicle",
"trolley",
"binTrolley",
"sweepingMachine",
"cleaningTrolley"
]
},
"vehicleSubType": {
"type": "string"
}

}
}
],
Expand Down

0 comments on commit c162f6d

Please sign in to comment.