Schema Central  >  LEXS 3.1.4  >  unece_rec20-misc.xsd  >  unece:MassCodeType
Advanced search
Need NIEM Help?

Recommended Reading:

Definitive XML Schema

 

Advanced XML Applications

 

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:

Content

  • Type based on xsd:token
    • Valid valueDescription
      2Umegagram
      APZtroy ounce or apothecary ounce
      CGMcentigram
      CWAhundred pounds (cwt) / hundred weight (US)
      CWIhundred weight (UK)
      DGdecigram
      DJdecagram
      DTNdecitonne
      GRMgram
      GRNgrain
      HGMhectogram
      KGMkilogram
      KTNkilotonne
      LBRpound
      LTNton (UK) or long ton (US)
      Mgmegagram
      ONZounce
      STIstone (UK)
      STNton (US) or short ton (UK/US)
      TNEtonne (metric ton)

Attributes

NameOccTypeDescriptionNotes
s:id [0..1]xsd:IDThe 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:IDREFSThe attribute metadata allows an object to point to metadata that affects itself.from group s:SimpleObjectAttributeGroup
s:linkMetadata [0..1]xsd:IDREFSThe 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

Type inheritance chain