YearMonthLiteral
A calendar year and month in canonical `YYYY-MM` form.
Definition
A calendar year and month in canonical YYYY-MM form.
- Boundaries: Not a full date or year alone.
- Hex Code:
b2 - Standard Alignment:
rdf:Literal(Broad) +xsd:gYearMonth(Exact)
Fide ID Rules
These entity-specific constraints apply when YearMonthLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
YearMonthLiteralorNetworkResource.
As Reference Type
- Reference MUST use canonical
YYYY-MMformat without timezone (XML Schema 1.1 Part 2: Datatypes).
Year-month references MUST use a four-digit year and zero-padded month.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | YearMonthLiteral | YearMonthLiteral | did:fide:0xb2b2 |
| Invalid | YearMonthLiteral | TextLiteral | did:fide:0xb2a0 |