Properties
| Name | Type | Description |
|---|---|---|
| id | string | Unique identifier for the object. |
| groupId | string | Identifier for the associated group. |
| documentId | string | Identifier for the associated document, if any. |
| collectionId | string | Identifier for the associated collection, if any. |
| permission | object | |
| sourceId | string | Identifier for the membership this one was inherited from, if any. |
JSON Schema
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "GroupMembership",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "Unique identifier for the object.",
"readOnly": true
},
"groupId": {
"type": "string",
"description": "Identifier for the associated group.",
"readOnly": true,
"format": "uuid"
},
"documentId": {
"type": "string",
"description": "Identifier for the associated document, if any.",
"readOnly": true,
"format": "uuid",
"nullable": true
},
"collectionId": {
"type": "string",
"description": "Identifier for the associated collection, if any.",
"readOnly": true,
"format": "uuid",
"nullable": true
},
"permission": {
"$ref": "#/components/schemas/Permission"
},
"sourceId": {
"type": "string",
"description": "Identifier for the membership this one was inherited from, if any.",
"readOnly": true,
"format": "uuid",
"nullable": true
}
}
}