Skip to content
Almena Network— version v2026-12-beta
Auto
English

Registries

Single list of the identifiers that the specifications use, so that two implementations write exactly the same thing. The other documents say what each element is; this one says how it is written.

  1. Form. Almena’s own identifiers are URNs with the form urn:almena:<kind>:<name>, in lower case and in English. They do not depend on any domain (self-sufficiency, vision, 2.9).
  2. Never reused. An identifier that has been published is never reused for something else, even if it is withdrawn.
  3. Versions. Each protocol and each type carries its version. A compatible change (an optional field is added) raises the minor version; an incompatible change raises the major version and is a new identifier (P9). A receiver MUST accept a higher minor version of a major version it supports, ignoring the fields it does not know.
  4. Additions. New entries are added in a new version of the specification (conventions, 4.1). Entities do not need to register their own types (section 3).

The type header of each DIDComm message (protocols) is urn:almena:msg:<protocol>:<version>:<message>.

Protocol Version Messages
exchange 1.0 request, presentation-request, ack, issue, result, cancel
relationship 1.0 close, mailbox-change
credentials 1.0 refill, revoke-notice, incident-notice
token 1.0 token-request, token-revoke, token-renew, token-redeem
management 1.0 approval-request, approval, session-end

Example: urn:almena:msg:exchange:1.0:request.

Standard DIDComm v2 messages keep their own identifiers: problem report (https://didcomm.org/report-problem/2.0/problem-report), Discover Features 2.0, Out-of-Band 2.0, Coordinate Mediation 3.0 and Message Pickup 3.0.

Problem reports. The code of a problem report is e.p.<code>, with the codes of the interface, 9. Example: e.p.request_rejected.

Types defined by Almena:

vct What it is Issued by
urn:almena:vct:entity-identity:1 Entity identity credential (vision). Almena Trust
urn:almena:vct:conformance:1 Conformance credential of an implementation (conformance). Almena Trust
urn:almena:vct:manager:1 Manager credential (client). Each entity, to its managers
urn:almena:vct:token:1 Authorization token (protocols). A bank, to a merchant
urn:almena:vct:representation:1 Representation credential (person life cycle, 3). Whoever has the authority, to the representative

Types defined by an entity: urn:almena:vct:<aid>:<name>:<version>, where <aid> is the entity’s KERI AID (its did:keri without the did:keri: prefix). Since the AID is unique, no registration is needed. Example: urn:almena:vct:EKYLUMmNPZeEs77Zvclf0bSN5IN-mLfLpx2ySb-HDlk4:account:1.

Codes of the field catalogue. The value of each field is written as its standard says.

Basic types (for custom fields):

Code Value
text UTF-8 text.
number JSON number.
date Date in ISO 8601 format (YYYY-MM-DD).
boolean true or false.
choice One of the options listed in the form.
attachment A DIDComm attachment, with the formats and maximum size stated in the form.

Predefined fields:

Code Value Standard
country Two-letter code ISO 3166-1 alpha-2
nationality Two-letter code ISO 3166-1 alpha-2
region Subdivision code ISO 3166-2
language Language tag BCP 47
currency Three-letter code ISO 4217
sex 0, 1, 2 or 9 ISO/IEC 5218
phone_number Number with prefix E.164
email Email address RFC 5322
given_name, family_name, birthdate, address As in OpenID Connect OpenID Connect Core, standard claims
id_document Object with type, number and issuing_country (ISO 3166-1 alpha-2) —
iban Account number ISO 13616
age_over_NN true or false, where NN is the age (for example, age_over_18) —
Identifier Where What it is
ES256 JOSE alg ECDSA over P-256 with SHA-256.
ALM-MLDSA65-ES256 JOSE alg Composite ML-DSA-65 + ES256 signature (cryptography, 4).
ALM-MLKEM768-P256 JWE alg Hybrid key establishment ML-KEM-768 + ECDH-ES over P-256 (cryptography, 3).
A256GCM JWE enc Content encryption.

KERI events use the CESR codes of the CESR specification, which already include ML-DSA. The ALM- identifiers are provisional: when the IETF ones are final, a new version adopts them (cryptography, 7).

Each piece of data published on the network (network, 2) states its type, so that custodians know how to validate it (node, 6.4): urn:almena:data:<type>:<version>.

Type Content
directory-entry Entity directory entry.
node-entry Node directory entry, or its withdrawal.
form A form version.
vct-metadata Metadata of a credential type.
status-list A revocation list (Token Status List).
record An activity record.
trust-credential A credential that Almena Trust publishes about an entity.
evidence Misbehaviour evidence about a node.
incident Incident notice of an entity (incidents, 6).

The KEL keeps its own KERI format.

  • Error codes: interface, 9.
  • Operation codes of the records: network, 7.1.1.
  • Deep links (client): almena://<action>?<parameters>, with the parameters URL-encoded. Actions in v2026-12-beta:
    • invite: entity invitation. Parameters entity (its did:keri, required) and form (the network hash of a form version, optional).
    • signin: console sign-in. Parameters nonce, key (the console’s session key) and mailbox (its temporary mailbox).
    • A wallet MUST ignore the parameters it does not know.

None for now.