<?xml version="1.0" encoding="UTF-8"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" xmlns="urn:cablelabs:md:xsd:ad:3.0" xmlns:core="urn:cablelabs:md:xsd:core:3.0" xmlns:title="urn:cablelabs:md:xsd:title:3.0" xmlns:adid="http://www.ad-id.org/schemas/adid/2.0" targetNamespace="urn:cablelabs:md:xsd:ad:3.0" elementFormDefault="qualified" attributeFormDefault="unqualified" version="1">
	<xsd:import namespace="http://www.ad-id.org/schemas/adid/2.0" schemaLocation="http://www.ad-id.org/schemas/adid/2.0/adid.xsd"/>
	<xsd:import namespace="urn:cablelabs:md:xsd:core:3.0" schemaLocation="MD-SP-CORE-C01.xsd"/>
	<xsd:import namespace="urn:cablelabs:md:xsd:title:3.0" schemaLocation="MD-SP-TITLE-C01.xsd"/>
	<xsd:simpleType name="AdvertisementTierType">
		<xsd:annotation>
			<xsd:documentation xml:lang="en">Value used to determine target market and/or systems for the advertisement.</xsd:documentation>
		</xsd:annotation>
		<xsd:restriction base="core:NonEmptyStringType">
			<xsd:maxLength value="256"/>
		</xsd:restriction>
	</xsd:simpleType>
	<xsd:complexType name="AdvertisementType">
		<xsd:annotation>
			<xsd:documentation>An asset type combining all of the components needed to present an Advertisement.</xsd:documentation>
		</xsd:annotation>
		<xsd:complexContent>
			<xsd:extension base="title:TitleBaseType">
				<xsd:sequence>
					<xsd:element name="AdvertisementTier" type="AdvertisementTierType" minOccurs="0" maxOccurs="unbounded">
						<xsd:annotation>
							<xsd:documentation>Used by the distribution system to determine the target market and/or systems for this particular advertisement.</xsd:documentation>
						</xsd:annotation>
					</xsd:element>
					<xsd:element name="AdId" type="adid:adidType" minOccurs="0"/>
				</xsd:sequence>
			</xsd:extension>
		</xsd:complexContent>
	</xsd:complexType>
</xsd:schema>
