Service Schemas > Selection service

Selection service

<?xml version="1.0" encoding="utf-8"?>
<xs:schema attributeFormDefault="qualified" elementFormDefault="qualified"
  xmlns:xs="http://www.w3.org/2001/XMLSchema"
  xmlns:common="http://schemas.sirsidynix.com/symws/common"
  targetNamespace="http://schemas.sirsidynix.com/symws/selection"
  xmlns="http://schemas.sirsidynix.com/symws/selection">

  <xs:import namespace="http://schemas.sirsidynix.com/symws/common" schemaLocation="common.xsd"/>

  <!-- messages -->
  <xs:element name="SaveSelectionListRequest" type="SelectionList"/>
  <xs:element name="SaveSelectionListResponse" type="SelectionList"/>

  <xs:element name="SaveSelectionLineRequest" type="SelectionLine"/>
  <xs:element name="SaveSelectionLineResponse" type="SelectionLine"/>

  <!-- objects -->
  <xs:complexType name="SelectionList">
    <xs:complexContent>
      <xs:extension base="common:Entity">
        <xs:sequence>
          <xs:element name="selectionListID" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="library" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="fiscalCycle" type="xs:int" minOccurs="0" maxOccurs="1"/>
          <xs:element name="selectionListName" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="category1" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="category2" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="owner" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="status" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="cutoffDate" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="extendedInfo" type="ExtendedInfo" minOccurs="0" maxOccurs="unbounded"/>
          <xs:element name="selectionListLine" type="SelectionListLine" minOccurs="0"
            maxOccurs="unbounded"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="SelectionListLine">
    <xs:complexContent>
      <xs:extension base="common:Entity">
        <xs:sequence>
          <xs:element name="selectionListID" type="xs:long" minOccurs="0" maxOccurs="1"/>
          <xs:element name="lineNumber" type="xs:int" minOccurs="0" maxOccurs="1"/>
          <xs:element name="fiscalCycle" type="xs:int" minOccurs="0" maxOccurs="1"/>
          <xs:element name="vendorID" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="userID" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="callNumber" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="itemID" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="volume" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="binding" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="quantity" type="xs:int" minOccurs="0" maxOccurs="1"/>
          <xs:element name="vendorUnitListPrice" type="common:Money" minOccurs="0" maxOccurs="1"/>
          <xs:element name="vendorCurrency" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <xs:element name="conversionFactor" type="xs:string" minOccurs="0" maxOccurs="1"/>
          <!-- conversionFactor defaults to TABLE when vendorCurrency is specified -->
          <xs:element name="discount" type="common:Money" minOccurs="0" maxOccurs="1"/>
        </xs:sequence>
      </xs:extension>
    </xs:complexContent>
  </xs:complexType>

  <xs:complexType name="ExtendedInfo">
    <xs:sequence>
      <xs:element name="EntryType" type="xs:string" minOccurs="1" maxOccurs="1"/>
      <xs:element name="EntryData" type="xs:string" minOccurs="1" maxOccurs="1"/>
    </xs:sequence>
  </xs:complexType>

</xs:schema>

 


© 2009-2012 SirsiDynix