Appendix A. Data Types

The STAR XML Schema repository makes use of several different data types. The base of which come from the UNCEFACT Core Components specification.

Unqualified Data Types

The unqualified data types come from UNCEFACT and are the base types for all of the STAR BODs. See the "Core Components Technical Specification" for more information.

Note: udt:string refers to a string that must be at least 1 character in length.

AmountType

A number of monetary units specified in a currency where the unit of the currency is explicit or implied.

Data Type Format: xsd:decimal

Table A.1. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
currencyID

The currency of the amount.

1..1Code List oacl:CurrencyCodeContentType  

BinaryObjectType

A set of finite-length sequences of binary octets.

Data Type Format: xsd:base64Binary

Table A.2. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
format

The format of the binary content.

0..1Attributeudt:string 
mimeCode

The mime type of the binary object.

0..1Code List oacl:MIMECodeContentType  
encodingCode

Specifies the decoding algorithm of the binary object.

0..1Attributeudt:string 
characterSet

The character set of the binary object if the mime type is text.

0..1Attributeudt:string 
uri

The Uniform Resource Identifier that identifies where the binary object is located.

0..1Attributexsd:anyURI 
filename

The filename of the binary object.

0..1Attributeudt:string 

GraphicType

A diagram, graph, mathematical curves, or similar representation.

Data Type Format: xsd:base64Binary

Table A.3. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
format

The format of the graphic content.

0..1Attributeudt:string 
mimeCode

The mime type of the graphic object.

0..1Code List oacl:MIMECodeContentType  
encodingCode

Specifies the decoding algorithm of the graphic object.

0..1Attributeudt:string 
uri

The Uniform Resource Identifier that identifies where the graphic object is located.

0..1Attributexsd:anyURI 
filename

The filename of the graphic object.

0..1Attributeudt:string 

PictureType

A diagram, graph, mathematical curves, or similar representation.

Data Type Format: xsd:base64Binary

Table A.4. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
format

The format of the picture content.

0..1Attributeudt:string 
mimeCode

The mime type of the picture object.

0..1Code List oacl:MIMECodeContentType  
encodingCode

Specifies the decoding algorithm of the picture object.

0..1Attributeudt:string 
uri

The Uniform Resource Identifier that identifies where the picture object is located.

0..1Attributexsd:anyURI 
filename

The filename of the picture object.

0..1Attributeudt:string 

SoundType

A diagram, graph, mathematical curves, or similar representation.

Data Type Format: xsd:base64Binary

Table A.5. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
format

The format of the sound content.

0..1Attributeudt:string 
mimeCode

The mime type of the sound object.

0..1Code List oacl:MIMECodeContentType  
encodingCode

Specifies the decoding algorithm of the sound object.

0..1Attributeudt:string 
uri

The Uniform Resource Identifier that identifies where the sound object is located.

0..1Attributexsd:anyURI 
filename

The filename of the sound object.

0..1Attributeudt:string 

SoundType

A diagram, graph, mathematical curves, or similar representation.

Data Type Format: xsd:base64Binary

Table A.6. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
format

The format of the video content.

0..1Attributeudt:string 
mimeCode

The mime type of the video object.

0..1Code List oacl:MIMECodeContentType  
encodingCode

Specifies the decoding algorithm of the video object.

0..1Attributeudt:string 
uri

The Uniform Resource Identifier that identifies where the video object is located.

0..1Attributexsd:anyURI 
filename

The filename of the video object.

0..1Attributeudt:string 

CodeType

A character string (letters, figures, or symbols) that for brevity and/or languange independence may be used to represent or replace a definitive value or text of an attribute together with relevant supplementary information.

Data Type Format: udt:string

Table A.7. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
listID

The identification of a list of codes.

0..1Attributeudt:string 
listAgencyID

An agency that maintains one or more lists of codes.

0..1Attributeudt:string 
listAgencyName

The name of the agency that maintains the list of codes.

0..1Attributeudt:string 
listName

The name of a list of codes.

0..1Attributeudt:string 
listVersionID

The identification of a list of codes.

0..1Attributeudt:string 
name

The textual equivalent of the code content component.

0..1Attributeudt:string 
languageID

The identifier of the language used in the code name.

0..1Attributeudt:string 
listURI

The Uniform Resource Identifier that identifies where the code list is located.

0..1Attributexsd:anyURI 
listSchemeURI

The Uniform Resource Identifier that identifies where the code list scheme is located.

0..1Attributexsd:anyURI 

DateTimeType

A particular point in the progression of time together with the relevant supplementary information.

Data Type Format: xsd:datetime

DateType

One calendar day according the Gregorian calendar

Data Type Format: xsd:date

TimeType

The instance of time that occurs every day.

Data Type Format: xsd:time

IdentifierType

A character string to identify and distinguish uniquely, one instance of an object in an identification scheme from all other objects in the same scheme together with relevant supplementary information.

Data Type Format: udt:string

Table A.8. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
schemeID

The identification of the identification scheme.

0..1Attributeudt:string 
schemeAgencyID

The identification of the agency that maintains the identification scheme.

0..1Attributeudt:string 
schemeAgencyName

The name of the agency that maintains the identification scheme.

0..1Attributeudt:string 
schemeName

The name of a scheme.

0..1Attributeudt:string 
schemeVersionID

The version of the identification scheme.

0..1Attributeudt:string 
schemeDataURI

The Uniform Resource Identifier that identifies where the identification scheme data is located.

0..1Attributexsd:anyURI 
schemeURI

The Uniform Resource Identifier that identifies where the identification scheme is located.

0..1Attributexsd:anyURI 

TimeType

A list of two mutually exclusive Boolean values that express the only possible states of a property. The values are true or false .

Data Type Format: xsd:boolean

MeasureType

A numeric value determined by measuring an object along with the specified unit of measure.

Data Type Format: xsd:decimal

Table A.9. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
unitCode

The type of unit of measure.

1..1Code List oacl:UnitCodeContentType  

NumericType

Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.

Data Type Format: xsd:decimal

ValueType

Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.

Data Type Format: xsd:decimal

PercentType

Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.

Data Type Format: xsd:decimal

RateType

Numeric information that is assigned or is determined by calculation, counting, or sequencing. It does not require a unit of quantity or unit of measure.

Data Type Format: xsd:decimal

QuantityType

A counted number of non-monetary units possibly including fractions.

Data Type Format: xsd:decimal

Table A.10. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
unitCode

The type of unit of measure.

1..1Code List oacl:UnitCodeContentType  

TextType

A character string (i.e. a finite set of characters) generally in the form of words of a language.

Data Type Format: xsd:decimal

Table A.11. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
languageID

The identifier of the language used in the content component.

0..1Attributexsd:language 

NameType

A character string that consititues the distinctive designation of a person, place, thing or concept.

Data Type Format: xsd:decimal

Table A.12. Attributes

NameDescriptionOccurrenceTypeData TypeUser Notes
languageID

The identifier of the language used in the content component.

0..1Attributexsd:language