2.2.4.2 SourceValidation

Namespace: http://schemas.microsoft.com/sharepoint/discovery/soap/

The SourceValidation complex type contains information about source validation of a location to verify if it can be used as a discovery source or not. For valid sources, it additionally contains metadata about the location that can be used to identify it as a discovery source.

 <xs:complexType name="SourceValidation" xmlns:xs="http://www.w3.org/2001/XMLSchema">
   <xs:sequence>
     <xs:element minOccurs="1" maxOccurs="1" name="WebId" xmlns:s1="http://microsoft.com/wsdl/types/" type="s1:guid"/>
     <xs:element minOccurs="1" maxOccurs="1" name="SiteId" xmlns:s1="http://microsoft.com/wsdl/types/" type="s1:guid"/>
     <xs:element minOccurs="1" maxOccurs="1" name="FederationId" xmlns:s1="http://microsoft.com/wsdl/types/" type="s1:guid"/>
     <xs:element minOccurs="1" maxOccurs="1" name="ExternalFederationId" xmlns:s1="http://microsoft.com/wsdl/types/" type="s1:guid"/>
     <xs:element minOccurs="0" maxOccurs="1" name="SmtpAddress" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="ExternalEndPoint" type="xs:string"/>
     <xs:element minOccurs="1" maxOccurs="1" name="SourceType" type="tns:SourceType"/>
     <xs:element minOccurs="0" maxOccurs="1" name="ContainerId" type="xs:string"/>
     <xs:element minOccurs="1" maxOccurs="1" name="IsValid" type="xs:boolean"/>
     <xs:element minOccurs="0" maxOccurs="1" name="Query" type="xs:string"/>
     <xs:element minOccurs="1" maxOccurs="1" name="IsLocation" type="xs:boolean"/>
     <xs:element minOccurs="1" maxOccurs="1" name="IsTopLevelSiteCollection" type="xs:boolean"/>
     <xs:element minOccurs="1" maxOccurs="1" name="IsMembershipGroup" type="xs:boolean"/>
     <xs:element minOccurs="0" maxOccurs="1" name="ValidationText" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="Title" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="DisplayId" type="xs:string"/>
     <xs:element minOccurs="0" maxOccurs="1" name="InputText" type="xs:string"/>
   </xs:sequence>
 </xs:complexType>

WebId: The identifier of the Web site. MUST be non-empty if IsLocation is true; otherwise, MUST be ignored.

SiteId: The identifier of the site collection containing the Web site. MUST be non-empty if IsLocation is true; otherwise, MUST be ignored.

FederationId: The identifier of the system that contains the discovery source.

ExternalFederationId: The identifier of the external system that can perform actions on the discovery source. MUST be non-empty if IsLocation is false; otherwise, MUST be ignored.

SmtpAddress: The SMTP e-mail address of an email inbox. MUST be non-empty if IsLocation is false; otherwise, MUST be ignored.

ExternalEndPoint:  The Web serviceURL of the external system that can perform actions on the discovery source.

SourceType: The source type of the discovery source. MUST be of type SourceType (section 2.2.5.2).

ContainerId:  The identifier of the location. MUST be a non-empty URL if IsLocation is true; otherwise, MUST be a non-empty identifier of the email mailbox.

IsValid:  Whether the location is valid or not. Note that all other values MUST be ignored if IsValid is false.

Query: Reserved. MUST be ignored.

IsLocation:  Whether the location is a Web site or file system (rather than an email mailbox).

IsTopLevelSiteCollection: Whether the Web site contains multiple site collections. MUST be ignored if IsLocation is false.

IsMembershipGroup: If IsLocation is false, specifies whether the location is a membership group. Otherwise, MUST be ignored.

ValidationText: A human-readable string that provides more information about the validation of the discovery source. For example, if there was an error during the validation process, this string gives more detail about the problem.

Title: The title of the discovery source.

DisplayId: The display name of the discovery source.

InputText: The string used to search for the location.