unece:MassCodeType
A data type for units of measurement for a weight value.
Complex type information
Namespace: http://niem.gov/niem/unece_rec20-misc/2.0
Schema document: niem-constrained/unece_rec20-misc/2.0/unece_rec20-misc.xsd
NIEM Properties:
- Base: s:ComplexObjectType
Content
- Type based on xsd:token
Valid value Description 2U megagram APZ troy ounce or apothecary ounce CGM centigram CWA hundred pounds (cwt) / hundred weight (US) CWI hundred weight (UK) DG decigram DJ decagram DTN decitonne GRM gram GRN grain HGM hectogram KGM kilogram KTN kilotonne LBR pound LTN ton (UK) or long ton (US) Mg megagram ONZ ounce STI stone (UK) STN ton (US) or short ton (UK/US) TNE tonne (metric ton)
from type unece:MassCodeSimpleType
Attributes
Name | Occ | Type | Description | Notes |
---|---|---|---|---|
s:id | [0..1] | xsd:ID | The id attribute is used to define XML IDs for NIEM objects. These IDs may be targets of reference elements, metadata attributes, and link metadata attributes. | from group s:SimpleObjectAttributeGroup |
s:metadata | [0..1] | xsd:IDREFS | The attribute metadata allows an object to point to metadata that affects itself. | from group s:SimpleObjectAttributeGroup |
s:linkMetadata | [0..1] | xsd:IDREFS | The linkMetadata attribute allows an element to point to metadata that affects the relationship between the context and the value of the object. | from group s:SimpleObjectAttributeGroup |
Used in
- Element nc:WeightUnitCode
Type inheritance chain
- xsd:token
- restricted by unece:MassCodeSimpleType
- extended by unece:MassCodeType
- restricted by unece:MassCodeSimpleType