{ "$schema": "http://json-schema.org/draft-07/schema#", "title": "CollectionGroupMembership", "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 } } }