complexType "measureType"
Namespace:
Content:
empty, 15 attributes
Defined:
globally in codebook.xsd; see XML source
Includes:
definitions of 7 attributes
Used:
XML Representation Summary
<...
   
 = 
xs:ID
 = 
xs:NMTOKEN
 = 
xs:language
 = 
("archive" | "producer") : "producer"
 = 
xs:string
 = 
(xs:dateTime | xs:date | xs:gYearMonth | xs:gYear)
 = 
xs:anyURI
 = 
xs:anyURI
 = 
xs:IDREF
 = 
("sum" | "average" | "count" | "mode" | "median" | "maximum" | "minimum" | "percent" | "other")
 = 
xs:NMTOKEN
 = 
xs:string
 = 
xs:string
 = 
xs:string
 = 
("stock" | "flow" | "non-additive")
/>
All Direct / Indirect Based Elements (1):
Known Usage Locations
Type Definition Detail
Type Derivation Tree
baseElementType (extension)
  measureType
XML Source (w/o annotations (7); see within schema source)
<xs:complexType name="measureType">
<xs:complexContent>
<xs:extension base="baseElementType">
<xs:attribute name="varRef" type="xs:IDREF"/>
<xs:attribute name="aggrMeth">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="sum"/>
<xs:enumeration value="average"/>
<xs:enumeration value="count"/>
<xs:enumeration value="mode"/>
<xs:enumeration value="median"/>
<xs:enumeration value="maximum"/>
<xs:enumeration value="minimum"/>
<xs:enumeration value="percent"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
<xs:attribute name="otherAggrMeth" type="xs:NMTOKEN" use="optional"/>
<xs:attribute name="measUnit" type="xs:string"/>
<xs:attribute name="scale" type="xs:string"/>
<xs:attribute name="origin" type="xs:string"/>
<xs:attribute name="additivity">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="stock"/>
<xs:enumeration value="flow"/>
<xs:enumeration value="non-additive"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (all declarations; defined within this component only; 7/15)
additivity
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Indicates whether an aggregate is a stock (like the population at a given point in time) or a flow (like the number of births or deaths over a certain period of time). The non-additive flag is to be used for measures that for logical reasons cannot be aggregated to a higher level - for instance, data that only make sense at a certain level of aggregation, like a classification.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"stock", "flow", "non-additive"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"stock", "flow", "non-additive"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="additivity">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="stock"/>
<xs:enumeration value="flow"/>
<xs:enumeration value="non-additive"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

aggrMeth
Type:
anonymous simpleType (restriction of xs:NMTOKEN)
Use:
optional
Indicates the type of aggregation method used.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"sum", "average", "count", "mode", "median", "maximum", "minimum", "percent", "other"
Anonymous simpleType
Type Derivation Tree
xs:NMTOKEN (restriction)
  simpleType
Derivation:
restriction of xs:NMTOKEN
Facets:
enumeration:
"sum", "average", "count", "mode", "median", "maximum", "minimum", "percent", "other"
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="aggrMeth">
<xs:simpleType>
<xs:restriction base="xs:NMTOKEN">
<xs:enumeration value="sum"/>
<xs:enumeration value="average"/>
<xs:enumeration value="count"/>
<xs:enumeration value="mode"/>
<xs:enumeration value="median"/>
<xs:enumeration value="maximum"/>
<xs:enumeration value="minimum"/>
<xs:enumeration value="percent"/>
<xs:enumeration value="other"/>
</xs:restriction>
</xs:simpleType>
</xs:attribute>

measUnit
Type:
xs:string, predefined
Use:
optional
Measurement unit, for example 'km', 'miles', etc.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="measUnit" type="xs:string"/>

origin
Type:
xs:string, predefined
Use:
optional
Point of origin for anchored scales.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="origin" type="xs:string"/>

otherAggrMeth
Type:
xs:NMTOKEN, predefined
Use:
optional
Other aggregation method from a controlled vocabulary. The complex element controlledVocabUsed should be used to specify the controlled vocabulary.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="otherAggrMeth" type="xs:NMTOKEN" use="optional"/>

scale
Type:
xs:string, predefined
Use:
optional
Unit of scale, for example 'x1', 'x1000'.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="scale" type="xs:string"/>

varRef
Type:
xs:IDREF, predefined
Use:
optional
ID reference
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="varRef" type="xs:IDREF"/>

XML schema documentation generated with DocFlex/XML 1.12 using DocFlex/XML XSDDoc 2.9.0 template set