Skip to content

Commit

Permalink
search config schema
Browse files Browse the repository at this point in the history
  • Loading branch information
KaterynaHonchar committed May 25, 2020
1 parent 1b06e83 commit 7d9227e
Showing 1 changed file with 87 additions and 1 deletion.
Expand Up @@ -23991,11 +23991,97 @@
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<!-- TODO: default items to display for basic search -->
<xsd:element name="searchItems" type="tns:SearchItemsType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
The list of searchable properties which should be displayed on the search panel.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchBoxConfigurationType.searchItems</a:displayName>
<a:since>4.2</a:since>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="allowToConfigureSearchItems" type="xsd:boolean" minOccurs="0" maxOccurs="1" default="false">
<xsd:annotation>
<xsd:documentation>
The flag to display/hide configuration button on the search panel.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchBoxConfigurationType.allowToConfigureSearchItems</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<!-- TODO: default relation (e.g. defalt, manager, all relations) -->
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SearchItemsType">
<xsd:annotation>
<xsd:documentation>
The list of the search properties to be configured for the search panel.
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>4.2</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="searchItem" type="tns:SearchItemType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:appinfo>
<a:displayName>SearchItemsType.searchItem</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:complexType name="SearchItemType">
<xsd:annotation>
<xsd:documentation>
Search item
</xsd:documentation>
<xsd:appinfo>
<a:container/>
<a:since>4.2</a:since>
</xsd:appinfo>
</xsd:annotation>
<xsd:sequence>
<xsd:element name="path" type="t:ItemPathType" minOccurs="1" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Path of the searchable item (property) in the object over which the search is executed.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchItemType.path</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="description" type="xsd:string" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
Free-form description. It is not displayed to the user. It is supposed to be used by system
administrators to explain the purpose of the configuration.
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchItemType.description</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
<xsd:element name="displayName" type="t:PolyStringType" minOccurs="0" maxOccurs="1">
<xsd:annotation>
<xsd:documentation>
User friendly display name of the search item (property)
</xsd:documentation>
<xsd:appinfo>
<a:displayName>SearchItemType.display</a:displayName>
</xsd:appinfo>
</xsd:annotation>
</xsd:element>
</xsd:sequence>
</xsd:complexType>

<xsd:simpleType name="SearchBoxModeType">
<xsd:annotation>
<xsd:documentation>
Expand Down

0 comments on commit 7d9227e

Please sign in to comment.