<?xml version="1.0" encoding="ISO-8859-1"?>
<!--
    
 -->


<xs:schema
	  targetNamespace="urn:schemas-cosylab-com:MedWeatherStation:1.0"
	  xmlns="urn:schemas-cosylab-com:MedWeatherStation:1.0"
	  xmlns:xs="http://www.w3.org/2001/XMLSchema"
	  xmlns:cdb="urn:schemas-cosylab-com:CDB:1.0"
  
	  xmlns:baci="urn:schemas-cosylab-com:BACI:1.0"	  
	  elementFormDefault="qualified" 
	  attributeFormDefault="unqualified">
	
	<xs:import namespace="urn:schemas-cosylab-com:CDB:1.0" schemaLocation="CDB.xsd"/>
	<xs:import namespace="urn:schemas-cosylab-com:BACI:1.0" schemaLocation="BACI.xsd"/>
	<xs:complexType name="MedWeatherStationType">
        <xs:sequence>
      			<xs:element name="temperature" type="baci:RWdouble"/>
		  			<xs:element name="winddir" type="baci:RWdouble"/>
		  			<xs:element name="windspeed" type="baci:RWdouble"/>
		  			<xs:element name="humidity" type="baci:RWdouble"/>
		  			<xs:element name="pressure" type="baci:RWdouble"/>
		  			
		    </xs:sequence>
        <xs:attribute name="IPAddress" type="xs:string" use="required"/>
	       <xs:attribute name="port" type="xs:unsignedInt" use="required"/>
  
  	</xs:complexType>
  
  	<xs:element name="MedWeatherStation" type="MedWeatherStationType"/>
</xs:schema>
