Export (0) Print
Expand All

7 Appendix B: Full XML Schema

SharePoint

For ease of implementation, the following is the full XML schema for this protocol.

<?xml version="1.0"?>
<xs:schema xmlns:tns="http://tempuri.org/" elementFormDefault="qualified" targetNamespace="http://tempuri.org/" xmlns:xs="http://www.w3.org/2001/XMLSchema">
  <xs:element name="GetEntityInstances">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="1" name="siteId" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="systemInstanceName" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="entityNamespace" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="entityName" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="finderName" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="displayFieldName" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="searchToken" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="usedForPicking" type="xs:boolean"/>
        <xs:element minOccurs="1" maxOccurs="1" name="maxResults" type="xs:unsignedInt"/>
        <xs:element minOccurs="1" maxOccurs="1" name="refreshInterval" type="xs:unsignedInt"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="GetEntityInstancesResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="GetEntityInstancesResult" type="xs:unsignedInt"/>
        <xs:element minOccurs="0" maxOccurs="1" name="columnNames" type="tns:ArrayOfString"/>
        <xs:element minOccurs="0" maxOccurs="1" name="localizedColumnNames" type="tns:ArrayOfString"/>
        <xs:element minOccurs="0" maxOccurs="1" name="showInPicker" type="tns:ArrayOfBoolean"/>
        <xs:element minOccurs="0" maxOccurs="1" name="values" type="tns:ArrayOfString"/>
        <xs:element minOccurs="1" maxOccurs="1" name="hasEntityMetadata" type="xs:boolean"/>
        <xs:element minOccurs="0" maxOccurs="1" name="message" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="success" type="xs:boolean"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:complexType name="ArrayOfString">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="string" nillable="true" type="xs:string"/>
    </xs:sequence>
  </xs:complexType>
  <xs:complexType name="ArrayOfBoolean">
    <xs:sequence>
      <xs:element minOccurs="0" maxOccurs="unbounded" name="boolean" type="xs:boolean"/>
    </xs:sequence>
  </xs:complexType>
  <xs:element name="DecodeEntityInstanceId">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="1" name="bstrSiteId" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="bstrEntityInstanceId" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="fFormatAsXml" type="xs:boolean"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="DecodeEntityInstanceIdResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="1" name="DecodeEntityInstanceIdResult" type="tns:ArrayOfString"/>
        <xs:element minOccurs="0" maxOccurs="1" name="message" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="success" type="xs:boolean"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReadEntityInstance">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="0" maxOccurs="1" name="siteId" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="entityInstanceReference" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="displayFieldName" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="fFormatAsXml" type="xs:boolean"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
  <xs:element name="ReadEntityInstanceResponse">
    <xs:complexType>
      <xs:sequence>
        <xs:element minOccurs="1" maxOccurs="1" name="ReadEntityInstanceResult" type="xs:boolean"/>
        <xs:element minOccurs="0" maxOccurs="1" name="ids" type="tns:ArrayOfString"/>
        <xs:element minOccurs="0" maxOccurs="1" name="displayName" type="xs:string"/>
        <xs:element minOccurs="0" maxOccurs="1" name="message" type="xs:string"/>
        <xs:element minOccurs="1" maxOccurs="1" name="success" type="xs:boolean"/>
      </xs:sequence>
    </xs:complexType>
  </xs:element>
</xs:schema>
Show:
© 2015 Microsoft