<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:emlf="http://schemas.microsoft.com/windows/2007/10/imaging/postscan/filter/email"
xmlns:xs="http://www.w3.org/2001/XMLSchema" targetNamespace="http://schemas.microsoft.com/windows/2007/10/imaging/postscan/filter/email"
elementFormDefault="qualified">
<xs:annotation>
<xs:documentation>
Distributed Scan Management - Email filter Instructions schema
Copyright 2007 Microsoft Corp. All rights reserved
</xs:documentation>
</xs:annotation>
<xs:annotation>
<xs:documentation>
Define the XML Elements that represent the Filter configuration for
the SMTP Email filter.
</xs:documentation>
</xs:annotation>
<xs:attribute name="CanAddAddresses" type="xs:boolean" default="false" />
<xs:element name="EmailConfig" type="emlf:EmailConfigType" />
<xs:complexType name="EmailConfigType">
<xs:sequence>
<xs:element name="SendToScanUser" type="emlf:BoolExtType" minOccurs="0" />
<xs:element name="SendToAddresses" type="emlf:SendToAddressesType"
minOccurs="0" />
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:complexType name="SendToAddressesType">
<xs:sequence>
<xs:element name="EmailAddress" type="emlf:String255ExtType"
maxOccurs="unbounded" />
<xs:any namespace="##other" minOccurs="0" maxOccurs="unbounded"/>
</xs:sequence>
<xs:attribute ref="emlf:CanAddAddresses"/>
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:complexType>
<xs:annotation>
<xs:documentation>
Extensions to basic element types to allow IHV extensibility
</xs:documentation>
</xs:annotation>
<xs:complexType name="BoolExtType">
<xs:simpleContent>
<xs:extension base="xs:boolean">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:complexType name="String255ExtType">
<xs:simpleContent>
<xs:extension base="emlf:String255BaseType">
<xs:anyAttribute namespace="##other" processContents="lax"/>
</xs:extension>
</xs:simpleContent>
</xs:complexType>
<xs:simpleType name="String255BaseType">
<xs:restriction base="xs:string">
<xs:maxLength value="255"/>
<xs:whiteSpace value="preserve"/>
</xs:restriction>
</xs:simpleType>
</xs:schema>