2020-11-24 15:15:51 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
2021-01-03 14:25:43 +05:30
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"created_at",
|
|
|
|
"expires_at",
|
|
|
|
"can_update",
|
|
|
|
"can_remove",
|
|
|
|
"access_level",
|
|
|
|
"valid_roles"
|
|
|
|
],
|
2020-11-24 15:15:51 +05:30
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"created_at": { "type": "date-time" },
|
|
|
|
"expires_at": { "type": ["date-time", "null"] },
|
2021-01-03 14:25:43 +05:30
|
|
|
"can_update": { "type": "boolean" },
|
|
|
|
"can_remove": { "type": "boolean" },
|
2020-11-24 15:15:51 +05:30
|
|
|
"access_level": {
|
|
|
|
"type": "object",
|
|
|
|
"required": ["integer_value", "string_value"],
|
|
|
|
"properties": {
|
|
|
|
"integer_value": { "type": "integer" },
|
|
|
|
"string_value": { "type": "string" }
|
|
|
|
}
|
|
|
|
},
|
2021-01-03 14:25:43 +05:30
|
|
|
"valid_roles": { "type": "object" },
|
2020-11-24 15:15:51 +05:30
|
|
|
"shared_with_group": {
|
|
|
|
"type": "object",
|
|
|
|
"required": ["id", "name", "full_name", "full_path", "avatar_url", "web_url"],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"full_name": { "type": "string" },
|
|
|
|
"full_path": { "type": "string" },
|
|
|
|
"avatar_url": { "type": ["string", "null"] },
|
|
|
|
"web_url": { "type": "string" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|