NESTS - Named Entities in Simple Tiered Spaces

A concise overview of NESTS

NB: This is a temporary working document under continual revision as coding progresses. The documents and the initial implementation are co-evolving continually, so expect to find some duplications and occasional inconsistencies (all of which will be removed over time). (See page footer for most recent revision.)

2024-09-12: Because of the urgent need for a functional equivalent of NESTS to support open money requirements only (not the much richer requirements of a full open measure implementation), work has been suspended temporarily to focus on the much simpler SLATE software. In turn, the development of SLATE has led to a number of revisions in the NESTS design.

This is a description of a very simple ad hoc DBMS for open money and open measures tool sets.

This takes a minimalist approach. Initially intended only to support modelling, simulation, experimentation and rapid prototyping rather than a "live" system, and to serve as executable documentation to illustrate open money/measures principles, it may nevertheless also serve to provide support for a real-world solution in the shorter term.

Each entity is identified by a unique name contained within a namespace. Every namespace is itself an entity, so namespaces are nested recursively.

In the most basic NESTS tree, the entities are each one of the following types (but see additional notes):

With the exception of the root namespace (which has no name of its own), each entity, of whatever type, has one or more dependencies upon entities of other types.

An identity (whether a primid or a secid) is a special case of namespace (a private namespace) in that it provides a container for the names of entities other than namespaces of which it is either the owner (primid or secid - subject to the conditions in table 1 below) or steward (currency).


Table 1: Properties of entity types
The entity type: The namespace type
(if any):
The entity types (the
names of which can
be) contained here:
Notes:
namespace open namespace
  • namespaces
  • primid
  • secid
  • community 1
  • currency
  • account
  1. A set containing identities (primid or secid). Not yet implemented.

primid private namespace
  • currency 2
  • account 3
  1. The primid is the sole steward of any currency within its private namespace.

  2. The primid is the owner of any account within its private namespace.

secid private namespace
  • currency 4
  • account 5
  1. The secid's primid is the sole steward of any currency within the secid's private namespace.

  2. The secid's primid is the owner of any account within the secid's private namespace.

community 6
  • primid
  • secid
  • community 7
  1. The community type has not yet been either implemented or fully designed.

  2. A community is a set of references (FPH) to identities (primids or secids) or other communities each of which is anchored elsewhere within a namespace, but it does not contain the names of those identities or communities so is not itself a namespace.

account 8
  1. A variable the properties of which are defined by the currency of which it is a member.

currency 9
  1. A set of accounts (variables) the and a definition/description of their shared properties.

root namespace 10 open namespace
  • namespaces
  • primid
  • secid
  • community 1
  • currency
  • account
  1. A special category of namespace having no named parent namespace. Instead, they share a nameless parent namespace (the substrate).


Associated with the entities, we also have:

Any currency belongs in one of two main sets:

  1. simple currencies (characteristic of open money types), falling into two main sets:
  2. compound currencies (more typically characteristic of open measure types), falling into several subsets:


This is a work in progress. For more detail see:


See also openmoney.github.io/specification/ and openmoney.github.io/roadmap/ for more information.


Tomorrow, and tomorrow, and tomorrow, creeps in this petty pace from day to day, to the last syllable of recorded time ...

Version 0.25 - 2024-09-24 15.50 - Copyright © 2024, 2023, 2022, 2021 John Waters