debian-mirror-gitlab/spec/fixtures/api/schemas/group_link/group_link.json
2023-03-04 22:38:38 +05:30

92 lines
No EOL
1.6 KiB
JSON

{
"type": "object",
"required": [
"id",
"created_at",
"expires_at",
"access_level",
"valid_roles",
"can_update",
"can_remove",
"is_direct_member"
],
"properties": {
"id": {
"type": "integer"
},
"created_at": {
"type": "string",
"format": "date-time"
},
"expires_at": {
"type": [
"string",
"null"
],
"format": "date-time"
},
"access_level": {
"type": "object",
"required": [
"integer_value",
"string_value"
],
"properties": {
"integer_value": {
"type": "integer"
},
"string_value": {
"type": "string"
}
},
"additionalProperties": false
},
"valid_roles": {
"type": "object"
},
"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"
}
},
"additionalProperties": false
},
"can_update": {
"type": "boolean"
},
"can_remove": {
"type": "boolean"
},
"is_direct_member": {
"type": "boolean"
}
}
}