<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns="http://zlst.org/schemas/2001/RealmDefinition" targetNamespace="http://zlst.org/schemas/2001/RealmDefinition" elementFormDefault="qualified">
	<xs:import namespace="http://www.w3.org/XML/1998/namespace" schemaLocation="http://www.w3.org/2001/xml.xsd"/>
	<xs:include schemaLocation="http://zlst.org/schemas/2001/RealmType/RealmType.xsd"/>
		
	<xs:element name="RealmDefinition">
		<xs:annotation>
			<xs:documentation>Defines a realm.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
		
			<xs:complexContent>
                <xs:extension base="RealmType">
	
					<xs:sequence>
						<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
					</xs:sequence>
									
					<xs:attribute name="uri" type="xs:anyURI" use="required">
						<xs:annotation>
							<xs:documentation>Internet-unique document identifier, which is the fully specified URI of the definition document.</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					
					<xs:attribute name="created" type="xs:dateTime">
						<xs:annotation>
							<xs:documentation>Must not be later than the modification time.</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					
					<xs:attribute name="modified" type="xs:dateTime" use="required">
						<xs:annotation>
							<xs:documentation>Must be identical to the actual last modified time (UTC) of the resource identified by the id attribute.</xs:documentation>
						</xs:annotation>
					</xs:attribute>
					
				</xs:extension>
			</xs:complexContent>
			
		</xs:complexType>
	</xs:element>
</xs:schema>
