Ready to Learn?Ex Libris products all provide open APIs

TagsAndReviews

<?xml version="1.0" encoding="UTF-8"?>
<!--W3C Schema generated by XML Spy v4.4 U (http://www.xmlspy.com)-->
<xsd:schema xmlns:xsd="http://www.w3.org/2001/XMLSchema"
                        xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance"
                        xmlns="http://com/exlibris/primo/xsd/tagsAndReview/config"
                        targetNamespace="http://com/exlibris/primo/xsd/tagsAndReview/config"
                        elementFormDefault="qualified" attributeFormDefault="unqualified">

        <xsd:element name="TagsAndReviews">
                <xsd:complexType>
                        <xsd:sequence>
                                <xsd:element name="Tags" type="Tags" />
                                <xsd:element name="Reviews" type="Reviews" />
                                <xsd:element ref="ERROR"/>
                        </xsd:sequence>
                </xsd:complexType>
        </xsd:element>
        <xsd:element name="ERROR">
          <xsd:complexType mixed="true">
            <xsd:sequence>
            </xsd:sequence>
            <xsd:attribute name="MESSAGE" use="required" type="xsd:string"/>
            <xsd:attribute name="CODE" use="required" type="xsd:string"/>
          </xsd:complexType>
        </xsd:element>
        <xsd:complexType name="Tags">
                <xsd:sequence>
                        <xsd:element name="MyTags" type="MyTags" />
                        <xsd:element name="EverybodyTags" type="EverybodyTags" />
                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="MyTags">
                <xsd:sequence>
                        <xsd:element name="Tag" type="Tag" />
                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="EverybodyTags">
                <xsd:sequence>
                        <xsd:element name="Tag" type="Tag" />
                </xsd:sequence>
        </xsd:complexType>


        <xsd:complexType name="Tag">
                <xsd:sequence>
                        <xsd:element name="value" type="xsd:string" />
                        <xsd:element name="docId" type="xsd:string" />
                        <xsd:element name="userId" type="xsd:string" />
                        <xsd:element name="status" type="xsd:string" />
                </xsd:sequence>
        </xsd:complexType>


        <xsd:complexType name="Reviews">
                <xsd:sequence>
                        <xsd:element name="Review" type="Review" />
                </xsd:sequence>
        </xsd:complexType>

        <xsd:complexType name="Review">
                <xsd:sequence>
                        <xsd:element name="value" type="xsd:string" />
                        <xsd:element name="docId" type="xsd:string" />
                        <xsd:element name="userId" type="xsd:string" />
                        <xsd:element name="status" type="xsd:string" />
                        <xsd:element name="rating" type="xsd:string" />
                        <xsd:element name="userDisplayName" type="xsd:string" />
                        <xsd:element name="allowUserName" type="xsd:boolean" />
                </xsd:sequence>
        </xsd:complexType>
 </xsd:schema>