TextRepresentationBaseType¶
Structures a textual representation. MinLength and maxlength attributes are inclusive integers describing the number of permitted characters. The regExp attribute holds a regular expression describing the valid contents of the string.
Properties¶
Name |
Type |
Description |
|
---|---|---|---|
MaxLength |
nonNegativeInteger |
0..1 |
The maximum number of characters allowed. |
MinLength |
nonNegativeInteger |
0..1 |
The minimum number of characters allowed. |
RegExp |
string |
0..1 |
A regular expression limiting the allowed characters or character order of the content. |
Properties Inherited from RepresentationType¶
Name |
Type |
Description |
|
---|---|---|---|
RecommendedDataType |
0..1 |
This field provides the recommended treatment of the data within an application. The value should come from a controlled vocabulary - recommended values include the set found in W3C XML Schema Part 2, but excluding string sub-types, QNAME, and NOTATION. The DDI Alliance has provided a controlled vocabulary (DataType) to support this element at http://www.ddialliance.org/controlled-vocabularies. |
|
GenericOutputFormat |
0..1 |
This field provides a recommended generic treatment of the data for display by an application. The value should come from a controlled vocabulary. |
|
MeasurementUnit |
0..1 |
Records the measurement unit, for example, ‘km’, ‘miles’, etc. Supports the use of a controlled vocabulary. |
|
MissingValue |
string |
0..1 |
List the values used to represent missing data in a space delimited array. Use of MissingValuesReference is preferred. If this content does not match the values provided in the MissingValuesReference, the content of the MissingValuesReference overrides the content of this attribute. |
BlankIsMissingValue |
boolean |
0..1 |
When value is true a blank or empty variable content should be treated as a missing value. Use of MissingValuesReference is preferred. |
ClassificationLevel |
string |
0..1 |
Indicates the type of relationship, nominal, ordinal, interval, ratio, or continuous. Use where appropriate for the representation type. |
Item Type Hierarchy¶
- RepresentationType
- TextRepresentationBaseType