<?xml version="1.0" encoding="utf-8" standalone="no"?>
<xs:schema elementFormDefault="qualified" attributeFormDefault="unqualified" 
xmlns:fst="http://levelC/schema/3/faultAndStatus" version="3.7" targetNamespace="http://levelC/schema/3/faultAndStatus" 
xmlns:com="http://levelC/schema/3/common" 
xmlns:loc="http://levelC/schema/3/locationReferencing" 
xmlns:comx="http://levelC/schema/3/commonExtension" 
xmlns:fse="http://levelC/schema/3/faultAndStatusSpanishExtension"
xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:import namespace="http://levelC/schema/3/commonExtension" schemaLocation="LevelC_3_CommonExtension.xsd" />
  <xs:import namespace="http://levelC/schema/3/locationReferencing" schemaLocation="LevelC_3_LocationReferencing.xsd" />
  <xs:import namespace="http://levelC/schema/3/common" schemaLocation="LevelC_3_Common.xsd" />
  <xs:import namespace="http://levelC/schema/3/faultAndStatusSpanishExtension" schemaLocation="LevelC_3_FaultAndStatusSpanishExtension.xsd" />
  <xs:complexType name="_DeviceExtensionType">
    <xs:sequence>
      <xs:element name="extendedDevice" type="fse:ExtendedDevice" minOccurs="0" />
      <xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded" />
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="_DeviceTypeEnum">
    <xs:simpleContent>
      <xs:extension base="fst:DeviceTypeEnum">
        <xs:attribute name="_extendedValue" type="xs:string" />
      </xs:extension>
    </xs:simpleContent>
  </xs:complexType>  
  <xs:complexType name="Device">
    <xs:annotation>
      <xs:documentation>Static information about a logical device that delivers a service. A device can announce itself, or the information can be enriched by operators.</xs:documentation>
    </xs:annotation>
    <xs:sequence>
      <xs:element name="typeOfDevice" type="fst:_DeviceTypeEnum" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Information about the type of the device.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="lastUpdateOfDeviceInformation" type="com:DateTime" minOccurs="1" maxOccurs="1">
        <xs:annotation>
          <xs:documentation>Time of the last update of the device information, i.e. the time of the information in this class was last updated.</xs:documentation>
        </xs:annotation>
      </xs:element>
      <xs:element name="pointLocation" type="loc:PointLocation" />
      <xs:element name="_deviceExtension" type="fst:_DeviceExtensionType" minOccurs="0" />
    </xs:sequence>
    <xs:attribute name="id" type="xs:string" use="required" />
    <xs:attribute name="version" type="xs:string" use="required" />
  </xs:complexType>
  <xs:complexType name="DevicePublication">
    <xs:annotation>
      <xs:documentation>This publication provides static information about devices, including its point-location. It can be used in case no specific publication for the type of device is available or suitable. Fault- and StatusPublication can reference to the specified devices.</xs:documentation>
    </xs:annotation>
    <xs:complexContent>
      <xs:extension base="com:PayloadPublication">
        <xs:sequence>
          <xs:element name="headerInformation" type="com:HeaderInformation" />
          <xs:element name="device" type="fst:Device" minOccurs="0" maxOccurs="unbounded" />
          <xs:element name="_devicePublicationExtension" type="com:_ExtensionType" minOccurs="0" />
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>
  <xs:simpleType name="DeviceTypeEnum">
    <xs:annotation>
      <xs:documentation>This enumeration provides information on types of field devices.</xs:documentation>
    </xs:annotation>
    <xs:restriction base="xs:string">
      <xs:enumeration value="camera">
        <xs:annotation>
          <xs:documentation>camera</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="vms">
        <xs:annotation>
          <xs:documentation>A variable message sign</xs:documentation>
        </xs:annotation>
      </xs:enumeration>
      <xs:enumeration value="_extended" />
    </xs:restriction>
  </xs:simpleType>
</xs:schema>