XML Schema "feature_details.xsd"
Target Namespace:
http://polimi.it/xmlbinding/rest/featureservices
Defined Components:
elements (1 global + 90 local), complexTypes (14), simpleTypes (2)
Default Namespace-Qualified Form:
Local Elements: qualified; Local Attributes: unqualified
Schema Location:
/home/canakoglu/Documents/IdeaProjects/GPDW_GPKB/GPDWRest/src/main/resources/schemas/feature_details.xsd; see XML source
All Element Summary (local elements unified by type)
alias_general_options (in feature_details)
Type:
Content:
complex, 1 element
Defined:
locally within feature_details element; see XML source
all_encoded_values_link (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally within flag_values_type complexType; see XML source
and (type and_or_clauses_generation4aattributes_type)
Type:
Content:
complex, 3 elements
Defined:
and (type and_or_clauses_generation4pairs_type)
Type:
Content:
complex, 3 elements
Defined:
associated_feature (in association_basic_info)
Type:
xs:string
Content:
simple
Defined:
associated_features (in feature in feature_details)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within feature_type complexType; see XML source
Includes:
definition of 1 element
association_basic_info (in associated_features)
The user will pass the association name, i.e.
Type:
anonymous complexType
Content:
complex, 1 attribute, 3 elements
Defined:
Includes:
definitions of 1 attribute, 3 elements
association_link (in association_basic_info)
Type:
xs:string
Content:
simple
Defined:
attribute (in attribute_group : attribute_group_template)
Type:
anonymous complexType
Content:
complex, 1 attribute, 5 elements
Defined:
Includes:
definitions of 1 attribute, 5 elements
attribute (in attribute_group in attribute_groups defined in order_by_type complexType)
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within attribute_group element; see XML source
Includes:
definitions of 2 elements
attribute (in attributes_pair)
Type:
anonymous complexType
Content:
empty, 2 attributes
Defined:
locally within attributes_type_alias complexType; see XML source
Includes:
definitions of 2 attributes
attribute_additional_info (in feature_details)
Type:
Content:
complex, 3 elements
Defined:
locally within feature_details element; see XML source
attribute_group (in attribute_groups defined in order_by_type complexType)
Type:
anonymous complexType
Content:
complex, 1 attribute, 1 element
Defined:
locally within attribute_groups element; see XML source
Includes:
definitions of 1 attribute, 1 element
attribute_group (type attribute_group_template)
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally at 2 locations
attribute_group_1 (in attribute_group_pair)
Type:
Content:
complex, 4 elements
Defined:
attribute_group_2 (in attribute_group_pair)
Type:
Content:
complex, 4 elements
Defined:
attribute_group_pair (in pair)
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within pair_type complexType; see XML source
Includes:
definitions of 2 elements
attribute_groups (defined in order_by_type complexType)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within order_by_type complexType; see XML source
Includes:
definition of 1 element
attribute_groups (in feature in feature_details)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within feature_type complexType; see XML source
Includes:
definition of 1 element
attribute_groups (in feature_association in feature_details)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
attributes_pair (type attributes_type_alias)
Type:
Content:
complex, 1 element
Defined:
attributes_specification (in pair)
Defines the correct ordering and binding of the columns involved in the joins.
Type:
Content:
complex, 3 elements
Defined:
locally within pair_type complexType; see XML source
contains_search (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
count (in value defined in flag_values_type complexType)
Type:
xs:string
Content:
simple
Defined:
locally within value element; see XML source
counting (in queries_general_options)
Type:
anonymous simpleType (restriction of xs:string)
Content:
simple
Defined:
locally within general_options_type complexType; see XML source
direction (in attribute in attribute_group in attribute_groups defined in order_by_type complexType)
Type:
anonymous simpleType (restriction of xs:string)
Content:
simple
Defined:
locally within attribute element; see XML source
distinct (in queries_general_options)
Type:
xs:boolean
Content:
simple
Defined:
locally within general_options_type complexType; see XML source
encoded_add_info (in feature_details)
Type:
Content:
complex, 3 elements
Defined:
locally within feature_details element; see XML source
endsWith_search (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
estimated_count (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
exact_count (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
feature (in feature_details)
Type:
Content:
complex, 4 attributes, 5 elements
Defined:
locally within feature_details element; see XML source
feature (in order)
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally within order element; see XML source
feature_alias (type xs:string)
Type:
xs:string
Content:
simple
Defined:
feature_association (in feature_details)
Type:
Content:
complex, 2 attributes, 2 elements
Defined:
locally within feature_details element; see XML source
feature_association (in order)
Type:
Content:
complex, 2 attributes, 1 element
Defined:
locally within order element; see XML source
feature_association_alias (type xs:string)
Type:
xs:string
Content:
simple
Defined:
feature_association_name (type xs:string)
Type:
xs:string
Content:
simple
Defined:
feature_details
Type:
anonymous complexType
Content:
complex, 6 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
never
feature_link (in feature in feature_details)
Type:
xs:string
Content:
simple
Defined:
locally within feature_type complexType; see XML source
feature_name (type xs:string)
Type:
xs:string
Content:
simple
Defined:
feature_towards_association_join_type (in association_basic_info)
I will use "feature_towards_association_join_type" as LABEL_XXX to specify the join type(direction)
Type:
Content:
simple
Defined:
id (in value defined in flag_values_type complexType)
Type:
xs:string
Content:
simple
Defined:
locally within value element; see XML source
info_links (in attribute_additional_info)
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
Includes:
definitions of 2 elements
info_links (in encoded_add_info)
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within encoded_add_info_type complexType; see XML source
Includes:
definitions of 2 elements
is_false (in selected_options)
Type:
xs:boolean
Content:
simple
Defined:
locally within selected_options element; see XML source
is_null (in selected_options)
Type:
xs:boolean
Content:
simple
Defined:
locally within selected_options element; see XML source
limit (in queries_general_options)
Type:
anonymous simpleType (restriction of xs:int)
Content:
simple
Defined:
locally within general_options_type complexType; see XML source
link_plain_search (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
name (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 5 locations
nullable (in attribute in attribute_group : attribute_group_template)
Type:
xs:string
Content:
simple
Defined:
locally within attribute element; see XML source
offset (in queries_general_options)
It stands for SQL offset
Type:
anonymous simpleType (restriction of xs:int)
Content:
simple
Defined:
locally within general_options_type complexType; see XML source
only_matching (in queries_general_options)
Type:
xs:boolean
Content:
simple
Defined:
locally within general_options_type complexType; see XML source
ontology (in feature in feature_details)
Type:
xs:boolean
Content:
simple
Defined:
locally within feature_type complexType; see XML source
option (in selected_options)
Type:
anonymous simpleType (restriction of xs:string)
Content:
simple
Defined:
locally within selected_options element; see XML source
option_arguments (in selected_options)
This element handles the choice between the insertion of an arbitrary user search term and the selection by the user of one or more predefined values among those present for the codified fields
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within selected_options element; see XML source
Includes:
definitions of 2 elements
or (type and_or_clauses_generation4aattributes_type)
Type:
Content:
complex, 3 elements
Defined:
or (type and_or_clauses_generation4pairs_type)
Type:
Content:
complex, 3 elements
Defined:
order (in queries_general_options)
ORDER BY specification
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within general_options_type complexType; see XML source
Includes:
definitions of 2 elements
pair (type pair_type)
Type:
Content:
complex, 2 elements
Defined:
pair_list (in alias_general_options)
Type:
Content:
complex, 3 elements
Defined:
predefined_values (in option_arguments)
Type:
Content:
complex, 2 elements
Defined:
locally within option_arguments element; see XML source
queries_general_options (in feature_details)
Type:
Content:
complex, 6 elements
Defined:
locally within feature_details element; see XML source
search_string_links (in info_links in attribute_additional_info)
Type:
anonymous complexType
Content:
complex, 3 elements
Defined:
locally within info_links element; see XML source
Includes:
definitions of 3 elements
search_string_links (in info_links in encoded_add_info)
Type:
anonymous complexType
Content:
complex, 3 elements
Defined:
locally within info_links element; see XML source
Includes:
definitions of 3 elements
search_term (in option_arguments)
Type:
xs:string
Content:
simple
Defined:
locally within option_arguments element; see XML source
selected_options (in attribute in attribute_group : attribute_group_template)
This element handles all the specific query options regarding each table's attribute
Type:
anonymous complexType
Content:
complex, 4 elements
Defined:
locally within attribute element; see XML source
Includes:
definitions of 4 elements
source (in sources in feature in feature_details)
"Source" tag refers to the source/s that is/are providing information about the feature
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within sources element; see XML source
Includes:
definition of 1 element
source (in sources in feature_association in feature_details)
"Source" tag refers to the source/s that is/are providing information about the features association
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within sources element; see XML source
Includes:
definition of 1 element
sources (in feature in feature_details)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
locally within feature_type complexType; see XML source
Includes:
definition of 1 element
sources (in feature_association in feature_details)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
startsWith_search (type xs:string)
Type:
xs:string
Content:
simple
Defined:
locally at 2 locations
total_count (in attribute_additional_info)
"total_count" element keeps track of the total number of public values
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
Includes:
definitions of 2 elements
total_count (in encoded_add_info)
"total_count" element keeps track of the total number of flag values
Type:
anonymous complexType
Content:
complex, 2 elements
Defined:
locally within encoded_add_info_type complexType; see XML source
Includes:
definitions of 2 elements
type (in attribute in attribute_group : attribute_group_template)
Type:
xs:string
Content:
simple
Defined:
locally within attribute element; see XML source
value (defined in flag_values_type complexType)
Type:
anonymous complexType
Content:
complex, 3 elements
Defined:
locally within flag_values_type complexType; see XML source
Includes:
definitions of 3 elements
value (in values in attribute_additional_info)
Type:
xs:string
Content:
simple
Defined:
locally within values element; see XML source
values (in attribute_additional_info)
Type:
anonymous complexType
Content:
complex, 1 element
Defined:
Includes:
definition of 1 element
values (type flag_values_type)
Type:
Content:
complex, 2 elements
Defined:
locally at 2 locations
Complex Type Summary
This type allows to specify advanced options regarding the joins involving aliased tables.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 4 elements
Defined:
globally; see XML source
Includes:
definitions of 4 elements
Used:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 1 element
Used:
If the user passes just one attribute, then this attribute will be used both as left-hand side attribute and right-hand side attribute for a join instance.
Content:
complex, 1 element
Defined:
globally; see XML source
Includes:
definition of 1 element
Used:
Content:
complex, 3 elements
Defined:
globally; see XML source
Includes:
definitions of 3 elements
Used:
Content:
complex, 2 attributes, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 2 elements
Used:
Content:
complex, 4 attributes, 5 elements
Defined:
globally; see XML source
Includes:
definitions of 4 attributes, 5 elements
Used:
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
This type allows to specify all the general query options that hold for all the tables involved in the queries
Content:
complex, 6 elements
Defined:
globally; see XML source
Includes:
definitions of 6 elements
Used:
Content:
complex, 2 attributes, 1 element
Defined:
globally; see XML source
Includes:
definitions of 2 attributes, 1 element
Used:
A pair type is made up of 2 tables
Content:
complex, 2 elements
Defined:
globally; see XML source
Includes:
definitions of 2 elements
Used:
Simple Type Summary
Defined:
globally; see XML source
Used:
Defined:
globally; see XML source
Used:
XML Source
<xs:schema elementFormDefault="qualified" jxb:version="1.0" targetNamespace="http://polimi.it/xmlbinding/rest/featureservices" xmlns="http://polimi.it/xmlbinding/rest/featureservices" xmlns:jxb="http://java.sun.com/xml/ns/jaxb" xmlns:xs="http://www.w3.org/2001/XMLSchema">
<xs:annotation>
<xs:appinfo>
<jxb:schemaBindings>
<jxb:package name="it.polimi.xmlbinding.featureServices"/>
</jxb:schemaBindings>
</xs:appinfo>
</xs:annotation>
<xs:element name="feature_details">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="feature" type="feature_type"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="feature_association" type="feature_association_type"/>
<xs:element minOccurs="0" name="queries_general_options" type="general_options_type"/>
<xs:element minOccurs="0" name="alias_general_options" type="alias_general_options_type"/>
<xs:element minOccurs="0" name="encoded_add_info" type="encoded_add_info_type"/>
<xs:element minOccurs="0" name="attribute_additional_info" type="attribute_add_info_type"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:complexType name="attribute_group_template">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="attribute">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="name" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="type" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="nullable" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="selected_options">
<xs:annotation>
<xs:documentation>
<![CDATA[
This element handles all the specific query options regarding each table's attribute
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="is_null" type="xs:boolean"/>
<xs:element maxOccurs="1" minOccurs="0" name="is_false" type="xs:boolean"/>
<xs:element default="IN" maxOccurs="1" minOccurs="0" name="option">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="IN"/>
<xs:enumeration value="NOT IN"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="option_arguments">
<xs:annotation>
<xs:documentation>
<![CDATA[
This element handles the choice between the insertion of an arbitrary user search term and the selection by the user of one or more predefined values among those present for the codified fields
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" name="search_term" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="predefined_values" type="flag_values_type"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="values" type="flag_values_type"/>
</xs:sequence>
<xs:attribute default="false" name="filter_only" type="xs:boolean">
<xs:annotation>
<xs:documentation>
filter_only defines the attribute used for filtering the data
but this attribute will not return in the result.
</xs:documentation>
</xs:annotation>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="type" type="table_type" use="required"/>
</xs:complexType>
<xs:simpleType name="table_type">
<xs:restriction base="xs:string">
<xs:enumeration value="id_translation_table"/>
<xs:enumeration value="feature_table"/>
<xs:enumeration value="feature_additional_table"/>
<xs:enumeration value="source2feature_table"/>
<xs:enumeration value="source2feature_additional_table"/>
<xs:enumeration value="feature_association_table"/>
<xs:enumeration value="feature_association_imported_table"/>
<xs:enumeration value="attribute4_feature1_2_feature2_table"/>
<xs:enumeration value="attribute4_feature1_2_feature2_table_imported"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="flag_values_type">
<xs:sequence>
<xs:choice>
<xs:element maxOccurs="1" minOccurs="0" name="all_encoded_values_link" type="xs:string"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="value">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="id" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="name" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="count" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="feature_type">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="feature_link" type="xs:string"/>
<xs:element minOccurs="0" name="ontology" type="xs:boolean"/>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_groups">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="attribute_group" type="attribute_group_template"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="associated_features">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="association_basic_info">
<xs:annotation>
<xs:documentation>
<![CDATA[
The user will pass the association name, i.e. "gene2enzyme" and the associated feature name. The associated feature name and the link are necessary for the metadata
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="associated_feature" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="association_link" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="feature_towards_association_join_type" type="join_type">
<xs:annotation>
<xs:documentation>
<![CDATA[
I will use "feature_towards_association_join_type" as LABEL_XXX to specify the join type(direction)
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="sources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="source">
<xs:annotation>
<xs:documentation>
<![CDATA[
"Source" tag refers to the source/s that is/are providing information about the feature
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="alias" type="xs:string" use="optional"/>
<xs:attribute default="false" name="concept_feature" type="xs:boolean" use="optional"/>
<xs:attribute default="false" name="semantic_expansion" type="xs:boolean" use="optional"/>
</xs:complexType>
<xs:simpleType name="join_type">
<xs:restriction base="xs:string">
<xs:enumeration value="INNER"/>
<xs:enumeration value="LEFT"/>
<xs:enumeration value="RIGHT"/>
<xs:enumeration value="FULL"/>
</xs:restriction>
</xs:simpleType>
<xs:complexType name="feature_association_type">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_groups">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" name="attribute_group" type="attribute_group_template"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element minOccurs="0" name="sources">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="source">
<xs:annotation>
<xs:documentation>
<![CDATA[
"Source" tag refers to the source/s that is/are providing information about the features association
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="name" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="alias" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="general_options_type">
<xs:annotation>
<xs:documentation>
<![CDATA[
This type allows to specify all the general query options that hold for all the tables involved in the queries
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element default="false" minOccurs="0" name="distinct" type="xs:boolean"/>
<xs:element default="false" minOccurs="0" name="only_matching" type="xs:boolean"/>
<xs:element default="estimated" minOccurs="0" name="counting">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="estimated"/>
<xs:enumeration value="exact"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="1000" minOccurs="0" name="limit">
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="1"/>
<xs:maxInclusive value="50000"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element default="0" minOccurs="0" name="offset">
<xs:annotation>
<xs:documentation>
<![CDATA[
It stands for SQL offset
]]>
</xs:documentation>
</xs:annotation>
<xs:simpleType>
<xs:restriction base="xs:int">
<xs:minInclusive value="0"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="0" name="order">
<xs:annotation>
<xs:documentation>
<![CDATA[
ORDER BY specification
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:choice>
<xs:element maxOccurs="unbounded" minOccurs="0" name="feature" type="order_by_type"/>
<xs:element maxOccurs="unbounded" minOccurs="0" name="feature_association" type="order_by_type"/>
</xs:choice>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="order_by_type">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_groups">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="attribute_group">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="attribute">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="name" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="direction">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="ASCENDING"/>
<xs:enumeration value="DESCENDING"/>
</xs:restriction>
</xs:simpleType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
<xs:attribute name="name" type="xs:string" use="required"/>
<xs:attribute name="alias" type="xs:string" use="optional"/>
</xs:complexType>
<xs:complexType name="alias_general_options_type">
<xs:annotation>
<xs:documentation>
<![CDATA[
This type allows to specify advanced options regarding the joins involving aliased tables.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="pair_list" type="and_or_clauses_generation4pairs_type"/>
</xs:sequence>
</xs:complexType>
<xs:complexType name="and_or_clauses_generation4pairs_type">
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element name="and" type="and_or_clauses_generation4pairs_type"/>
<xs:element name="or" type="and_or_clauses_generation4pairs_type"/>
<xs:element name="pair" type="pair_type"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="pair_type">
<xs:annotation>
<xs:documentation>
<![CDATA[
A pair type is made up of 2 tables
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_group_pair">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_group_1" type="attribute_group_alias_type"/>
<xs:element maxOccurs="1" minOccurs="1" name="attribute_group_2" type="attribute_group_alias_type"/>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="1" name="attributes_specification" type="and_or_clauses_generation4aattributes_type">
<xs:annotation>
<xs:documentation>
<![CDATA[
Defines the correct ordering and binding of the columns involved in the joins.
]]>
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attribute_group_alias_type">
<xs:sequence>
<xs:choice>
<xs:element name="feature_name" type="xs:string"/>
<xs:element name="feature_association_name" type="xs:string"/>
<xs:element name="feature_alias" type="xs:string"/>
<xs:element name="feature_association_alias" type="xs:string"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:choice maxOccurs="unbounded" minOccurs="1">
<xs:element name="and" type="and_or_clauses_generation4aattributes_type"/>
<xs:element name="attributes_pair" type="attributes_type_alias"/>
</xs:choice>
</xs:complexType>
<xs:complexType name="attributes_type_alias">
<xs:annotation>
<xs:documentation>
<![CDATA[
If the user passes just one attribute, then this attribute will be used both as left-hand side attribute and right-hand side attribute for a join instance. Instead, if the user passes 2 attributes, the first one will be used ad left-hand side attribute while the second one will be used as right-hand side attribute for a join instance.
]]>
</xs:documentation>
</xs:annotation>
<xs:sequence>
<xs:element maxOccurs="2" minOccurs="1" name="attribute">
<xs:complexType>
<xs:attribute name="name" type="xs:string"/>
<xs:attribute name="operator">
<xs:simpleType>
<xs:restriction base="xs:string">
<xs:enumeration value="EQUAL"/>
<xs:enumeration value="NOT EQUAL"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
<xs:complexType name="encoded_add_info_type">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="total_count">
<xs:annotation>
<xs:documentation>
<![CDATA[
"total_count" element keeps track of the total number of flag values
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element maxOccurs="1" minOccurs="0" name="estimated_count" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="exact_count" type="xs:string"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:choice>
<xs:element name="info_links">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="link_plain_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="search_string_links">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="startsWith_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="contains_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="endsWith_search" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="1" name="values" type="flag_values_type"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
<xs:complexType name="attribute_add_info_type">
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="0" name="total_count">
<xs:annotation>
<xs:documentation>
<![CDATA[
"total_count" element keeps track of the total number of public values
]]>
</xs:documentation>
</xs:annotation>
<xs:complexType>
<xs:sequence>
<xs:choice>
<xs:element maxOccurs="1" minOccurs="0" name="estimated_count" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="0" name="exact_count" type="xs:string"/>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:choice>
<xs:element name="info_links">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="link_plain_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="search_string_links">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="1" minOccurs="1" name="startsWith_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="contains_search" type="xs:string"/>
<xs:element maxOccurs="1" minOccurs="1" name="endsWith_search" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:sequence>
</xs:complexType>
</xs:element>
<xs:element maxOccurs="1" minOccurs="1" name="values">
<xs:complexType>
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="1" name="value" type="xs:string"/>
</xs:sequence>
</xs:complexType>
</xs:element>
</xs:choice>
</xs:sequence>
</xs:complexType>
</xs:schema>

This XML schema documentation has been generated with DocFlex/XML 1.9.5 using DocFlex/XML XSDDoc 2.8.1 template set.
DocFlex/XML is a tool for programming and running highly sophisticated documentation and reports generators by the data obtained from any kind of XML files. The actual doc-generators are implemented in the form of special templates that are designed visually using a high-quality Template Designer GUI basing on the XML schema (or DTD) files describing the data source XML.
DocFlex/XML XSDDoc is a commercial template application of DocFlex/XML that implements a high-quality XML Schema documentation generator with simultaneous support of framed multi-file HTML, single-file HTML and RTF output formats. (More formats are planned in the future).
A commercial license for "DocFlex/XML XSDDoc" will allow you:
  • To configure the generated documentation so much as you want. Thanks to our template technology, it was possible to support > 400 template parameters, which work the same as "options" of ordinary doc-generators. The parameters are organized in nested groups, which form a parameter tree. Most of them have their default values calculated dynamically from a few primary parameters. So, you'll never need to specify all of them. That will give you swift and effective control over the generated content!
  • To use certain features disabled in the free mode (such as the full documenting of substitution groups).
  • To select only the initial, imported, included, redefined XML schemas to be documented or only those directly specified by name.
  • To include only XML schema components specified by name.
  • To document local element components both globally and locally (similar to attributes).
  • To allow/suppress unification of local elements by type.
  • To enable/disable reproducing of namespace prefixes.
  • To use PlainDoc.tpl main template to generate all the XML schema documentation in a signle-file form as both HTML and incredible quality RTF output.
  • To format your annotations with XHTML tags and reproduce that formatting both in HTML and RTF output.
  • To insert images in your annotations using XHTML <img> tags (supported both in HTML and RTF output).
  • To remove this very advertisement text!
Once having only such a license, you will be able to run the fully-featured XML schema documentation generator both with DocFlex/XML (Full Edition) and with DocFlex/XML RE, which is a reduced free edition containing only the template interpretor / output generator. No other licenses will be required!
But this is not all. In addition to it, a commercial license for "DocFlex/XML SDK" will allow you to modify the XSDDoc templates themselves as much as you want. You will be able to achieve whatever was impossible to do with the template parameters only. And, of course, you could develop any template applications by your own!
Please note that by purchasing a license for this software, you not only acquire a useful tool, you will also make an important investment in its future development, the results of which you could enjoy later by yourself. Every single your purchase matters and makes a difference for us!
To purchase a license, please follow this link: http://www.filigris.com/shop/