GitHub · JSON Structure

Github Repo Branches Api Nullable Team Simple Structure

Groups of organization members that gives permissions on specified repositories.

Type: object Properties: 12 Required: 10
CodePipelinesPlatformSoftware DevelopmentSource ControlT1

nullable-team-simple is a JSON Structure definition published by GitHub, describing 12 properties, of which 10 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id node_id url members_url name description permission privacy html_url repositories_url slug ldap_dn

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-branches-api-nullable-team-simple-structure.json",
  "name": "nullable-team-simple",
  "description": "Groups of organization members that gives permissions on specified repositories.",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the team",
      "type": "int32",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDQ6VGVhbTE="
    },
    "url": {
      "description": "URL for the team",
      "type": "uri",
      "example": "https://api.github.com/organizations/1/team/1"
    },
    "members_url": {
      "type": "string",
      "example": "https://api.github.com/organizations/1/team/1/members{/member}"
    },
    "name": {
      "description": "Name of the team",
      "type": "string",
      "example": "Justice League"
    },
    "description": {
      "description": "Description of the team",
      "type": "string",
      "example": "great team."
    },
    "permission": {
      "description": "Permission that the team will have for its repositories",
      "type": "string",
      "example": "admin"
    },
    "privacy": {
      "description": "The level of privacy this team should have",
      "type": "string",
      "example": "closed"
    },
    "html_url": {
      "type": "uri",
      "example": "https://github.com/orgs/rails/teams/core"
    },
    "repositories_url": {
      "type": "uri",
      "example": "https://api.github.com/organizations/1/team/1/repos"
    },
    "slug": {
      "type": "string",
      "example": "justice-league"
    },
    "ldap_dn": {
      "description": "Distinguished Name (DN) that team maps to within LDAP environment",
      "example": "uid=example,ou=users,dc=github,dc=com",
      "type": "string"
    }
  },
  "required": [
    "id",
    "node_id",
    "url",
    "members_url",
    "name",
    "description",
    "permission",
    "html_url",
    "repositories_url",
    "slug"
  ]
}