Atlassian · Schema
Repository User Permission
A user's direct permission for a given repository.
CodeCollaborationPlatformProductivitySoftware Development
Properties
| Name | Type | Description |
|---|---|---|
| type | string | |
| permission | string | |
| user | object | |
| repository | object | |
| links | object |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "#/components/schemas/repository_user_permission",
"title": "Repository User Permission",
"type": "object",
"description": "A user's direct permission for a given repository.",
"properties": {
"type": {
"type": "string",
"example": "example_value"
},
"permission": {
"type": "string",
"enum": [
"read",
"write",
"admin",
"none"
],
"example": "read"
},
"user": {
"$ref": "#/components/schemas/user"
},
"repository": {
"$ref": "#/components/schemas/repository"
},
"links": {
"type": "object",
"properties": {
"self": {
"type": "object",
"title": "Link",
"description": "A link to a resource related to this object.",
"properties": {
"href": {
"type": "string",
"format": "uri"
},
"name": {
"type": "string"
}
},
"additionalProperties": false
}
},
"additionalProperties": false,
"example": "example_value"
}
},
"required": [
"type"
],
"additionalProperties": true
}