interval.xsd 1.01 KB
<?xml version="1.0" encoding="UTF-8"?>

<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema">
	<xs:include schemaLocation="request.xsd" />	
	
    <xs:element name="interval" substitutionGroup="TimeElement" >
		<xs:complexType>
			<xs:sequence>
				<xs:element name="startTime"  type="xs:string" minOccurs="1" maxOccurs="1"/>
				<xs:element name="timeInterval"  type="xs:string" minOccurs="1" maxOccurs="1"/>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="timetable" substitutionGroup="TimeElement" >
		<xs:complexType>
			<xs:attribute name="id" type="xs:string"  use="required"/>
			<xs:attribute name="index" type="xs:integer"/>
			<xs:attribute name="name" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	
	<xs:element name="catalog" substitutionGroup="TimeElement" >
		<xs:complexType>
			<xs:attribute name="id" type="xs:string"  use="required"/>
			<xs:attribute name="index" type="xs:integer"/>
			<xs:attribute name="name" type="xs:string"/>
		</xs:complexType>
	</xs:element>
	
</xs:schema>