mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-15 05:34:53 +08:00
21 lines
591 B
JSON
21 lines
591 B
JSON
{
|
|
"type": "object",
|
|
"required": ["teams"],
|
|
"properties": {
|
|
"teams": {
|
|
"type": "array",
|
|
"items":{
|
|
"required": ["id", "name", "members", "user_role_id", "can_be_left", "user_assignment_id"],
|
|
"properties": {
|
|
"id": { "type": "integer" },
|
|
"name": { "type": "string" },
|
|
"members": { "type": "integer" },
|
|
"user_role_id": { "type": "integer" },
|
|
"can_be_left": { "type": "boolean" },
|
|
"user_assignment_id": { "type": "integer" },
|
|
"user_id": { "type": "integer" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|