DurationLiteral
A calculated amount of elapsed time (ISO 8601 duration format).
Definition
A calculated amount of elapsed time (ISO 8601 duration format).
- Boundaries: Not a datetime.
- Hex Code:
b5 - Standard Alignment:
rdf:Literal(Broad) +xsd:duration(Exact)
Fide ID Rules
These entity-specific constraints apply when DurationLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
DurationLiteralorNetworkResource.
As Reference Type
- Reference MUST use ISO 8601 duration format (XML Schema 1.1 Part 2: Datatypes).
Duration references MUST begin with P and use valid duration components.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | DurationLiteral | DurationLiteral | did:fide:0xb5b5 |
| Invalid | DurationLiteral | TextLiteral | did:fide:0xb5a0 |