Skip to content

Commit

Permalink
more schema adaptions #2
Browse files Browse the repository at this point in the history
  • Loading branch information
behrisch committed Mar 22, 2024
1 parent 2da7c50 commit 5250ec1
Show file tree
Hide file tree
Showing 2 changed files with 10 additions and 9 deletions.
17 changes: 9 additions & 8 deletions data/xsd/statistic_file.xsd
Original file line number Diff line number Diff line change
Expand Up @@ -52,6 +52,7 @@
</xsd:element>
<xsd:element name="personTeleports">
<xsd:complexType>
<xsd:attribute name="total" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="abortWait" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="wrongDest" use="required" type="xsd:nonNegativeInteger"/>
</xsd:complexType>
Expand All @@ -65,7 +66,7 @@
<xsd:attribute name="waitingTime" use="required" type="timeType"/>
<xsd:attribute name="timeLoss" use="required" type="timeType"/>
<xsd:attribute name="departDelay" use="required" type="timeType"/>
<xsd:attribute name="departDelayWaiting" use="required" type="timeType"/>
<xsd:attribute name="departDelayWaiting" use="required" type="timeTypeWithErrorValue"/>
<xsd:attribute name="totalTravelTime" use="required" type="timeType"/>
<xsd:attribute name="totalDepartDelay" use="required" type="timeType"/>
</xsd:complexType>
Expand Down Expand Up @@ -97,13 +98,13 @@

<xsd:complexType name="rideStatisticsType">
<xsd:attribute name="number" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="routeLength" use="required" type="nonNegativeFloatType"/>
<xsd:attribute name="duration" use="required" type="timeType"/>
<xsd:attribute name="bus" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="train" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="taxi" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="bike" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="aborted" use="required" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="routeLength" use="optional" type="nonNegativeFloatType"/>
<xsd:attribute name="duration" use="optional" type="timeType"/>
<xsd:attribute name="bus" use="optional" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="train" use="optional" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="taxi" use="optional" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="bike" use="optional" type="xsd:nonNegativeInteger"/>
<xsd:attribute name="aborted" use="optional" type="xsd:nonNegativeInteger"/>
</xsd:complexType>

</xsd:schema>
Original file line number Diff line number Diff line change
@@ -1 +1 @@
$SUMO_HOME/tests detector.sumo*,rawdump.sumo*,aggregated*.sumo*,tripinfos.sumo*,queue.sumo*,emissions.sumo*,tripinfos.traci,net_state.traci,bt.sumo*,stopinfos.sumo*,vtypeprobe.sumo*,*state*.sumo*,*state*.traci*,*state*.complex* tools/build_config/schemaCheck.py
$SUMO_HOME/tests detector.sumo*,rawdump.sumo*,aggregated*.sumo*,tripinfos.sumo*,queue.sumo*,emissions.sumo*,tripinfos.traci,net_state.traci,bt.sumo*,stopinfos.sumo*,vtypeprobe.sumo*,*state*.sumo*,*state*.traci*,*state*.complex*,statistic.sumo* tools/build_config/schemaCheck.py

0 comments on commit 5250ec1

Please sign in to comment.