• Public
  • Public/Protected
  • All

m-ld clone configuration, used to initialise a MeldClone for use. The use of this interface is optional, since clone initialisation is part of an engine's application API.


  • MeldConfig



Optional @context

@context: Context

An optional JSON-LD context for the domain data. If not specified:

  • @base defaults to http://{domain}
  • @vocab defaults to the resolution of /# against the base


@domain: string

A URI domain name, which defines the universal identity of the dataset being manipulated by a set of clones (for example, on the configured message bus). For a clone with persistent data from a prior session, this must be the same as the previous session.


@id: string

The local identity of the m-ld clone session, used for message bus identity and logging. This identity does not need to be the same across re-starts of a clone with persistent data. It must be unique among the clones for the domain.


genesis: boolean

Set to true to indicate that this clone will be 'genesis'; that is, the first new clone on a new domain. This flag will be ignored if the clone is not new. If false, and this clone is new, successful clone initialisation is dependent on the availability of another clone. If set to true, and subsequently another non-new clone appears on the same domain, either or both clones will immediately close to preserve their data integrity.


  • Property
  • Method

Generated using TypeDoc. Delivered by Vercel. @m-ld/m-ld-spec - v0.7.0 Source code licensed MIT. Privacy policy