URILiteral
A formalized Uniform Resource Identifier string.
Definition
A formalized Uniform Resource Identifier string.
- Boundaries: Not plain text.
- Hex Code:
c0 - Standard Alignment:
rdf:Literal(Broad) +xsd:anyURI(Exact)
Fide ID Rules
These entity-specific constraints apply when URILiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
URILiteralorNetworkResource.
As Reference Type
[Reference Type](/id/specification/syntax#reference-type) URILiteral is only valid when the Entity Type is also URILiteral.
- Valid Entity Type:
URILiteral - Invalid Entity Type:
Person - Invalid Entity Type:
TextLiteral
Reference MUST be a valid URI string in compliance with RFC 3986.
- Valid Reference:
mailto:[email protected] - Valid Reference:
urn:isbn:9780140328721 - Invalid Reference:
example.com/alice
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | URILiteral | URILiteral | did:fide:0xc0c0 |
| Invalid | URILiteral | TextLiteral | did:fide:0xc0a0 |