DecimalLiteral
A decimal or floating-point number.
Definition
A decimal or floating-point number.
- Boundaries: Not an integer.
- Hex Code:
a2 - Standard Alignment:
rdf:Literal(Broad) +xsd:decimal(Exact)
Fide ID Rules
These entity-specific constraints apply when DecimalLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
DecimalLiteralorNetworkResource.
As Reference Type
- Reference MUST use a base-10 decimal string (XML Schema 1.1 Part 2: Datatypes).
Decimal references MUST NOT use scientific notation or thousands separators.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | DecimalLiteral | DecimalLiteral | did:fide:0xa2a2 |
| Invalid | DecimalLiteral | TextLiteral | did:fide:0xa2a0 |