<?xml version="1.0" encoding="UTF-8"?>
<xs:schema targetNamespace="http://www.smpte-ra.org/schemas/2067-101/2014/scale-macro"
	xmlns:opl="http://www.smpte-ra.org/schemas/2067-100/2014"
	xmlns:ism="http://www.smpte-ra.org/schemas/2067-101/2014/scale-macro"
	xmlns:dcml="http://www.smpte-ra.org/schemas/433/2008/dcmlTypes/" 
	xmlns:xs="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified"
	attributeFormDefault="unqualified">
	<xs:import namespace="http://www.smpte-ra.org/schemas/2067-100/2014"/>
	<xs:import namespace="http://www.smpte-ra.org/schemas/433/2008/dcmlTypes/" />
	<xs:complexType name="ImageScaleMacroType">
		<xs:complexContent>
			<xs:extension base="opl:MacroType">
				<xs:sequence>
					<xs:element name="InputImageSequence">
						<xs:complexType>
							<xs:sequence>
								<xs:element minOccurs="0" name="Annotation" type="dcml:UserTextType"/>
								<xs:element name="Handle" type="opl:HandleType"/>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
					<xs:element name="OutputImageSequence">
						<xs:complexType>
							<xs:sequence>
								<xs:element minOccurs="0" name="Annotation" type="dcml:UserTextType"/>
								<xs:element name="Height" type="xs:positiveInteger"/>
								<xs:element name="Width" type="xs:positiveInteger"/>
								<xs:element ref="ism:BoundaryCondition"/>
								<xs:element name="Algorithm" type="ism:ScalingAlgorithmType">
								</xs:element>
							</xs:sequence>
						</xs:complexType>
					</xs:element>
				</xs:sequence>
			</xs:extension>
		</xs:complexContent>
	</xs:complexType>
	<xs:element name="BoundaryCondition">
		<xs:simpleType>
			<xs:restriction base="xs:string">
				<xs:enumeration value="null"/>
				<xs:enumeration value="mirror"/>
			</xs:restriction>
		</xs:simpleType>
	</xs:element>

	<xs:complexType abstract="true" name="ScalingAlgorithmType"/>
</xs:schema>
