{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "#/components/schemas/nullable-team-simple",
  "title": "Team Simple",
  "description": "Groups of organization members that gives permissions on specified repositories.",
  "type": "object",
  "properties": {
    "id": {
      "description": "Unique identifier of the team",
      "type": "integer",
      "example": 1
    },
    "node_id": {
      "type": "string",
      "example": "MDQ6VGVhbTE="
    },
    "url": {
      "description": "URL for the team",
      "type": "string",
      "format": "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",
      "nullable": true,
      "example": "A 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": "string",
      "format": "uri",
      "example": "https://github.com/orgs/rails/teams/core"
    },
    "repositories_url": {
      "type": "string",
      "format": "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"
  ],
  "nullable": true
}