mirror of
https://github.com/scinote-eln/scinote-web.git
synced 2024-11-14 13:16:28 +08:00
21 lines
563 B
JSON
21 lines
563 B
JSON
{
|
|
"type": "object",
|
|
"required": ["teams"],
|
|
"properties": {
|
|
"teams": {
|
|
"type": "array",
|
|
"items":{
|
|
"required": ["id", "name", "members", "role", "can_be_left", "user_team_id"],
|
|
"properties": {
|
|
"id": { "type": "integer" },
|
|
"name": { "type": "string" },
|
|
"members": { "type": "integer" },
|
|
"role": { "type": "integer" },
|
|
"can_be_left": { "type": "boolean" },
|
|
"user_team_id": { "type": "integer" },
|
|
"user_id": { "type": "integer" }
|
|
}
|
|
}
|
|
}
|
|
}
|
|
}
|