GitHub · JSON Structure

Github Repo Collaborators Api Repository Collaborator Permission Structure

Repository Collaborator Permission

Type: object Properties: 3 Required: 3
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

repository-collaborator-permission is a JSON Structure definition published by GitHub, describing 3 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

permission role_name user

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/refs/heads/main/json-structure/github-repo-collaborators-api-repository-collaborator-permission-structure.json",
  "name": "repository-collaborator-permission",
  "description": "Repository Collaborator Permission",
  "type": "object",
  "properties": {
    "permission": {
      "type": "string",
      "example": "example_value"
    },
    "role_name": {
      "type": "string",
      "example": "admin"
    },
    "user": {
      "$ref": "#/components/schemas/nullable-collaborator"
    }
  },
  "required": [
    "permission",
    "role_name",
    "user"
  ]
}