JSONLiteral
A structured JSON object represented in canonical string form.
Definition
A structured JSON object represented in canonical string form.
- Boundaries: Not a string.
- Hex Code:
c1 - Standard Alignment:
rdf:Literal(Broad) +rdf:JSON(Exact)
Fide ID Rules
These entity-specific constraints apply when JSONLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
JSONLiteralorNetworkResource.
As Reference Type
JSON references MUST be serialized in a stable canonical form before hashing.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | JSONLiteral | JSONLiteral | did:fide:0xc1c1 |
| Invalid | JSONLiteral | TextLiteral | did:fide:0xc1a0 |