nc:YearMonth
A year and month.
Element information
Namespace: http://niem.gov/niem/niem-core/2.0
Schema document: niem-constrained/niem-core/2.0/niem-core.xsd
Type: niem-xsd:gYearMonth
Properties: Global, Qualified, Nillable
NIEM Properties:
- Base: nc:DateRepresentation
Content
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
Substitution hierarchy
- nc:DateRepresentation
- nc:Date
- nc:DateTime
- nc:Year
- nc:YearMonth
Sample instance
<nc:YearMonth>1978-01</nc:YearMonth>