{
  "type": "object",
  "properties": {
    "name": {
      "type": [
        "string",
        "null"
      ],
      "description": "A new name for the team."
    },
    "description": {
      "type": [
        "string",
        "null"
      ],
      "description": "A new description for the team."
    },
    "sync_to_organizations": {
      "type": "string",
      "description": "Retired: this field is no longer supported.\nWhether the enterprise team should be reflected in each organization.\nThis value cannot be changed.\n",
      "enum": [
        "all",
        "disabled"
      ],
      "default": "disabled"
    },
    "organization_selection_type": {
      "type": "string",
      "description": "Specifies which organizations in the enterprise should have access to this team. Can be one of `disabled`, `selected`, or `all`.\n`disabled`: The team is not assigned to any organizations. This is the default when you create a new team.\n`selected`: The team is assigned to specific organizations. You can then use the [add organization assignments API](https://docs.github.com/rest/enterprise-teams/enterprise-team-organizations#add-organization-assignments).\n`all`: The team is assigned to all current and future organizations in the enterprise.\n",
      "enum": [
        "disabled",
        "selected",
        "all"
      ],
      "default": "disabled"
    },
    "group_id": {
      "type": [
        "string",
        "null"
      ],
      "description": "The ID of the IdP group to assign team membership with. The new IdP group will replace the existing one, or replace existing direct members if the team isn't currently linked to an IdP group."
    }
  },
  "$schema": "https://json-schema.org/draft/2019-09/schema"
}