-
Notifications
You must be signed in to change notification settings - Fork 0
/
publish.xsd
executable file
·47 lines (47 loc) · 2.44 KB
/
publish.xsd
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
<?xml version="1.0" encoding="UTF-8"?>
<!-- edited with XMLSpy v2009 sp1 (http://www.altova.com) by Purre Persson (TV4 AB) -->
<!--Document developed by SVT and TV4 2009-->
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema" xmlns:content="http://common.tv.se/content/v2_1" xmlns:material="http://common.tv.se/material/v2_1" xmlns:event="http://common.tv.se/event/v2_1" xmlns="http://common.tv.se/publish/v2_2" targetNamespace="http://common.tv.se/publish/v2_1" elementFormDefault="qualified" attributeFormDefault="unqualified" version="2.1">
<xs:import namespace="http://common.tv.se/content/v2_1" schemaLocation="content.xsd"/>
<xs:import namespace="http://common.tv.se/material/v2_1" schemaLocation="material.xsd"/>
<xs:import namespace="http://common.tv.se/event/v2_1" schemaLocation="event.xsd"/>
<xs:element name="publish">
<xs:annotation>
<xs:documentation>root node of publish</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element name="providerId" type="xs:string">
<xs:annotation>
<xs:documentation>id for the provider, could be for example 'se.svt' or 'se.tv4'</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="contentList" type="content:contentListType">
<xs:annotation>
<xs:documentation>content list for the document, at least 1 content is required</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="materialList" type="material:materialListType" minOccurs="0">
<xs:annotation>
<xs:documentation>material list for the document, could be 0 entries</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="broadcastEventList" type="event:eventListType" minOccurs="0">
<xs:annotation>
<xs:documentation>Event list for the document, could be 0 entries</xs:documentation>
</xs:annotation>
</xs:element>
<xs:element name="channelId" type="xs:string" minOccurs="0">
<xs:annotation>
<xs:documentation>id for the current service or channel, could be for example 'se.svt.svt2', 'se.svt.play' or 'se.tv4.tv4plus'</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="timestamp" type="xs:dateTime" use="required">
<xs:annotation>
<xs:documentation>Timestamp when document is created</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:schema>