Properties
| Name | Type | Description |
|---|---|---|
| id | string | |
| user | object | |
| permissions | array | |
| role | string | |
| app | object | |
| created_at | string | |
| updated_at | string |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/Collaborator",
"title": "Collaborator",
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"user": {
"type": "object",
"properties": {
"email": {
"type": "string"
},
"id": {
"type": "string",
"format": "uuid"
}
}
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"role": {
"type": "string",
"enum": [
"owner",
"collaborator",
"member",
"admin"
],
"nullable": true
},
"app": {
"type": "object",
"properties": {
"id": {
"type": "string",
"format": "uuid"
},
"name": {
"type": "string"
}
}
},
"created_at": {
"type": "string",
"format": "date-time"
},
"updated_at": {
"type": "string",
"format": "date-time"
}
}
}