Atmosphere GroupsOpen specificationBeta
MenuClose

org.atgrp.membership

A member's roles in the group, keyed by the member's DID. Written by the group in the members space, and paired with the member's confirmation.

Kind
A record
Part of
The spec
Published
On the network, the same as the spec has it.
On the reference host
fyi.opensocial.membership, its schema of the same name. It may differ from this one.

main record

Record key: any

FieldTypeDescription
roles (required)array of string (record-key)

Each item: Role definition record key.

  • array maxLength: 100
createdAt (required)string (datetime)
The schema in the spec
{
  "lexicon": 1,
  "id": "org.atgrp.membership",
  "defs": {
    "main": {
      "type": "record",
      "description": "A member's roles in the group, keyed by the member's DID. Written by the group in the members space, and paired with the member's confirmation.",
      "key": "any",
      "record": {
        "type": "object",
        "required": [
          "roles",
          "createdAt"
        ],
        "properties": {
          "roles": {
            "type": "array",
            "maxLength": 100,
            "items": {
              "type": "string",
              "format": "record-key",
              "description": "Role definition record key."
            }
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      }
    }
  }
}

All of the spec's lexicons