Atlassian · Schema

Repository Group Permission

A group's permission for a given repository.

CodeCollaborationPlatformProductivitySoftware Development

Properties

Name Type Description
type string
links object
permission string
group object
repository object
View JSON Schema on GitHub

JSON Schema

atlassian-repository-group-permission-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/repository_group_permission",
  "title": "Repository Group Permission",
  "type": "object",
  "description": "A group's permission for a given repository.",
  "properties": {
    "type": {
      "type": "string",
      "example": "example_value"
    },
    "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"
    },
    "permission": {
      "type": "string",
      "enum": [
        "read",
        "write",
        "admin",
        "none"
      ],
      "example": "read"
    },
    "group": {
      "$ref": "#/components/schemas/group"
    },
    "repository": {
      "$ref": "#/components/schemas/repository"
    }
  },
  "required": [
    "type"
  ],
  "additionalProperties": true
}