<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema version="2.0"
	attributeFormDefault="unqualified"
	elementFormDefault="qualified"
	targetNamespace="http://futurs.inria.fr/gemo/axml/service/Materialization"
	xmlns="http://futurs.inria.fr/gemo/axml/service/Materialization"
	xmlns:xsd="http://www.w3.org/2001/XMLSchema">
	
	<xsd:annotation><xsd:documentation>
		Defines types and elements needed for the materialization service of a peer
	</xsd:documentation></xsd:annotation>
	
	<!-- WSDL -->
	<xsd:element name="activate">
		<xsd:annotation><xsd:documentation>
			A Web service operation to activate a specific service call
			
			TODO: it is better change the Web service to use AddressSpecificationType for consistency
		</xsd:documentation></xsd:annotation>
		<xsd:complexType>
			<xsd:all>
				<xsd:element name="document" type="xsd:string" />
				<xsd:element name="sc" type="xsd:string" />
			</xsd:all>
		</xsd:complexType>
	</xsd:element>
	
	<!-- WSDL -->
	<xsd:element name="evaluate">
		<xsd:annotation><xsd:documentation>
			A Web service operation to evaluate a specific document on this peer
			
			TODO: maybe evaluate variant is needed which would accept the whole XML tree to evaluate, 
			now newNode would be needed for that
		</xsd:documentation></xsd:annotation>
		<xsd:complexType>
			<xsd:all>
				<xsd:element name="document" type="xsd:string" />
			</xsd:all>
		</xsd:complexType>
	</xsd:element>

</xsd:schema>