<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
	targetNamespace="http://www.ivoa.net/xml/theory/Simulation/v0.1"
	xmlns="http://www.ivoa.net/xml/theory/Simulation/v0.1"
	xmlns:res="http://www.ivoa.net/xml/VOResource/v1.0"
	elementFormDefault="qualified">
	<xs:import namespace="http://www.ivoa.net/xml/VOResource/v1.0"
		schemaLocation="http://www.ivoa.net/xml/VOResource/VOResource-v1.0.xsd" />

	<xs:simpleType name="CardinalityType">
		<xs:annotation>
			<xs:documentation>
				List of valid values for indicating the cardinality of a
				property. Values have usual meaning.
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="0..1" />
			<xs:enumeration value="1" />
			<xs:enumeration value="0..*" />
			<xs:enumeration value="1..*" />
		</xs:restriction>
	</xs:simpleType>

	<xs:simpleType name="DatatypeType">
		<xs:annotation>
			<xs:documentation>
				List of primitive datatypes that a parameter can have.
				These are software datatypes (i.e. float and double iso
				only real).
			</xs:documentation>
		</xs:annotation>
		<xs:restriction base="xs:string">
			<xs:enumeration value="boolean" />
			<xs:enumeration value="complex" />
			<xs:enumeration value="datetime" />
			<xs:enumeration value="double" />
			<xs:enumeration value="float" />
			<xs:enumeration value="int" />
			<xs:enumeration value="long" />
			<xs:enumeration value="rational" />
			<xs:enumeration value="short" />
			<xs:enumeration value="string" />
		</xs:restriction>
	</xs:simpleType>


</xs:schema>
