DateLiteral
A calendar date in canonical `YYYY-MM-DD` form.
Definition
A calendar date in canonical YYYY-MM-DD form.
- Boundaries: Not a datetime or time.
- Hex Code:
b1 - Standard Alignment:
rdf:Literal(Broad) +xsd:date(Exact)
Fide ID Rules
These entity-specific constraints apply when DateLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
DateLiteralorNetworkResource.
As Reference Type
- Reference MUST use canonical
YYYY-MM-DDformat without timezone (XML Schema 1.1 Part 2: Datatypes).
Date references MUST use a four-digit year and zero-padded month and day values.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | DateLiteral | DateLiteral | did:fide:0xb1b1 |
| Invalid | DateLiteral | TextLiteral | did:fide:0xb1a0 |