GitHub · Schema

Minimal Repository

Minimal Repository

CodeDeveloper ToolsPipelinesPlatformSoftware DevelopmentVersion ControlT1GitHubGit

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
archived boolean
disabled boolean
visibility string
pushed_at stringnull
created_at stringnull
updated_at stringnull
permissions object
role_name string
temp_clone_token string
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
View JSON Schema on GitHub

JSON Schema

github-minimal-repository-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/github/main/json-schema/github-minimal-repository-schema.json",
  "title": "Minimal Repository",
  "description": "Minimal Repository",
  "x-generated": "2026-10-03",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/github-repos-api-openapi.yml#/components/schemas/minimal-repository",
  "type": "object",
  "properties": {
    "id": {
      "type": "integer"
    },
    "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"
    },
    "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": {
      "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"
        },
        "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"
    }
  },
  "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": {
          "type": "object",
          "properties": {
            "status": {
              "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"
              ]
            }
          }
        }
      }
    },
    "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"
        },
        "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"
        }
      },
      "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-minimal-repository"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

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.