DDI 3.1 XML Schema Documentation (2009-10-18)
© DDI Alliance 2009 - licensed under the terms of the GNU Lesser General Public License
complexType "NumericRepresentationType"
Namespace:
Content:
complex, 9 attributes, 3 elements
Defined:
globally in reusable.xsd, see XML source
Includes:
definitions of 6 attributes and 1 element
Used:
XML Representation Summary
<...
    blankIsMissingValue
 = 
xs:boolean
    classificationLevel
 = 
("Nominal" | "Ordinal" | "Interval" | "Ratio" | "Continuous")
    decimalPositions
 = 
xs:integer
    endValue
 = 
xs:double
    interval
 = 
xs:double
    missingValue
 = 
xs:NMTOKENS
    scale
 = 
xs:integer
    startValue
 = 
xs:double
    type
 = 
("BigInteger" | "Integer" | "Long" | "Short" | "Decimal" | "Float" | "Double" | "Count" | "Incremental")
    >
   
Content: 
RecommendedDataType?, GenericOutputFormat?, NumberRange*
</...>
Content Model Elements (3):
Known Direct Subtypes (1):
All Direct / Indirect Based Elements (4):
Known Usage Locations
Annotation
Defines the representation for a numeric response. May be a range or specific value, or a list of ranges.
Type Definition Detail
Type Derivation Tree
  NumericRepresentationType (extension)
XML Source (w/o annotations (8); see within schema source)
<xs:complexType name="NumericRepresentationType">
<xs:complexContent>
<xs:extension base="RepresentationType">
<xs:sequence>
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NumberRange"/>
</xs:sequence>
<xs:attribute name="type" type="NumericTypeCodeType" use="required"/>
<xs:attribute name="scale" type="xs:integer" use="optional"/>
<xs:attribute name="decimalPositions" type="xs:integer" use="optional"/>
<xs:attribute name="startValue" type="xs:double" use="optional"/>
<xs:attribute name="endValue" type="xs:double" use="optional"/>
<xs:attribute name="interval" type="xs:double" use="optional"/>
</xs:extension>
</xs:complexContent>
</xs:complexType>
Attribute Detail (defined in this component only; 6/9)
decimalPositions
Type:
xs:integer, predefined
Use:
optional
Refers to the number of decimal places in the variable.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="decimalPositions" type="xs:integer" use="optional"/>

endValue
Type:
xs:double, predefined
Use:
optional
End value for a incremental numeric representation.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="endValue" type="xs:double" use="optional"/>

interval
Type:
xs:double, predefined
Use:
optional
Value to increase, or step value for a incremental numeric representation.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="interval" type="xs:double" use="optional"/>

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

startValue
Type:
xs:double, predefined
Use:
optional
Start, or seed, value for an incremental numeric representation.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="startValue" type="xs:double" use="optional"/>

type
Type:
Use:
required
The type attribute is used by the documentor to describe the numeric response domain.
Attribute Value
enumeration of xs:NMTOKEN
Enumeration:
"BigInteger"
 - 
An integer of unlimited size. An integer datatype corresponding to W3C XML Schema's xs:integer datatype.
"Integer"
 - 
An integer number can hold a whole number, but no fraction. Integers may be either signed (allowing negative values) or unsigned (nonnegative values only). An integer datatype corresponding to W3C XML Schema's xs:int datatype.
"Long"
 - 
An integer of up to 32 bits in size (corresponding to an unsigned range of 0 to 4,294,967,295 or a signed range of -2,147,483,648 to +2,147,483,647). A numeric datatype corresponding to W3C XML Schema's xs:long datatype.
"Short"
 - 
An integer of up to 16 bits in size (corresponding to an unsigned range of 0 to 65,535 or a signed range of -32,768 to +32,767), A numeric datatype corresponding to W3C XML Schema's xs:short datatype.
"Decimal"
 - 
A real number (allows fractions expressed as decimals). A numeric datatype corresponding to W3C XML Schema's xs:decimal datatype.
"Float"
 - 
Real numbers that may be stored in scientific notation (example: 20.0005, 99.9, -5000.12, 6.02e23). A numeric datatype corresponding to W3C XML Schema's xs:float datatype.
"Double"
 - 
Float of up to 32 bits. A numeric datatype corresponding to W3C XML Schema's xs:double datatype.
"Count"
 - 
Ordinal number of objects in a finite set, discrete. A simple incrementing Integer type. The isSequence facet must be set to true, and the interval facet must be set to "1".
"Incremental"
 - 
A value that is continuous and infinite can be interval or ratio. This value indicates that the value increments according to the value provided in the interval facet, and has a true value for the isSequence facet.
XML Source (w/o annotations (1); see within schema source)
<xs:attribute name="type" type="NumericTypeCodeType" use="required"/>
Content Element Detail (defined in this component only; 1/3)
NumberRange
Type:
NumberRangeType, complex content
A numeric range.
XML Source (w/o annotations (1); see within schema source)
<xs:element maxOccurs="unbounded" minOccurs="0" ref="NumberRange"/>

XML schema documentation generated with DocFlex/XML SDK 1.7.2 using DocFlex/XML XSDDoc 2.1.0 template set