Skip to main content

Module nsid

Module nsid 

Source
Expand description

Namespace identifiers for this project’s lexicons.

What an account is is this server’s to define and lives under IDENTITY_AUTHORITY.

A record’s authority is a fact about who defines its shape, not about who writes it: this server stores records it did not define, which is ordinary — a lexicon is the world’s rather than its author’s.

Constants§

ALL
Every record NSID this project holds a schema for.
AUTHORITIES
Every authority whose records this project holds a schema for.
CREDENTIAL
The server’s record of one way a process logs in as an account.
IDENTITY_AUTHORITY
Reversed-domain authority for the records this server defines.
METHODS
Every XRPC method NSID this project defines a lexicon document for.
OPERATOR
A claim that the writer operates one server, written in the operator’s own repository. See plan/handshake.md: this is the record a server polls for to learn who operates it, and whose disappearance (past a grace window) ends the relationship.
POLICY
A policy that determines which actions a DID may take.
POLICY_BINDING
A binding of one or more policies to one or more subject DIDs.
REGISTRATION
The hosting server’s record of registering an account and keeping it, whatever kind of account it is. Not an identity — that is the DID and the keys in its document — and not a credential. It includes how the account was admitted.

Functions§

under
Builds an NSID under IDENTITY_AUTHORITY.