Expand description
The fixed values that decide which network a copy of MoreInLaw is on: event numbers, labels, web addresses and size limits. Changing one cuts a copy off from every organization that did not make the same change.
These are frozen. A new value means a new schema version, never an edit; the test at the bottom fails on any edit so that the break is a decision and not an accident.
Modules§
- routes
- Paths under an organization’s API base that other instances call. A copy that renames one fails every peer’s address proof.
Constants§
- BADGE_
KIND - Host-signed verified-lawyer badge.
- DEFAULT_
RELAYS - The relays MoreInLaw reads and publishes to by default; unlike the values above, editing this list breaks nothing.
- DISCOVERY_
TAG - Hashtag every registration and org set carries so relays can be queried for MoreInLaw only.
- LIST_
KIND - NIP-51 set, used for the public organization set and the private verified list.
- MANIFEST_
KIND - Lawyer-verification manifest signed in the phone app.
- MAX_
LIST_ COORDS - MAX_
NAME_ CHARS - MAX_
RELAYS - MAX_
URL_ CHARS - NIP58_
DEFINITION_ SLUG - NIP98_
KIND - NIP-98 HTTP auth, how one instance proves itself to another.
- NIP98_
WINDOW_ SECS - ORGS_
SET_ D - ORG_
DIRECTORY_ KIND - Maintainer-signed directory entry for an organization.
- REGISTRATION_
KIND - Host-signed registration: an organization’s own claim to exist at an address.
- ROSTER_
D - ROSTER_
KIND - NIP-51 follow set, used for the host-group roster.
- SCHEMA_
VERSION - VERIFIED_
SET_ D