phy:Property

Property allows for typed and referenced properties from external
resources to be attached to 'Phylogeny', 'Clade', and 'Annotation'. The value of a
property is its mixed (free text) content. Attribute 'datatype' indicates the type of a
property and is limited to xsd-datatypes (e.g. 'xsd:string', 'xsd:boolean',
'xsd:integer', 'xsd:decimal', 'xsd:float', 'xsd:double', 'xsd:date', 'xsd:anyURI').
Attribute 'applies_to' indicates the item to which a property applies to (e.g. 'node'
for the parent node of a clade, 'parent_branch' for the parent branch of a clade).
Attribute 'id_ref' allows to attached a property specifically to one element (on the
xml-level). Optional attribute 'unit' is used to indicate the unit of the property. An
example: <property datatype="xsd:integer" ref="NOAA:depth" applies_to="clade"
unit="METRIC:m"> 200 </property>

Complex Type Information

Model

Attributes

QName Type Fixed Default Use Inheritable Annotation
applies_to phy:AppliesTo required
datatype phy:PropertyDataType required
id_ref phy:id_ref optional
ref phy:ref required
unit phy:ref optional

Used By

Source

<xs:complexType name="Property" mixed="true">
  <xs:annotation>
    <xs:documentation>Property allows for typed and referenced properties from external resources to be attached to 'Phylogeny', 'Clade', and 'Annotation'. The value of a property is its mixed (free text) content. Attribute 'datatype' indicates the type of a property and is limited to xsd-datatypes (e.g. 'xsd:string', 'xsd:boolean', 'xsd:integer', 'xsd:decimal', 'xsd:float', 'xsd:double', 'xsd:date', 'xsd:anyURI'). Attribute 'applies_to' indicates the item to which a property applies to (e.g. 'node' for the parent node of a clade, 'parent_branch' for the parent branch of a clade). Attribute 'id_ref' allows to attached a property specifically to one element (on the xml-level). Optional attribute 'unit' is used to indicate the unit of the property. An example: <property datatype="xsd:integer" ref="NOAA:depth" applies_to="clade" unit="METRIC:m"> 200 </property></xs:documentation>
  </xs:annotation>
  <xs:attribute name="ref" type="phy:ref" use="required"/>
  <xs:attribute name="unit" type="phy:ref"/>
  <xs:attribute name="datatype" type="phy:PropertyDataType" use="required"/>
  <xs:attribute name="applies_to" type="phy:AppliesTo" use="required"/>
  <xs:attribute name="id_ref" type="phy:id_ref"/>
</xs:complexType>