| 1 |
<?xml version="1.0" encoding="UTF-8"?> |
| 2 |
<xs:schema targetNamespace="urn:mpeg:dash:schema:mpd:2011" attributeFormDefault="unqualified" elementFormDefault="qualified" xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:xlink="http://www.w3.org/1999/xlink" xmlns="urn:mpeg:dash:schema:mpd:2011"> |
| 3 |
|
| 4 |
<xs:import namespace="http://www.w3.org/1999/xlink" schemaLocation="xlink.xsd"/> |
| 5 |
|
| 6 |
<xs:annotation> |
| 7 |
<xs:appinfo>Media Presentation Description</xs:appinfo> |
| 8 |
<xs:documentation xml:lang="en"> |
| 9 |
This Schema defines the Media Presentation Description for MPEG-DASH. |
| 10 |
</xs:documentation> |
| 11 |
</xs:annotation> |
| 12 |
|
| 13 |
<!-- MPD: main element --> |
| 14 |
<xs:element name="MPD" type="MPDtype"/> |
| 15 |
|
| 16 |
<!-- MPD Type --> |
| 17 |
<xs:complexType name="MPDtype"> |
| 18 |
<xs:sequence> |
| 19 |
<xs:element name="ProgramInformation" type="ProgramInformationType" minOccurs="0" maxOccurs="unbounded"/> |
| 20 |
<xs:element name="BaseURL" type="BaseURLType" minOccurs="0" maxOccurs="unbounded"/> |
| 21 |
<xs:element name="Location" type="xs:anyURI" minOccurs="0" maxOccurs="unbounded"/> |
| 22 |
<xs:element name="Period" type="PeriodType" maxOccurs="unbounded"/> |
| 23 |
<xs:element name="Metrics" type="MetricsType" minOccurs="0" maxOccurs="unbounded"/> |
| 24 |
<xs:element name="EssentialProperty" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 25 |
<xs:element name="SupplementalProperty" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 26 |
<xs:element name="UTCTiming" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 27 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 28 |
</xs:sequence> |
| 29 |
<xs:attribute name="id" type="xs:string"/> |
| 30 |
<xs:attribute name="profiles" type="xs:string" use="required"/> |
| 31 |
<xs:attribute name="type" type="PresentationType" default="static"/> |
| 32 |
<xs:attribute name="availabilityStartTime" type="xs:dateTime"/> |
| 33 |
<xs:attribute name="availabilityEndTime" type="xs:dateTime"/> |
| 34 |
<xs:attribute name="publishTime" type="xs:dateTime"/> |
| 35 |
<xs:attribute name="mediaPresentationDuration" type="xs:duration"/> |
| 36 |
<xs:attribute name="minimumUpdatePeriod" type="xs:duration"/> |
| 37 |
<xs:attribute name="minBufferTime" type="xs:duration" use="required"/> |
| 38 |
<xs:attribute name="timeShiftBufferDepth" type="xs:duration"/> |
| 39 |
<xs:attribute name="suggestedPresentationDelay" type="xs:duration"/> |
| 40 |
<xs:attribute name="maxSegmentDuration" type="xs:duration"/> |
| 41 |
<xs:attribute name="maxSubsegmentDuration" type="xs:duration"/> |
| 42 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 43 |
</xs:complexType> |
| 44 |
|
| 45 |
<!-- Presentation Type enumeration --> |
| 46 |
<xs:simpleType name="PresentationType"> |
| 47 |
<xs:restriction base="xs:string"> |
| 48 |
<xs:enumeration value="static"/> |
| 49 |
<xs:enumeration value="dynamic"/> |
| 50 |
</xs:restriction> |
| 51 |
</xs:simpleType> |
| 52 |
|
| 53 |
<!-- Period --> |
| 54 |
<xs:complexType name="PeriodType"> |
| 55 |
<xs:sequence> |
| 56 |
<xs:element name="BaseURL" type="BaseURLType" minOccurs="0" maxOccurs="unbounded"/> |
| 57 |
<xs:element name="SegmentBase" type="SegmentBaseType" minOccurs="0"/> |
| 58 |
<xs:element name="SegmentList" type="SegmentListType" minOccurs="0"/> |
| 59 |
<xs:element name="SegmentTemplate" type="SegmentTemplateType" minOccurs="0"/> |
| 60 |
<xs:element name="AssetIdentifier" type="DescriptorType" minOccurs="0"/> |
| 61 |
<xs:element name="EventStream" type="EventStreamType" minOccurs="0" maxOccurs="unbounded"/> |
| 62 |
<xs:element name="AdaptationSet" type="AdaptationSetType" minOccurs="0" maxOccurs="unbounded"/> |
| 63 |
<xs:element name="Subset" type="SubsetType" minOccurs="0" maxOccurs="unbounded"/> |
| 64 |
<xs:element name="SupplementalProperty" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 65 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 66 |
</xs:sequence> |
| 67 |
<xs:attribute ref="xlink:href"/> |
| 68 |
<xs:attribute ref="xlink:actuate" default="onRequest"/> |
| 69 |
<xs:attribute name="id" type="xs:string"/> |
| 70 |
<xs:attribute name="start" type="xs:duration"/> |
| 71 |
<xs:attribute name="duration" type="xs:duration"/> |
| 72 |
<xs:attribute name="bitstreamSwitching" type="xs:boolean" default="false"/> |
| 73 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 74 |
</xs:complexType> |
| 75 |
|
| 76 |
<!-- Event Stream --> |
| 77 |
<xs:complexType name="EventStreamType"> |
| 78 |
<xs:sequence> |
| 79 |
<xs:element name="Event" type="EventType" minOccurs="0" maxOccurs="unbounded"/> |
| 80 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 81 |
</xs:sequence> |
| 82 |
<xs:attribute ref="xlink:href"/> |
| 83 |
<xs:attribute ref="xlink:actuate" default="onRequest"/> |
| 84 |
<xs:attribute name="schemeIdUri" type="xs:anyURI" use="required"/> |
| 85 |
<xs:attribute name="value" type="xs:string"/> |
| 86 |
<xs:attribute name="timescale" type="xs:unsignedInt"/> |
| 87 |
</xs:complexType> |
| 88 |
|
| 89 |
|
| 90 |
<!-- Event --> |
| 91 |
<xs:complexType name="EventType"> |
| 92 |
<xs:sequence> |
| 93 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 94 |
</xs:sequence> |
| 95 |
<xs:attribute name="presentationTime" type="xs:unsignedLong" default="0"/> |
| 96 |
<xs:attribute name="duration" type="xs:unsignedLong"/> |
| 97 |
<xs:attribute name="id" type="xs:unsignedInt"/> |
| 98 |
<xs:attribute name="messageData" type="xs:string"/> |
| 99 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 100 |
</xs:complexType> |
| 101 |
|
| 102 |
<!-- Adaptation Set --> |
| 103 |
<xs:complexType name="AdaptationSetType"> |
| 104 |
<xs:complexContent> |
| 105 |
<xs:extension base="RepresentationBaseType"> |
| 106 |
<xs:sequence> |
| 107 |
<xs:element name="Accessibility" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 108 |
<xs:element name="Role" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 109 |
<xs:element name="Rating" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 110 |
<xs:element name="Viewpoint" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 111 |
<xs:element name="ContentComponent" type="ContentComponentType" minOccurs="0" maxOccurs="unbounded"/> |
| 112 |
<xs:element name="BaseURL" type="BaseURLType" minOccurs="0" maxOccurs="unbounded"/> |
| 113 |
<xs:element name="SegmentBase" type="SegmentBaseType" minOccurs="0"/> |
| 114 |
<xs:element name="SegmentList" type="SegmentListType" minOccurs="0"/> |
| 115 |
<xs:element name="SegmentTemplate" type="SegmentTemplateType" minOccurs="0"/> |
| 116 |
<xs:element name="Representation" type="RepresentationType" minOccurs="0" maxOccurs="unbounded"/> |
| 117 |
</xs:sequence> |
| 118 |
<xs:attribute ref="xlink:href"/> |
| 119 |
<xs:attribute ref="xlink:actuate" default="onRequest"/> |
| 120 |
<xs:attribute name="id" type="xs:unsignedInt"/> |
| 121 |
<xs:attribute name="group" type="xs:unsignedInt"/> |
| 122 |
<xs:attribute name="lang" type="xs:language"/> |
| 123 |
<xs:attribute name="label" type="xs:string" /> |
| 124 |
<xs:attribute name="contentType" type="xs:string"/> |
| 125 |
<xs:attribute name="par" type="RatioType"/> |
| 126 |
<xs:attribute name="minBandwidth" type="xs:unsignedInt"/> |
| 127 |
<xs:attribute name="maxBandwidth" type="xs:unsignedInt"/> |
| 128 |
<xs:attribute name="minWidth" type="xs:unsignedInt"/> |
| 129 |
<xs:attribute name="maxWidth" type="xs:unsignedInt"/> |
| 130 |
<xs:attribute name="minHeight" type="xs:unsignedInt"/> |
| 131 |
<xs:attribute name="maxHeight" type="xs:unsignedInt"/> |
| 132 |
<xs:attribute name="minFrameRate" type="FrameRateType"/> |
| 133 |
<xs:attribute name="maxFrameRate" type="FrameRateType"/> |
| 134 |
<xs:attribute name="segmentAlignment" type="ConditionalUintType" default="false"/> |
| 135 |
<xs:attribute name="subsegmentAlignment" type="ConditionalUintType" default="false"/> |
| 136 |
<xs:attribute name="subsegmentStartsWithSAP" type="SAPType" default="0"/> |
| 137 |
<xs:attribute name="bitstreamSwitching" type="xs:boolean"/> |
| 138 |
</xs:extension> |
| 139 |
</xs:complexContent> |
| 140 |
</xs:complexType> |
| 141 |
|
| 142 |
<!-- Ratio Type for sar and par --> |
| 143 |
<xs:simpleType name="RatioType"> |
| 144 |
<xs:restriction base="xs:string"> |
| 145 |
<xs:pattern value="[0-9]*:[0-9]*"/> |
| 146 |
</xs:restriction> |
| 147 |
</xs:simpleType> |
| 148 |
|
| 149 |
<!-- Type for Frame Rate --> |
| 150 |
<xs:simpleType name="FrameRateType"> |
| 151 |
<xs:restriction base="xs:string"> |
| 152 |
<xs:pattern value="[0-9]*[0-9](/[0-9]*[0-9])?"/> |
| 153 |
</xs:restriction> |
| 154 |
</xs:simpleType> |
| 155 |
|
| 156 |
|
| 157 |
<!-- Conditional Unsigned Integer (unsignedInt or boolean) --> |
| 158 |
<xs:simpleType name="ConditionalUintType"> |
| 159 |
<xs:union memberTypes="xs:unsignedInt xs:boolean"/> |
| 160 |
</xs:simpleType> |
| 161 |
|
| 162 |
<!-- Content Component --> |
| 163 |
<xs:complexType name="ContentComponentType"> |
| 164 |
<xs:sequence> |
| 165 |
<xs:element name="Accessibility" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 166 |
<xs:element name="Role" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 167 |
<xs:element name="Rating" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 168 |
<xs:element name="Viewpoint" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 169 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 170 |
</xs:sequence> |
| 171 |
<xs:attribute name="id" type="xs:unsignedInt"/> |
| 172 |
<xs:attribute name="lang" type="xs:language"/> |
| 173 |
<xs:attribute name="contentType" type="xs:string"/> |
| 174 |
<xs:attribute name="par" type="RatioType"/> |
| 175 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 176 |
</xs:complexType> |
| 177 |
|
| 178 |
<!-- Representation --> |
| 179 |
<xs:complexType name="RepresentationType"> |
| 180 |
<xs:complexContent> |
| 181 |
<xs:extension base="RepresentationBaseType"> |
| 182 |
<xs:sequence> |
| 183 |
<xs:element name="BaseURL" type="BaseURLType" minOccurs="0" maxOccurs="unbounded"/> |
| 184 |
<xs:element name="SubRepresentation" type="SubRepresentationType" minOccurs="0" maxOccurs="unbounded"/> |
| 185 |
<xs:element name="SegmentBase" type="SegmentBaseType" minOccurs="0"/> |
| 186 |
<xs:element name="SegmentList" type="SegmentListType" minOccurs="0"/> |
| 187 |
<xs:element name="SegmentTemplate" type="SegmentTemplateType" minOccurs="0"/> |
| 188 |
</xs:sequence> |
| 189 |
<xs:attribute name="id" type="StringNoWhitespaceType" use="required"/> |
| 190 |
<xs:attribute name="bandwidth" type="xs:unsignedInt" use="required"/> |
| 191 |
<xs:attribute name="qualityRanking" type="xs:unsignedInt"/> |
| 192 |
<xs:attribute name="dependencyId" type="StringVectorType"/> |
| 193 |
<xs:attribute name="mediaStreamStructureId" type="StringVectorType"/> |
| 194 |
</xs:extension> |
| 195 |
</xs:complexContent> |
| 196 |
</xs:complexType> |
| 197 |
|
| 198 |
<!-- String without white spaces --> |
| 199 |
<xs:simpleType name="StringNoWhitespaceType"> |
| 200 |
<xs:restriction base="xs:string"> |
| 201 |
<xs:pattern value="[^\r\n\t \p{Z}]*"/> |
| 202 |
</xs:restriction> |
| 203 |
</xs:simpleType> |
| 204 |
|
| 205 |
|
| 206 |
<!-- SubRepresentation --> |
| 207 |
<xs:complexType name="SubRepresentationType"> |
| 208 |
<xs:complexContent> |
| 209 |
<xs:extension base="RepresentationBaseType"> |
| 210 |
<xs:attribute name="level" type="xs:unsignedInt"/> |
| 211 |
<xs:attribute name="dependencyLevel" type="UIntVectorType"/> |
| 212 |
<xs:attribute name="bandwidth" type="xs:unsignedInt"/> |
| 213 |
<xs:attribute name="contentComponent" type="StringVectorType"/> |
| 214 |
</xs:extension> |
| 215 |
</xs:complexContent> |
| 216 |
</xs:complexType> |
| 217 |
|
| 218 |
<!-- Representation base (common attributes and elements) --> |
| 219 |
<xs:complexType name="RepresentationBaseType"> |
| 220 |
<xs:sequence> |
| 221 |
<xs:element name="FramePacking" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 222 |
<xs:element name="AudioChannelConfiguration" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 223 |
<xs:element name="ContentProtection" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 224 |
<xs:element name="EssentialProperty" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 225 |
<xs:element name="SupplementalProperty" type="DescriptorType" minOccurs="0" maxOccurs="unbounded"/> |
| 226 |
<xs:element name="InbandEventStream" type="EventStreamType" minOccurs="0" maxOccurs="unbounded"/> |
| 227 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 228 |
</xs:sequence> |
| 229 |
<xs:attribute name="profiles" type="xs:string"/> |
| 230 |
<xs:attribute name="width" type="xs:unsignedInt"/> |
| 231 |
<xs:attribute name="height" type="xs:unsignedInt"/> |
| 232 |
<xs:attribute name="sar" type="RatioType"/> |
| 233 |
<xs:attribute name="frameRate" type="FrameRateType"/> |
| 234 |
<xs:attribute name="audioSamplingRate" type="xs:string"/> |
| 235 |
<xs:attribute name="mimeType" type="xs:string"/> |
| 236 |
<xs:attribute name="segmentProfiles" type="xs:string"/> |
| 237 |
<xs:attribute name="codecs" type="xs:string"/> |
| 238 |
<xs:attribute name="maximumSAPPeriod" type="xs:double"/> |
| 239 |
<xs:attribute name="startWithSAP" type="SAPType"/> |
| 240 |
<xs:attribute name="maxPlayoutRate" type="xs:double"/> |
| 241 |
<xs:attribute name="codingDependency" type="xs:boolean"/> |
| 242 |
<xs:attribute name="scanType" type="VideoScanType"/> |
| 243 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 244 |
</xs:complexType> |
| 245 |
|
| 246 |
<!-- Stream Access Point type enumeration --> |
| 247 |
<xs:simpleType name="SAPType"> |
| 248 |
<xs:restriction base="xs:unsignedInt"> |
| 249 |
<xs:minInclusive value="0"/> |
| 250 |
<xs:maxInclusive value="6"/> |
| 251 |
</xs:restriction> |
| 252 |
</xs:simpleType> |
| 253 |
|
| 254 |
<!-- Video Scan type enumeration --> |
| 255 |
<xs:simpleType name="VideoScanType"> |
| 256 |
<xs:restriction base="xs:string"> |
| 257 |
<xs:enumeration value="progressive"/> |
| 258 |
<xs:enumeration value="interlaced"/> |
| 259 |
<xs:enumeration value="unknown"/> |
| 260 |
</xs:restriction> |
| 261 |
</xs:simpleType> |
| 262 |
|
| 263 |
<!-- Subset --> |
| 264 |
<xs:complexType name="SubsetType"> |
| 265 |
<xs:attribute name="contains" type="UIntVectorType" use="required"/> |
| 266 |
<xs:attribute name="id" type="xs:string"/> |
| 267 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 268 |
</xs:complexType> |
| 269 |
|
| 270 |
<!-- Segment information base --> |
| 271 |
<xs:complexType name="SegmentBaseType"> |
| 272 |
<xs:sequence> |
| 273 |
<xs:element name="Initialization" type="URLType" minOccurs="0"/> |
| 274 |
<xs:element name="RepresentationIndex" type="URLType" minOccurs="0"/> |
| 275 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 276 |
</xs:sequence> |
| 277 |
<xs:attribute name="timescale" type="xs:unsignedInt"/> |
| 278 |
<xs:attribute name="presentationTimeOffset" type="xs:unsignedLong"/> |
| 279 |
<xs:attribute name="indexRange" type="xs:string"/> |
| 280 |
<xs:attribute name="indexRangeExact" type="xs:boolean" default="false"/> |
| 281 |
<xs:attribute name="availabilityTimeOffset" type="xs:double"/> |
| 282 |
<xs:attribute name="availabilityTimeComplete" type="xs:boolean"/> |
| 283 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 284 |
</xs:complexType> |
| 285 |
|
| 286 |
<!-- Multiple Segment information base --> |
| 287 |
<xs:complexType name="MultipleSegmentBaseType"> |
| 288 |
<xs:complexContent> |
| 289 |
<xs:extension base="SegmentBaseType"> |
| 290 |
<xs:sequence> |
| 291 |
<xs:element name="SegmentTimeline" type="SegmentTimelineType" minOccurs="0"/> |
| 292 |
<xs:element name="BitstreamSwitching" type="URLType" minOccurs="0"/> |
| 293 |
</xs:sequence> |
| 294 |
<xs:attribute name="duration" type="xs:unsignedInt"/> |
| 295 |
<xs:attribute name="startNumber" type="xs:unsignedInt"/> |
| 296 |
<xs:attribute name="endNumber" type="xs:unsignedInt"/> |
| 297 |
</xs:extension> |
| 298 |
</xs:complexContent> |
| 299 |
</xs:complexType> |
| 300 |
|
| 301 |
<!-- Segment Info item URL/range --> |
| 302 |
<xs:complexType name="URLType"> |
| 303 |
<xs:sequence> |
| 304 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 305 |
</xs:sequence> |
| 306 |
<xs:attribute name="sourceURL" type="xs:anyURI"/> |
| 307 |
<xs:attribute name="range" type="xs:string"/> |
| 308 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 309 |
</xs:complexType> |
| 310 |
|
| 311 |
<!-- Segment List --> |
| 312 |
<xs:complexType name="SegmentListType"> |
| 313 |
<xs:complexContent> |
| 314 |
<xs:extension base="MultipleSegmentBaseType"> |
| 315 |
<xs:sequence> |
| 316 |
<xs:element name="SegmentURL" type="SegmentURLType" minOccurs="0" maxOccurs="unbounded"/> |
| 317 |
</xs:sequence> |
| 318 |
<xs:attribute ref="xlink:href"/> |
| 319 |
<xs:attribute ref="xlink:actuate" default="onRequest"/> |
| 320 |
</xs:extension> |
| 321 |
</xs:complexContent> |
| 322 |
</xs:complexType> |
| 323 |
|
| 324 |
<!-- Segment URL --> |
| 325 |
<xs:complexType name="SegmentURLType"> |
| 326 |
<xs:sequence> |
| 327 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 328 |
</xs:sequence> |
| 329 |
<xs:attribute name="media" type="xs:anyURI"/> |
| 330 |
<xs:attribute name="mediaRange" type="xs:string"/> |
| 331 |
<xs:attribute name="index" type="xs:anyURI"/> |
| 332 |
<xs:attribute name="indexRange" type="xs:string"/> |
| 333 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 334 |
</xs:complexType> |
| 335 |
|
| 336 |
<!-- Segment Template --> |
| 337 |
<xs:complexType name="SegmentTemplateType"> |
| 338 |
<xs:complexContent> |
| 339 |
<xs:extension base="MultipleSegmentBaseType"> |
| 340 |
<xs:attribute name="media" type="xs:string"/> |
| 341 |
<xs:attribute name="index" type="xs:string"/> |
| 342 |
<xs:attribute name="initialization" type="xs:string"/> |
| 343 |
<xs:attribute name="bitstreamSwitching" type="xs:string"/> |
| 344 |
</xs:extension> |
| 345 |
</xs:complexContent> |
| 346 |
</xs:complexType> |
| 347 |
|
| 348 |
<!-- Segment Timeline --> |
| 349 |
<xs:complexType name="SegmentTimelineType"> |
| 350 |
<xs:sequence> |
| 351 |
<xs:element name="S" minOccurs="1" maxOccurs="unbounded"> |
| 352 |
<xs:complexType> |
| 353 |
<xs:attribute name="t" type="xs:unsignedLong"/> |
| 354 |
<xs:attribute name="n" type="xs:unsignedLong" use="optional"/> |
| 355 |
<xs:attribute name="d" type="xs:unsignedLong" use="required"/> |
| 356 |
<xs:attribute name="r" type="xs:integer" use="optional" default="0"/> |
| 357 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 358 |
</xs:complexType> |
| 359 |
</xs:element> |
| 360 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 361 |
</xs:sequence> |
| 362 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 363 |
</xs:complexType> |
| 364 |
|
| 365 |
<!-- Whitespace-separated list of strings --> |
| 366 |
<xs:simpleType name="StringVectorType"> |
| 367 |
<xs:list itemType="xs:string"/> |
| 368 |
</xs:simpleType> |
| 369 |
|
| 370 |
<!-- Whitespace-separated list of unsigned integers --> |
| 371 |
<xs:simpleType name="UIntVectorType"> |
| 372 |
<xs:list itemType="xs:unsignedInt"/> |
| 373 |
</xs:simpleType> |
| 374 |
|
| 375 |
<!-- Base URL --> |
| 376 |
<xs:complexType name="BaseURLType"> |
| 377 |
<xs:simpleContent> |
| 378 |
<xs:extension base="xs:anyURI"> |
| 379 |
<xs:attribute name="serviceLocation" type="xs:string"/> |
| 380 |
<xs:attribute name="byteRange" type="xs:string"/> |
| 381 |
<xs:attribute name="availabilityTimeOffset" type="xs:double"/> |
| 382 |
<xs:attribute name="availabilityTimeComplete" type="xs:boolean"/> |
| 383 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 384 |
</xs:extension> |
| 385 |
</xs:simpleContent> |
| 386 |
</xs:complexType> |
| 387 |
|
| 388 |
<!-- Program Information --> |
| 389 |
<xs:complexType name="ProgramInformationType"> |
| 390 |
<xs:sequence> |
| 391 |
<xs:element name="Title" type="xs:string" minOccurs="0"/> |
| 392 |
<xs:element name="Source" type="xs:string" minOccurs="0"/> |
| 393 |
<xs:element name="Copyright" type="xs:string" minOccurs="0"/> |
| 394 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 395 |
</xs:sequence> |
| 396 |
<xs:attribute name="lang" type="xs:language"/> |
| 397 |
<xs:attribute name="moreInformationURL" type="xs:anyURI"/> |
| 398 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 399 |
</xs:complexType> |
| 400 |
|
| 401 |
<!-- Descriptor --> |
| 402 |
<xs:complexType name="DescriptorType"> |
| 403 |
<xs:sequence> |
| 404 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 405 |
</xs:sequence> |
| 406 |
<xs:attribute name="schemeIdUri" type="xs:anyURI" use="required"/> |
| 407 |
<xs:attribute name="value" type="xs:string"/> |
| 408 |
<xs:attribute name="id" type="xs:string"/> |
| 409 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 410 |
</xs:complexType> |
| 411 |
|
| 412 |
<!-- Metrics --> |
| 413 |
<xs:complexType name="MetricsType"> |
| 414 |
<xs:sequence> |
| 415 |
<xs:element name="Reporting" type="DescriptorType" maxOccurs="unbounded"/> |
| 416 |
<xs:element name="Range" type="RangeType" minOccurs="0" maxOccurs="unbounded"/> |
| 417 |
<xs:any namespace="##other" processContents="lax" minOccurs="0" maxOccurs="unbounded"/> |
| 418 |
</xs:sequence> |
| 419 |
<xs:attribute name="metrics" type="xs:string" use="required"/> |
| 420 |
<xs:anyAttribute namespace="##other" processContents="lax"/> |
| 421 |
</xs:complexType> |
| 422 |
|
| 423 |
<!-- Metrics Range --> |
| 424 |
<xs:complexType name="RangeType"> |
| 425 |
<xs:attribute name="starttime" type="xs:duration"/> |
| 426 |
<xs:attribute name="duration" type="xs:duration"/> |
| 427 |
</xs:complexType> |
| 428 |
|
| 429 |
</xs:schema> |