GitHub Enterprise · Schema

Minimal Repository

Minimal Repository

Version ControlDevOpsCI/CDCode HostingEnterpriseSelf-HostedSAML SSOSCIMAdvanced SecurityDeveloper Tools

Properties

Name Type Description
id integer
node_id string
name string
full_name string
owner object
private boolean
html_url string
description stringnull
fork boolean
url string
archive_url string
assignees_url string
blobs_url string
branches_url string
collaborators_url string
comments_url string
commits_url string
compare_url string
contents_url string
contributors_url string
deployments_url string
downloads_url string
events_url string
forks_url string
git_commits_url string
git_refs_url string
git_tags_url string
git_url string
issue_comment_url string
issue_events_url string
issues_url string
keys_url string
labels_url string
languages_url string
merges_url string
milestones_url string
notifications_url string
pulls_url string
releases_url string
ssh_url string
stargazers_url string
statuses_url string
subscribers_url string
subscription_url string
tags_url string
teams_url string
trees_url string
clone_url string
mirror_url stringnull
hooks_url string
svn_url string
homepage stringnull
language stringnull
forks_count integer
stargazers_count integer
watchers_count integer
size integer The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.
default_branch string
open_issues_count integer
is_template boolean
topics array
has_issues boolean
has_projects boolean
has_wiki boolean
has_pages boolean
has_downloads boolean
has_discussions boolean
has_pull_requests boolean
pull_request_creation_policy string The policy controlling who can create pull requests: all or collaborators_only.
archived boolean
disabled boolean
visibility string
pushed_at stringnull
created_at stringnull
updated_at stringnull
permissions object
role_name string
temp_clone_token string When present and non-empty, a temporary credential for read-only Git access to this repository. It expires five minutes after generation and cannot be used to push changes. Treat this value as sensiti
delete_branch_on_merge boolean
subscribers_count integer
network_count integer
code_of_conduct object
license objectnull
forks integer
open_issues integer
watchers integer
allow_forking boolean
web_commit_signoff_required boolean
security_and_analysis object
custom_properties object The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.
View JSON Schema on GitHub

JSON Schema

github-enterprise-minimal-repository-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json",
  "title": "Minimal Repository",
  "description": "Minimal Repository",
  "x-generated": "2026-11-05",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-enterprise-openapi.yml#/components/schemas/minimal-repository",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer",
      "format": "int64"
    },
    "node_id": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "full_name": {
      "type": "string"
    },
    "owner": {
      "$ref": "#/$defs/simple-user"
    },
    "private": {
      "type": "boolean"
    },
    "html_url": {
      "type": "string",
      "format": "uri"
    },
    "description": {
      "type": [
        "string",
        "null"
      ]
    },
    "fork": {
      "type": "boolean"
    },
    "url": {
      "type": "string",
      "format": "uri"
    },
    "archive_url": {
      "type": "string"
    },
    "assignees_url": {
      "type": "string"
    },
    "blobs_url": {
      "type": "string"
    },
    "branches_url": {
      "type": "string"
    },
    "collaborators_url": {
      "type": "string"
    },
    "comments_url": {
      "type": "string"
    },
    "commits_url": {
      "type": "string"
    },
    "compare_url": {
      "type": "string"
    },
    "contents_url": {
      "type": "string"
    },
    "contributors_url": {
      "type": "string",
      "format": "uri"
    },
    "deployments_url": {
      "type": "string",
      "format": "uri"
    },
    "downloads_url": {
      "type": "string",
      "format": "uri"
    },
    "events_url": {
      "type": "string",
      "format": "uri"
    },
    "forks_url": {
      "type": "string",
      "format": "uri"
    },
    "git_commits_url": {
      "type": "string"
    },
    "git_refs_url": {
      "type": "string"
    },
    "git_tags_url": {
      "type": "string"
    },
    "git_url": {
      "type": "string"
    },
    "issue_comment_url": {
      "type": "string"
    },
    "issue_events_url": {
      "type": "string"
    },
    "issues_url": {
      "type": "string"
    },
    "keys_url": {
      "type": "string"
    },
    "labels_url": {
      "type": "string"
    },
    "languages_url": {
      "type": "string",
      "format": "uri"
    },
    "merges_url": {
      "type": "string",
      "format": "uri"
    },
    "milestones_url": {
      "type": "string"
    },
    "notifications_url": {
      "type": "string"
    },
    "pulls_url": {
      "type": "string"
    },
    "releases_url": {
      "type": "string"
    },
    "ssh_url": {
      "type": "string"
    },
    "stargazers_url": {
      "type": "string",
      "format": "uri"
    },
    "statuses_url": {
      "type": "string"
    },
    "subscribers_url": {
      "type": "string",
      "format": "uri"
    },
    "subscription_url": {
      "type": "string",
      "format": "uri"
    },
    "tags_url": {
      "type": "string",
      "format": "uri"
    },
    "teams_url": {
      "type": "string",
      "format": "uri"
    },
    "trees_url": {
      "type": "string"
    },
    "clone_url": {
      "type": "string"
    },
    "mirror_url": {
      "type": [
        "string",
        "null"
      ]
    },
    "hooks_url": {
      "type": "string",
      "format": "uri"
    },
    "svn_url": {
      "type": "string"
    },
    "homepage": {
      "type": [
        "string",
        "null"
      ]
    },
    "language": {
      "type": [
        "string",
        "null"
      ]
    },
    "forks_count": {
      "type": "integer"
    },
    "stargazers_count": {
      "type": "integer"
    },
    "watchers_count": {
      "type": "integer"
    },
    "size": {
      "description": "The size of the repository, in kilobytes. Size is calculated hourly. When a repository is initially created, the size is 0.",
      "type": "integer"
    },
    "default_branch": {
      "type": "string"
    },
    "open_issues_count": {
      "type": "integer"
    },
    "is_template": {
      "type": "boolean"
    },
    "topics": {
      "type": "array",
      "items": {
        "type": "string"
      }
    },
    "has_issues": {
      "type": "boolean"
    },
    "has_projects": {
      "type": "boolean"
    },
    "has_wiki": {
      "type": "boolean"
    },
    "has_pages": {
      "type": "boolean"
    },
    "has_downloads": {
      "type": "boolean"
    },
    "has_discussions": {
      "type": "boolean"
    },
    "has_pull_requests": {
      "type": "boolean"
    },
    "pull_request_creation_policy": {
      "description": "The policy controlling who can create pull requests: all or collaborators_only.",
      "type": "string",
      "enum": [
        "all",
        "collaborators_only"
      ]
    },
    "archived": {
      "type": "boolean"
    },
    "disabled": {
      "type": "boolean"
    },
    "visibility": {
      "type": "string"
    },
    "pushed_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "created_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "updated_at": {
      "type": [
        "string",
        "null"
      ],
      "format": "date-time"
    },
    "permissions": {
      "type": "object",
      "properties": {
        "admin": {
          "type": "boolean"
        },
        "maintain": {
          "type": "boolean"
        },
        "push": {
          "type": "boolean"
        },
        "triage": {
          "type": "boolean"
        },
        "pull": {
          "type": "boolean"
        }
      }
    },
    "role_name": {
      "type": "string"
    },
    "temp_clone_token": {
      "description": "When present and non-empty, a temporary credential for read-only Git access to this repository.\nIt expires five minutes after generation and cannot be used to push changes.\nTreat this value as sensitive and avoid recording it in logs.",
      "type": "string"
    },
    "delete_branch_on_merge": {
      "type": "boolean"
    },
    "subscribers_count": {
      "type": "integer"
    },
    "network_count": {
      "type": "integer"
    },
    "code_of_conduct": {
      "$ref": "#/$defs/code-of-conduct"
    },
    "license": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "spdx_id": {
          "type": "string"
        },
        "url": {
          "type": [
            "string",
            "null"
          ]
        },
        "node_id": {
          "type": "string"
        }
      }
    },
    "forks": {
      "type": "integer"
    },
    "open_issues": {
      "type": "integer"
    },
    "watchers": {
      "type": "integer"
    },
    "allow_forking": {
      "type": "boolean"
    },
    "web_commit_signoff_required": {
      "type": "boolean"
    },
    "security_and_analysis": {
      "$ref": "#/$defs/security-and-analysis"
    },
    "custom_properties": {
      "type": "object",
      "description": "The custom properties that were defined for the repository. The keys are the custom property names, and the values are the corresponding custom property values.",
      "additionalProperties": true
    }
  },
  "required": [
    "archive_url",
    "assignees_url",
    "blobs_url",
    "branches_url",
    "collaborators_url",
    "comments_url",
    "commits_url",
    "compare_url",
    "contents_url",
    "contributors_url",
    "deployments_url",
    "description",
    "downloads_url",
    "events_url",
    "fork",
    "forks_url",
    "full_name",
    "git_commits_url",
    "git_refs_url",
    "git_tags_url",
    "hooks_url",
    "html_url",
    "id",
    "node_id",
    "issue_comment_url",
    "issue_events_url",
    "issues_url",
    "keys_url",
    "labels_url",
    "languages_url",
    "merges_url",
    "milestones_url",
    "name",
    "notifications_url",
    "owner",
    "private",
    "pulls_url",
    "releases_url",
    "stargazers_url",
    "statuses_url",
    "subscribers_url",
    "subscription_url",
    "tags_url",
    "teams_url",
    "trees_url",
    "url"
  ],
  "$defs": {
    "code-of-conduct": {
      "title": "Code Of Conduct",
      "description": "Code Of Conduct",
      "type": "object",
      "properties": {
        "key": {
          "type": "string"
        },
        "name": {
          "type": "string"
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "body": {
          "type": "string"
        },
        "html_url": {
          "type": [
            "string",
            "null"
          ],
          "format": "uri"
        }
      },
      "required": [
        "url",
        "html_url",
        "key",
        "name"
      ]
    },
    "security-and-analysis": {
      "type": [
        "object",
        "null"
      ],
      "properties": {
        "advanced_security": {
          "description": "Enable or disable GitHub Advanced Security for the repository.\n\nFor standalone Code Scanning or Secret Protection products, this parameter cannot be used.\n",
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "code_security": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "dependabot_security_updates": {
          "description": "Enable or disable Dependabot security updates for the repository.",
          "type": "object",
          "properties": {
            "status": {
              "description": "The enablement status of Dependabot security updates for the repository.",
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_push_protection": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_non_provider_patterns": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_ai_detection": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_validity_checks": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_delegated_alert_dismissal": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_delegated_bypass": {
          "type": "object",
          "properties": {
            "status": {
              "type": "string",
              "enum": [
                "enabled",
                "disabled"
              ]
            }
          }
        },
        "secret_scanning_delegated_bypass_options": {
          "type": "object",
          "properties": {
            "reviewers": {
              "type": "array",
              "description": "The bypass reviewers for secret scanning delegated bypass",
              "items": {
                "type": "object",
                "required": [
                  "reviewer_id",
                  "reviewer_type"
                ],
                "properties": {
                  "reviewer_id": {
                    "type": "integer",
                    "description": "The ID of the team or role selected as a bypass reviewer"
                  },
                  "reviewer_type": {
                    "type": "string",
                    "description": "The type of the bypass reviewer",
                    "enum": [
                      "TEAM",
                      "ROLE"
                    ]
                  },
                  "mode": {
                    "type": "string",
                    "description": "The bypass mode for the reviewer",
                    "enum": [
                      "ALWAYS",
                      "EXEMPT"
                    ],
                    "default": "ALWAYS"
                  }
                }
              }
            }
          }
        }
      }
    },
    "simple-user": {
      "title": "Simple User",
      "description": "A GitHub user.",
      "type": "object",
      "properties": {
        "name": {
          "type": [
            "string",
            "null"
          ]
        },
        "email": {
          "type": [
            "string",
            "null"
          ]
        },
        "login": {
          "type": "string"
        },
        "id": {
          "type": "integer",
          "format": "int64"
        },
        "node_id": {
          "type": "string"
        },
        "avatar_url": {
          "type": "string",
          "format": "uri"
        },
        "gravatar_id": {
          "type": [
            "string",
            "null"
          ]
        },
        "url": {
          "type": "string",
          "format": "uri"
        },
        "html_url": {
          "type": "string",
          "format": "uri"
        },
        "followers_url": {
          "type": "string",
          "format": "uri"
        },
        "following_url": {
          "type": "string"
        },
        "gists_url": {
          "type": "string"
        },
        "starred_url": {
          "type": "string"
        },
        "subscriptions_url": {
          "type": "string",
          "format": "uri"
        },
        "organizations_url": {
          "type": "string",
          "format": "uri"
        },
        "repos_url": {
          "type": "string",
          "format": "uri"
        },
        "events_url": {
          "type": "string"
        },
        "received_events_url": {
          "type": "string",
          "format": "uri"
        },
        "type": {
          "type": "string"
        },
        "site_admin": {
          "type": "boolean"
        },
        "starred_at": {
          "type": "string"
        },
        "user_view_type": {
          "type": "string"
        }
      },
      "required": [
        "avatar_url",
        "events_url",
        "followers_url",
        "following_url",
        "gists_url",
        "gravatar_id",
        "html_url",
        "id",
        "node_id",
        "login",
        "organizations_url",
        "received_events_url",
        "repos_url",
        "site_admin",
        "starred_url",
        "subscriptions_url",
        "type",
        "url"
      ]
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/github-enterprise-minimal-repository"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.