YearLiteral
A calendar year in canonical `YYYY` form.
Definition
A calendar year in canonical YYYY form.
- Boundaries: Not a year-month or full date.
- Hex Code:
b3 - Standard Alignment:
rdf:Literal(Broad) +xsd:gYear(Exact)
Fide ID Rules
These entity-specific constraints apply when YearLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
YearLiteralorNetworkResource.
As Reference Type
- Reference MUST use canonical
YYYYformat without timezone (XML Schema 1.1 Part 2: Datatypes).
Year references MUST use a four-digit year value.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | YearLiteral | YearLiteral | did:fide:0xb3b3 |
| Invalid | YearLiteral | TextLiteral | did:fide:0xb3a0 |