Showing:

Annotations
Attributes
Diagrams
Instances
Model
Properties
Source
Used by
Included schema choice_components.xsd
Namespace http://www.opengis.net/swe/2.0
Annotations
SWE Common Data Model schema for choice data components (i.e. disjoint unions). See requirements class http://www.opengis.net/spec/SWE/2.0/req/xsd-choice-components/
        
SWE Common is an OGC Standard.
Copyright (c) 2010 Open Geospatial Consortium. 
To obtain additional rights of use, visit http://www.opengeospatial.org/legal/ .
Properties
attribute form default unqualified
element form default qualified
version 2.0.1
Element swe:DataChoice
Namespace http://www.opengis.net/swe/2.0
Annotations
Implementation of a choice of two or more Data Components (also called disjoint union)
Diagram
Diagrambasic_types_xsd.tmp#AbstractSWEType_idbasic_types_xsd.tmp#AbstractSWEType_extensionbasic_types_xsd.tmp#AbstractSWETypebasic_types_xsd.tmp#AbstractSWEIdentifiableType_identifierbasic_types_xsd.tmp#AbstractSWEIdentifiableType_labelbasic_types_xsd.tmp#AbstractSWEIdentifiableType_descriptionbasic_types_xsd.tmp#AbstractSWEIdentifiableTypesimple_components_xsd.tmp#AbstractDataComponentType_updatablesimple_components_xsd.tmp#AbstractDataComponentType_optionalsimple_components_xsd.tmp#AbstractDataComponentType_definitionsimple_components_xsd.tmp#AbstractDataComponentTypechoice_components_xsd.tmp#DataChoiceType_choiceValuechoice_components_xsd.tmp#DataChoiceType_itemchoice_components_xsd.tmp#DataChoiceTypesimple_components_xsd.tmp#AbstractDataComponent
Type swe:DataChoiceType
Type hierarchy
Properties
content complex
Substitution Group Affiliation
Used by
Model
Children swe:choiceValue, swe:description, swe:extension, swe:identifier, swe:item, swe:label
Instance
<swe:DataChoice definition="" id="" optional="false" updatable="" xmlns:swe="http://www.opengis.net/swe/2.0">
  <swe:extension>{0,unbounded}</swe:extension>
  <swe:identifier>{0,1}</swe:identifier>
  <swe:label>{0,1}</swe:label>
  <swe:description>{0,1}</swe:description>
  <swe:choiceValue>{0,1}</swe:choiceValue>
  <swe:item xlink:actuate="" xlink:arcrole="" xlink:href="" name="" xlink:role="" xlink:show="" xlink:title="" xlink:type="simple">{2,unbounded}</swe:item>
</swe:DataChoice>
Attributes
QName Type Default Use Annotation
definition anyURI optional
Reference to semantic information defining the precise nature of the component
id ID optional
optional boolean false optional
Specifies that data for this component can be omitted in the datastream
updatable boolean optional
Specifies if the value of a data component can be updated externally (i.e. is variable)
Source
<element name="DataChoice" substitutionGroup="swe:AbstractDataComponent" type="swe:DataChoiceType">
  <annotation>
    <documentation>Implementation of a choice of two or more Data Components (also called disjoint union)</documentation>
  </annotation>
</element>
Element swe:DataChoiceType / swe:choiceValue
Namespace http://www.opengis.net/swe/2.0
Annotations
This category component marks the data stream element that will indicate the actual choice made. Possible choices are listed in the Category constraint section as an enumeration and should map to item names.
Diagram
Diagramsimple_components_xsd.tmp#http___www.opengis.net_swe_2.0_Category
Properties
content complex
minOccurs 0
Model
Children swe:Category
Instance
<swe:choiceValue xmlns:swe="http://www.opengis.net/swe/2.0">
  <swe:Category axisID="" definition="" id="" optional="false" referenceFrame="" updatable="">{1,1}</swe:Category>
</swe:choiceValue>
Source
<element minOccurs="0" name="choiceValue">
  <annotation>
    <documentation>This category component marks the data stream element that will indicate the actual choice made. Possible choices are listed in the Category constraint section as an enumeration and should map to item names.</documentation>
  </annotation>
  <complexType>
    <sequence>
      <element ref="swe:Category"/>
    </sequence>
  </complexType>
</element>
Element swe:DataChoiceType / swe:item
Namespace http://www.opengis.net/swe/2.0
Diagram
Diagrambasic_types_xsd.tmp#http___www.opengis.net_swe_2.0_AssociationAttributeGroupsimple_components_xsd.tmp#AbstractDataComponentsimple_components_xsd.tmp#AbstractDataComponentPropertyTypechoice_components_xsd.tmp#DataChoiceType_DataChoiceType_item_name
Type extension of swe:AbstractDataComponentPropertyType
Type hierarchy
Properties
content complex
minOccurs 2
maxOccurs unbounded
Model
Children swe:AbstractDataComponent
Instance
<swe:item xlink:actuate="" xlink:arcrole="" xlink:href="" name="" xlink:role="" xlink:show="" xlink:title="" xlink:type="simple" xmlns:swe="http://www.opengis.net/swe/2.0">
  <swe:AbstractDataComponent definition="" id="" optional="false" updatable="">{1,1}</swe:AbstractDataComponent>
</swe:item>
Attributes
Source
<element maxOccurs="unbounded" minOccurs="2" name="item">
  <complexType>
    <complexContent>
      <extension base="swe:AbstractDataComponentPropertyType">
        <attribute name="name" type="NCName" use="required"/>
      </extension>
    </complexContent>
  </complexType>
</element>
Complex Type swe:DataChoiceType
Namespace http://www.opengis.net/swe/2.0
Diagram
Diagrambasic_types_xsd.tmp#AbstractSWEType_idbasic_types_xsd.tmp#AbstractSWEType_extensionbasic_types_xsd.tmp#AbstractSWETypebasic_types_xsd.tmp#AbstractSWEIdentifiableType_identifierbasic_types_xsd.tmp#AbstractSWEIdentifiableType_labelbasic_types_xsd.tmp#AbstractSWEIdentifiableType_descriptionbasic_types_xsd.tmp#AbstractSWEIdentifiableTypesimple_components_xsd.tmp#AbstractDataComponentType_updatablesimple_components_xsd.tmp#AbstractDataComponentType_optionalsimple_components_xsd.tmp#AbstractDataComponentType_definitionsimple_components_xsd.tmp#AbstractDataComponentTypechoice_components_xsd.tmp#DataChoiceType_choiceValuechoice_components_xsd.tmp#DataChoiceType_item
Type extension of swe:AbstractDataComponentType
Type hierarchy
Used by
Element swe:DataChoice
Model
Children swe:choiceValue, swe:description, swe:extension, swe:identifier, swe:item, swe:label
Attributes
QName Type Default Use Annotation
definition anyURI optional
Reference to semantic information defining the precise nature of the component
id ID optional
optional boolean false optional
Specifies that data for this component can be omitted in the datastream
updatable boolean optional
Specifies if the value of a data component can be updated externally (i.e. is variable)
Source
<complexType name="DataChoiceType">
  <complexContent>
    <extension base="swe:AbstractDataComponentType">
      <sequence>
        <element minOccurs="0" name="choiceValue">
          <annotation>
            <documentation>This category component marks the data stream element that will indicate the actual choice made. Possible choices are listed in the Category constraint section as an enumeration and should map to item names.</documentation>
          </annotation>
          <complexType>
            <sequence>
              <element ref="swe:Category"/>
            </sequence>
          </complexType>
        </element>
        <element maxOccurs="unbounded" minOccurs="2" name="item">
          <complexType>
            <complexContent>
              <extension base="swe:AbstractDataComponentPropertyType">
                <attribute name="name" type="NCName" use="required"/>
              </extension>
            </complexContent>
          </complexType>
        </element>
      </sequence>
    </extension>
  </complexContent>
</complexType>
Complex Type swe:DataChoicePropertyType
Namespace http://www.opengis.net/swe/2.0
Diagram
Diagrambasic_types_xsd.tmp#http___www.opengis.net_swe_2.0_AssociationAttributeGroupchoice_components_xsd.tmp#DataChoice
Model
Children swe:DataChoice
Attributes
Source
<complexType name="DataChoicePropertyType">
  <sequence minOccurs="0">
    <element ref="swe:DataChoice"/>
  </sequence>
  <attributeGroup ref="swe:AssociationAttributeGroup"/>
</complexType>
Complex Type swe:DataChoicePropertyByValueType
Namespace http://www.opengis.net/swe/2.0
Diagram
Diagramchoice_components_xsd.tmp#DataChoice
Model
Children swe:DataChoice
Source
<complexType name="DataChoicePropertyByValueType">
  <sequence>
    <element ref="swe:DataChoice"/>
  </sequence>
</complexType>
Attribute swe:DataChoiceType / swe:item / @name
Namespace No namespace
Type NCName
Properties
use required
Used by
Source
<attribute name="name" type="NCName" use="required"/>