{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json",
  "title": "Organization Full",
  "description": "Prevents users in the organization from using insecure methods of two-factor authentication to fulfill a two-factor requirement.\nRemoves non-compliant outside collaborators from the organization and its repositories.\n\nGitHub currently defines SMS as an insecure method of two-factor authentication.\n\nIf your users are managed by the enterprise this policy will not affect them. The first admin account of the enterprise will still be affected.",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-enterprise-openapi.yml#/components/schemas/organization-full",
  "type": "object",
  "properties": {
    "login": {
      "type": "string"
    },
    "id": {
      "type": "integer"
    },
    "node_id": {
      "type": "string"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "repos_url": {
      "type": "string",
      "format": "uri"
    },
    "events_url": {
      "type": "string",
      "format": "uri"
    },
    "hooks_url": {
      "type": "string"
    },
    "issues_url": {
      "type": "string"
    },
    "members_url": {
      "type": "string"
    },
    "public_members_url": {
      "type": "string"
    },
    "avatar_url": {
      "type": "string"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "name": {
      "type": "string"
    },
    "company": {
      "type": [
        "string",
        "null"
      ]
    },
    "blog": {
      "type": [
        "string",
        "null"
      ],
      "format": "uri"
    },
    "location": {
      "type": [
        "string",
        "null"
      ]
    },
    "email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "twitter_username": {
      "type": [
        "string",
        "null"
      ]
    },
    "is_verified": {
      "type": "boolean"
    },
    "has_organization_projects": {
      "type": "boolean"
    },
    "has_repository_projects": {
      "type": "boolean"
    },
    "public_repos": {
      "type": "integer"
    },
    "public_gists": {
      "type": "integer"
    },
    "followers": {
      "type": "integer"
    },
    "following": {
      "type": "integer"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "type": {
      "type": "string"
    },
    "total_private_repos": {
      "type": "integer"
    },
    "owned_private_repos": {
      "type": "integer"
    },
    "private_gists": {
      "type": [
        "integer",
        "null"
      ]
    },
    "disk_usage": {
      "type": [
        "integer",
        "null"
      ]
    },
    "collaborators": {
      "type": [
        "integer",
        "null"
      ],
      "description": "The number of collaborators on private repositories.\n\nThis field may be null if the number of private repositories is over 50,000."
    },
    "billing_email": {
      "type": [
        "string",
        "null"
      ],
      "format": "email"
    },
    "plan": {
      "type": "object",
      "properties": {
        "name": {
          "type": "string"
        },
        "space": {
          "type": "integer"
        },
        "private_repos": {
          "type": "integer"
        },
        "filled_seats": {
          "type": "integer"
        },
        "seats": {
          "type": "integer"
        }
      },
      "required": [
        "name",
        "space",
        "private_repos"
      ]
    },
    "default_repository_permission": {
      "type": [
        "string",
        "null"
      ]
    },
    "default_repository_branch": {
      "type": [
        "string",
        "null"
      ],
      "description": "The default branch for repositories created in this organization."
    },
    "members_can_create_repositories": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "two_factor_requirement_enabled": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "members_allowed_repository_creation_type": {
      "type": "string"
    },
    "members_can_create_public_repositories": {
      "type": "boolean"
    },
    "members_can_create_private_repositories": {
      "type": "boolean"
    },
    "members_can_create_internal_repositories": {
      "type": "boolean"
    },
    "members_can_create_pages": {
      "type": "boolean"
    },
    "members_can_create_public_pages": {
      "type": "boolean"
    },
    "members_can_create_private_pages": {
      "type": "boolean"
    },
    "members_can_delete_repositories": {
      "type": "boolean"
    },
    "members_can_change_repo_visibility": {
      "type": "boolean"
    },
    "members_can_invite_outside_collaborators": {
      "type": "boolean"
    },
    "members_can_delete_issues": {
      "type": "boolean"
    },
    "display_commenter_full_name_setting_enabled": {
      "type": "boolean"
    },
    "readers_can_create_discussions": {
      "type": "boolean"
    },
    "members_can_create_teams": {
      "type": "boolean"
    },
    "members_can_view_dependency_insights": {
      "type": "boolean"
    },
    "members_can_fork_private_repositories": {
      "type": [
        "boolean",
        "null"
      ]
    },
    "web_commit_signoff_required": {
      "type": "boolean"
    },
    "advanced_security_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether GitHub Advanced Security is enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependabot_alerts_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot alerts are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependabot_security_updates_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether Dependabot security updates are automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "dependency_graph_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether dependency graph is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_push_protection_enabled_for_new_repositories": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning push protection is automatically enabled for new repositories and repositories transferred to this organization.\n\nThis field is only visible to organization owners or members of a team with the security manager role.",
      "deprecated": true
    },
    "secret_scanning_push_protection_custom_link_enabled": {
      "type": "boolean",
      "description": "Whether a custom link is shown to contributors who are blocked from pushing a secret by push protection."
    },
    "secret_scanning_push_protection_custom_link": {
      "type": [
        "string",
        "null"
      ],
      "description": "An optional URL string to display to contributors who are blocked from pushing a secret."
    },
    "secret_scanning_validity_checks_enabled": {
      "type": "boolean",
      "description": "**Endpoint closing down notice.** Please use [code security configurations](https://docs.github.com/enterprise-cloud@latest/rest/code-security/configurations) instead.\n\nWhether secret scanning automatic validity checks on supported partner tokens is enabled for all repositories under this organization.",
      "deprecated": true
    },
    "created_at": {
      "type": "string",
      "format": "date-time"
    },
    "updated_at": {
      "type": "string",
      "format": "date-time"
    },
    "archived_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "deploy_keys_enabled_for_repositories": {
      "type": "boolean",
      "description": "Controls whether or not deploy keys may be added and used for repositories in the organization."
    }
  },
  "required": [
    "login",
    "url",
    "id",
    "node_id",
    "repos_url",
    "events_url",
    "hooks_url",
    "issues_url",
    "members_url",
    "public_members_url",
    "avatar_url",
    "description",
    "html_url",
    "has_organization_projects",
    "has_repository_projects",
    "public_repos",
    "public_gists",
    "followers",
    "following",
    "type",
    "created_at",
    "updated_at",
    "archived_at"
  ]
}