# 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.

A record in the Atmosphere Groups standard, as published on the network. The page: https://www.atmospheregroups.org/reference/lexicons/org-atgrp-membership/

- Published at: at://did:plc:4pt2cnpyvfgn5b7uxwn2shwv/com.atproto.lexicon.schema/org.atgrp.membership
- In the spec: https://www.atmospheregroups.org/spec/lexicons/org-atgrp-membership/, the same schema

## The schema as published

```json
{
  "id": "org.atgrp.membership",
  "defs": {
    "main": {
      "key": "any",
      "type": "record",
      "record": {
        "type": "object",
        "required": [
          "roles",
          "createdAt"
        ],
        "properties": {
          "roles": {
            "type": "array",
            "items": {
              "type": "string",
              "format": "record-key",
              "description": "Role definition record key."
            },
            "maxLength": 100
          },
          "createdAt": {
            "type": "string",
            "format": "datetime"
          }
        }
      },
      "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."
    }
  },
  "lexicon": 1
}
```
