IntegerLiteral
A whole number.
Definition
A whole number.
- Boundaries: Not a decimal or string.
- Hex Code:
a1 - Standard Alignment:
rdf:Literal(Broad) +xsd:integer(Exact)
Fide ID Rules
These entity-specific constraints apply when IntegerLiteral is used in Fide ID.
As Entity Type
- MUST use Reference Type
IntegerLiteralorNetworkResource.
As Reference Type
- Reference MUST use a base-10 integer string (XML Schema 1.1 Part 2: Datatypes).
Integer references MUST NOT use decimal points, scientific notation, or thousands separators.
Examples
| Status | Entity Type | Reference Type | Fide ID Prefix |
|---|---|---|---|
| Valid | IntegerLiteral | IntegerLiteral | did:fide:0xa1a1 |
| Invalid | IntegerLiteral | TextLiteral | did:fide:0xa1a0 |