scinote-web/spec/support/api/schemas/datatables_teams.json

22 lines
591 B
JSON
Raw Normal View History

2017-10-27 15:35:39 +08:00
{
"type": "object",
"required": ["teams"],
"properties": {
"teams": {
"type": "array",
"items":{
"required": ["id", "name", "members", "user_role_id", "can_be_left", "user_assignment_id"],
2017-10-27 15:35:39 +08:00
"properties": {
"id": { "type": "integer" },
"name": { "type": "string" },
"members": { "type": "integer" },
"user_role_id": { "type": "integer" },
2017-11-03 17:11:23 +08:00
"can_be_left": { "type": "boolean" },
"user_assignment_id": { "type": "integer" },
2017-10-27 15:35:39 +08:00
"user_id": { "type": "integer" }
}
}
}
}
}