XSD - Control Feed

Print Close

<?xml version="1.0" encoding="windows-1252"?>
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema" elementFormDefault="qualified">

<xsd:complexType name="descriptionType" abstract="true"/>

<xsd:complexType name="channelDescType">
<xsd:complexContent>
<xsd:extension base="descriptionType">
<xsd:sequence>
<xsd:element name="sourceName" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The business Object for which this channel corresponds to - if missing then the channel contains information from multiple sources.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="feedType" >
<xsd:simpleType>
<xsd:restriction base="xsd:string">
<xsd:enumeration value="control"/>
</xsd:restriction>
</xsd:simpleType>
</xsd:element>
<xsd:element name="batchId" type="xsd:string" minOccurs="0"/>
<xsd:element name="itemCount" type="xsd:positiveInteger" minOccurs="0"/>
</xsd:sequence>
</xsd:extension>
</xsd:complexContent>
</xsd:complexType>

<xsd:simpleType name="operationType">
<xsd:restriction base="xsd:string">
<xsd:enumeration value="control"/>
</xsd:restriction>
</xsd:simpleType>

<xsd:complexType name="rssChannelType">
<xsd:sequence>
<xsd:element name="title" type="xsd:string"/>
<xsd:element name="link" type="xsd:anyURI">
<xsd:annotation>
<xsd:documentation>same as display URL</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="xsd:string"/>
<xsd:element name="lastBuildDate" type="xsd:dateTime">
<xsd:annotation>
<xsd:documentation>
This is the publishing date for this channel
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:any namespace="##other" minOccurs="0"/>
<xsd:element name="channelDesc" type="channelDescType" />
<xsd:element name="item" type="itemType" maxOccurs="unbounded"/>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="itemType">

<xsd:sequence>
<xsd:element name="title" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
This is the title for the item.
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="link" type="xsd:anyURI"/>
<xsd:element name="description" type="xsd:string" minOccurs="0">
<xsd:annotation>
<xsd:documentation>
The description is ignored as far as Oracle processing is concerned
</xsd:documentation>
</xsd:annotation>
</xsd:element>
<xsd:element name="itemDesc">
<xsd:attribute name="operation" type="oss:operationType" use="optional"/>
</xsd:element>
<xsd:any namespace="##other" minOccurs="0"/>
</xsd:sequence>
</xsd:complexType>

<xsd:element name="rss">
<xsd:annotation>
<xsd:documentation>RSS control file</xsd:documentation>
</xsd:annotation>
<xsd:complexType>
<xsd:sequence>
<xsd:element name="channel" type="rssChannelType"/>
</xsd:sequence>
<xsd:attribute name="version" type="xsd:decimal" use="required" fixed="2.0/>
</xsd:complexType>
</xsd:element>

</xsd:schema>