Ready to Learn?Ex Libris products all provide open APIs

primoEshelfFolder

<?xml version="1.0" encoding="UTF-8"?>
<xs:schema xmlns:xs="http://www.w3.org/2001/XMLSchema"
                        xmlns:xsi="http://www.w3.org/2000/10/XMLSchema-instance"
                        xmlns:jag="http://www.exlibrisgroup.com/xsd/jaguar/search"
                        xmlns="http://www.exlibris.com/primo/xsd/primoeshelffolder"
                        xsi:schemaLocation="http://www.exlibris.com/primo/xsd/primoeshelffolder"
                        targetNamespace="http://www.exlibris.com/primo/xsd/primoeshelffolder"
                        attributeFormDefault="unqualified"
                        elementFormDefault="qualified">
        <xs:import namespace="http://www.exlibrisgroup.com/xsd/jaguar/search" schemaLocation="../../../../../../../../../jaguar/client/src/main/com/exlibris/jaguar/xsd/jag_search_v1.0.xsd"/>

        <xs:element name="eshelf_folders">
                <xs:complexType>
                        <xs:sequence>
                        <xs:element ref="eshelf_folder" />
                    </xs:sequence>
                 </xs:complexType>
        </xs:element>

        <xs:element name="eshelf_folder_set">
                <xs:complexType>
                <xs:sequence>
                        <xs:element ref="eshelf_folder"  minOccurs="0" maxOccurs="unbounded" />
                </xs:sequence>
            </xs:complexType>
        </xs:element>


        <xs:element name="eshelf_item_set">
                <xs:complexType>
                <xs:sequence>
                        <xs:element ref="eshelf_item"  minOccurs="0" maxOccurs="unbounded" />
                </xs:sequence>
            </xs:complexType>

        </xs:element>


        <xs:element name="eshelf_folder">
                <xs:complexType>
                <xs:sequence>
                        <xs:element name="folder_name"  minOccurs="1" maxOccurs="1" type="xs:string" />

                        <xs:element ref="eshelf_folder_set"  minOccurs="1" maxOccurs="1" />
                        <xs:element ref="eshelf_item_set"  minOccurs="1" maxOccurs="1" />
                </xs:sequence>
                <xs:attribute name="folder_id" use="required" type="xs:string"/>
                <xs:attribute name="parent_id" use="required" type="xs:string"/>
            </xs:complexType>

        </xs:element>

        <xs:element name="eshelf_item">
                <xs:complexType>
                <xs:sequence>
                        <xs:element ref="jag:DOC" minOccurs="1" maxOccurs="1"/>
                </xs:sequence>
                    <xs:attribute name="record_id" use="required" type="xs:string"/>
                    <xs:attribute name="url" use="required" type="xs:string"/>
            </xs:complexType>
        </xs:element>

</xs:schema>