Group Document - m0smith/topoged GitHub Wiki

Required Fields

  • id - The unique identifier for the document as a UUID
  • docType :event-group-document
  • key :event-group-document
  • sourceId The ID of the Source Document for this group
  • type - the group or event type
  • members a seq of
    • member - id of the member (probably a persona)
    • role - the role of the member (not required to be unique)
    • order - if mutiple members have the same role, this is the ordering for those members

Event Attributes

The following attributes can also be added if this groups is associaed with an event:

  • date
  • place

LINEAGE fields

If the groupType is :LINEAGE then this fields will be present

  • parents
    A vector of pairs: [order uuid] where order is 0 for father, 1 for mother and any addition parents as needed. The uuid is UUID id to Persona Document

  • children
    A vector of UUID; ids to Persona Document

With optionally

  • father id of the father in this group
  • mother id of the mother in this group
⚠️ **GitHub.com Fallback** ⚠️