﻿<?xml version="1.0" encoding="utf-8"?>
<xs:schema id="BWSStatus"
    targetNamespace="http://schemas.bioid.com/2012/10/BWSStatus"
    elementFormDefault="qualified"
    xmlns:tns="http://schemas.bioid.com/2012/10/BWSStatus"
    xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:annotation>
    <xs:documentation xml:lang="en">Schema for message returned by the BWS Status operations.</xs:documentation>
  </xs:annotation>

  <xs:complexType name="feature">
    <xs:attribute name="Name" use="required" type="xs:string" />
    <xs:attribute name="Traits" use="required" type="xs:string" />
    <xs:attribute name="Storage" use="optional" type="xs:string" />
    <xs:attribute name="Partitions" use="optional" type="xs:string" />
  </xs:complexType>
 
  <xs:element name="BWS">
    <xs:complexType>
      <xs:sequence>
        <xs:element name="Feature" minOccurs="0" maxOccurs="unbounded" type="tns:feature"/>
      </xs:sequence>
      <xs:attribute name="Version" use="required" type="xs:string" />
      <xs:attribute name="Label" use="required" type="xs:string" />
    </xs:complexType>
  </xs:element>
</xs:schema>
