<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified" attributeFormDefault="unqualified">
	<xs:element name="spy.doc">
		<xs:annotation>
			<xs:documentation>Root element for spy.doc.</xs:documentation>
		</xs:annotation>
		<xs:complexType>
			<xs:sequence>
				<xs:element name="documentationSettings" type="documentationSettingsType">
					<xs:annotation>
						<xs:documentation>Documentation-set configuration settings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="htmlHelpSettings" type="htmlHelpSettingsType">
					<xs:annotation>
						<xs:documentation>HTML Help configuration settings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="generationControl" type="generationControlType">
					<xs:annotation>
						<xs:documentation>Generation control flags.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="generationOptions" type="generationOptionsType">
					<xs:annotation>
						<xs:documentation>Set of generation option strings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="linksSettings" type="linksSettingsType">
					<xs:annotation>
						<xs:documentation>Link generation configuration settings.</xs:documentation>
					</xs:annotation>
				</xs:element>
				<xs:element name="pageOptions" type="pageOptionsType">
					<xs:annotation>
						<xs:documentation>HTML page configuration settings.</xs:documentation>
					</xs:annotation>
				</xs:element>
			</xs:sequence>
		</xs:complexType>
	</xs:element>
	<xs:complexType name="documentationFilesType">
		<xs:annotation>
			<xs:documentation>Documentation files used by xsd.doc to construct the HTML help pages.</xs:documentation>
		</xs:annotation>
		<xs:sequence/>
	</xs:complexType>
	<xs:complexType name="documentationSettingsType">
		<xs:annotation>
			<xs:documentation>Documentation-set configuration settings.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="documentationFolderPath" type="xs:string">
				<xs:annotation>
					<xs:documentation>Documentation output folder.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="name" type="xs:string">
				<xs:annotation>
					<xs:documentation>Documentation set name,</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="schemaFilePath" type="xs:string">
				<xs:annotation>
					<xs:documentation>XML-Schema file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="generationControlType">
		<xs:annotation>
			<xs:documentation>Generation control flags.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="hhOnlyFlag" type="xs:boolean">
				<xs:annotation>
					<xs:documentation>Set to True to create only the HTML-Help .hhp, .hcc, .hhk, .chm files.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="noCreateFlag" type="xs:boolean">
				<xs:annotation>
					<xs:documentation>Set to True to skip the XMLSPY and custom-plugin documentation generation phase.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="noDeleteFlag" type="xs:boolean">
				<xs:annotation>
					<xs:documentation>Set to True to not delete working folders and files.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="generationOptionsType">
		<xs:annotation>
			<xs:documentation>Set of generation option strings.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="generationOption" type="xs:string" maxOccurs="unbounded">
				<xs:annotation>
					<xs:documentation>Generation option string used to control XMLSPY and custom-plugin generation.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="linksSettingsType">
		<xs:annotation>
			<xs:documentation>Link generation configuration settings.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="linksFileName" type="xs:string">
				<xs:annotation>
					<xs:documentation>File name of XML-file containing all documentation links.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="schemaBaseUri" type="xs:string">
				<xs:annotation>
					<xs:documentation>XMl-schema base Uri string.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="pageOptionsType">
		<xs:annotation>
			<xs:documentation>HTML page configuration settings.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="cssFilePath" type="xs:string">
				<xs:annotation>
					<xs:documentation>Page CSS file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="footerFilePath" type="xs:string">
				<xs:annotation>
					<xs:documentation>Page HTML footer file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="headerFilePath" type="xs:string">
				<xs:annotation>
					<xs:documentation>Page HTML header file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
	<xs:complexType name="htmlHelpSettingsType">
		<xs:annotation>
			<xs:documentation>HTML Help configuration settings.</xs:documentation>
		</xs:annotation>
		<xs:sequence>
			<xs:element name="htmlHelpProjectFilePath" type="xs:string">
				<xs:annotation>
					<xs:documentation>Html help project template file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="htmlHelpCompilerPath" type="xs:string">
				<xs:annotation>
					<xs:documentation>HTML help compiler (hhc.exe) file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="startPageFilePath" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>HTML start page file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
			<xs:element name="homePageFilePath" type="xs:string" minOccurs="0">
				<xs:annotation>
					<xs:documentation>HTML home page file path.</xs:documentation>
				</xs:annotation>
			</xs:element>
		</xs:sequence>
	</xs:complexType>
</xs:schema>
