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
- File
lexicons/org/atgrp/membership.on tangledjson - Published
- On the network, the same as the spec has it.
- On the reference host
fyi., its schema of the same name. It may differ from this one.opensocial. membership
main record
Record key: any
| Field | Type | Description |
|---|---|---|
roles (required) | array of string (record-key)Each item: Role definition record key.
| |
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"
}
}
}
}
}
}