# nullable-repository

From **GitHub v3 REST API**.

A git repository

- Type: `object`
- Nullable: true

## Properties

### `allow_forking`

- Required: false
- Type: `boolean`

Whether to allow forking this repo

### `allow_merge_commit`

- Required: false
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether to allow merge commits for pull requests.

### `allow_rebase_merge`

- Required: false
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether to allow rebase merges for pull requests.

### `allow_squash_merge`

- Required: false
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether to allow squash merges for pull requests.

### `archive_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}`

### `archived`

- Required: true
- Type: `boolean`
- Default: `false`

Whether the repository is archived.

### `assignees_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/assignees{/user}`

### `blobs_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}`

### `branches_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/branches{/branch}`

### `clone_url`

- Required: true
- Type: `string`
- Example: `https://github.com/octocat/Hello-World.git`

### `collaborators_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}`

### `comments_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/comments{/number}`

### `commits_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/commits{/sha}`

### `compare_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}`

### `contents_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/contents/{+path}`

### `contributors_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/contributors`

### `created_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Nullable: true
- Example: `2011-01-26T19:01:12Z`

### `default_branch`

- Required: true
- Type: `string`
- Example: `master`

The default branch of the repository.

### `delete_branch_on_merge`

- Required: false
- Type: `boolean`
- Default: `false`
- Example: `false`

Whether to delete head branches when pull requests are merged

### `deployments_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/deployments`

### `description`

- Required: true
- Type: `string`
- Nullable: true
- Example: `This your first repo!`

### `disabled`

- Required: true
- Type: `boolean`

Returns whether or not this repository disabled.

### `downloads_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/downloads`

### `events_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/events`

### `fork`

- Required: true
- Type: `boolean`

### `forks`

- Required: true
- Type: `integer`

### `forks_count`

- Required: true
- Type: `integer`
- Example: `9`

### `forks_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/forks`

### `full_name`

- Required: true
- Type: `string`
- Example: `octocat/Hello-World`

### `git_commits_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}`

### `git_refs_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}`

### `git_tags_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}`

### `git_url`

- Required: true
- Type: `string`
- Example: `git:github.com/octocat/Hello-World.git`

### `has_downloads`

- Required: true
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether downloads are enabled.

### `has_issues`

- Required: true
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether issues are enabled.

### `has_pages`

- Required: true
- Type: `boolean`

### `has_projects`

- Required: true
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether projects are enabled.

### `has_wiki`

- Required: true
- Type: `boolean`
- Default: `true`
- Example: `true`

Whether the wiki is enabled.

### `homepage`

- Required: true
- Type: `string`
- Format: `uri`
- Nullable: true
- Example: `https://github.com`

### `hooks_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/hooks`

### `html_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://github.com/octocat/Hello-World`

### `id`

- Required: true
- Type: `integer`
- Example: `42`

Unique identifier of the repository

### `is_template`

- Required: false
- Type: `boolean`
- Default: `false`
- Example: `true`

Whether this repository acts as a template that can be used to generate new repositories.

### `issue_comment_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}`

### `issue_events_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/issues/events{/number}`

### `issues_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/issues{/number}`

### `keys_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/keys{/key_id}`

### `labels_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/labels{/name}`

### `language`

- Required: true
- Type: `string`
- Nullable: true

### `languages_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/languages`

### `license`

- Required: true
- Type: `object`
- Nullable: true

License Simple

### `master_branch`

- Required: false
- Type: `string`

### `merges_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/merges`

### `milestones_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/milestones{/number}`

### `mirror_url`

- Required: true
- Type: `string`
- Format: `uri`
- Nullable: true
- Example: `git:git.example.com/octocat/Hello-World`

### `name`

- Required: true
- Type: `string`
- Example: `Team Environment`

The name of the repository.

### `network_count`

- Required: false
- Type: `integer`

### `node_id`

- Required: true
- Type: `string`
- Example: `MDEwOlJlcG9zaXRvcnkxMjk2MjY5`

### `notifications_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}`

### `open_issues`

- Required: true
- Type: `integer`

### `open_issues_count`

- Required: true
- Type: `integer`
- Example: `0`

### `organization`

- Required: false
- Type: `object`
- Nullable: true

Simple User

### `owner`

- Required: true
- Type: `object`

Simple User

### `permissions`

- Required: false
- Type: `object`

### `private`

- Required: true
- Type: `boolean`
- Default: `false`

Whether the repository is private or public.

### `pulls_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/pulls{/number}`

### `pushed_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Nullable: true
- Example: `2011-01-26T19:06:43Z`

### `releases_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/releases{/id}`

### `size`

- Required: true
- Type: `integer`
- Example: `108`

### `ssh_url`

- Required: true
- Type: `string`
- Example: `git@github.com:octocat/Hello-World.git`

### `stargazers_count`

- Required: true
- Type: `integer`
- Example: `80`

### `stargazers_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/stargazers`

### `starred_at`

- Required: false
- Type: `string`
- Example: `"2020-07-09T00:17:42Z"`

### `statuses_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/statuses/{sha}`

### `subscribers_count`

- Required: false
- Type: `integer`

### `subscribers_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/subscribers`

### `subscription_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/subscription`

### `svn_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://svn.github.com/octocat/Hello-World`

### `tags_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/tags`

### `teams_url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `http://api.github.com/repos/octocat/Hello-World/teams`

### `temp_clone_token`

- Required: false
- Type: `string`

### `template_repository`

- Required: false
- Type: `object`
- Nullable: true

### `topics`

- Required: false
- Type: `array`

### `trees_url`

- Required: true
- Type: `string`
- Example: `http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}`

### `updated_at`

- Required: true
- Type: `string`
- Format: `date-time`
- Nullable: true
- Example: `2011-01-26T19:14:43Z`

### `url`

- Required: true
- Type: `string`
- Format: `uri`
- Example: `https://api.github.com/repos/octocat/Hello-World`

### `visibility`

- Required: false
- Type: `string`
- Default: `public`

The repository visibility: public, private, or internal.

### `watchers`

- Required: true
- Type: `integer`

### `watchers_count`

- Required: true
- Type: `integer`
- Example: `80`

## JSON Schema

```json
{"description":"A git repository","nullable":true,"properties":{"allow_forking":{"description":"Whether to allow forking this repo","type":"boolean"},"allow_merge_commit":{"default":true,"description":"Whether to allow merge commits for pull requests.","example":true,"type":"boolean"},"allow_rebase_merge":{"default":true,"description":"Whether to allow rebase merges for pull requests.","example":true,"type":"boolean"},"allow_squash_merge":{"default":true,"description":"Whether to allow squash merges for pull requests.","example":true,"type":"boolean"},"archive_url":{"example":"http://api.github.com/repos/octocat/Hello-World/{archive_format}{/ref}","type":"string"},"archived":{"default":false,"description":"Whether the repository is archived.","type":"boolean"},"assignees_url":{"example":"http://api.github.com/repos/octocat/Hello-World/assignees{/user}","type":"string"},"blobs_url":{"example":"http://api.github.com/repos/octocat/Hello-World/git/blobs{/sha}","type":"string"},"branches_url":{"example":"http://api.github.com/repos/octocat/Hello-World/branches{/branch}","type":"string"},"clone_url":{"example":"https://github.com/octocat/Hello-World.git","type":"string"},"collaborators_url":{"example":"http://api.github.com/repos/octocat/Hello-World/collaborators{/collaborator}","type":"string"},"comments_url":{"example":"http://api.github.com/repos/octocat/Hello-World/comments{/number}","type":"string"},"commits_url":{"example":"http://api.github.com/repos/octocat/Hello-World/commits{/sha}","type":"string"},"compare_url":{"example":"http://api.github.com/repos/octocat/Hello-World/compare/{base}...{head}","type":"string"},"contents_url":{"example":"http://api.github.com/repos/octocat/Hello-World/contents/{+path}","type":"string"},"contributors_url":{"example":"http://api.github.com/repos/octocat/Hello-World/contributors","format":"uri","type":"string"},"created_at":{"example":"2011-01-26T19:01:12Z","format":"date-time","nullable":true,"type":"string"},"default_branch":{"description":"The default branch of the repository.","example":"master","type":"string"},"delete_branch_on_merge":{"default":false,"description":"Whether to delete head branches when pull requests are merged","example":false,"type":"boolean"},"deployments_url":{"example":"http://api.github.com/repos/octocat/Hello-World/deployments","format":"uri","type":"string"},"description":{"example":"This your first repo!","nullable":true,"type":"string"},"disabled":{"description":"Returns whether or not this repository disabled.","type":"boolean"},"downloads_url":{"example":"http://api.github.com/repos/octocat/Hello-World/downloads","format":"uri","type":"string"},"events_url":{"example":"http://api.github.com/repos/octocat/Hello-World/events","format":"uri","type":"string"},"fork":{"type":"boolean"},"forks":{"type":"integer"},"forks_count":{"example":9,"type":"integer"},"forks_url":{"example":"http://api.github.com/repos/octocat/Hello-World/forks","format":"uri","type":"string"},"full_name":{"example":"octocat/Hello-World","type":"string"},"git_commits_url":{"example":"http://api.github.com/repos/octocat/Hello-World/git/commits{/sha}","type":"string"},"git_refs_url":{"example":"http://api.github.com/repos/octocat/Hello-World/git/refs{/sha}","type":"string"},"git_tags_url":{"example":"http://api.github.com/repos/octocat/Hello-World/git/tags{/sha}","type":"string"},"git_url":{"example":"git:github.com/octocat/Hello-World.git","type":"string"},"has_downloads":{"default":true,"description":"Whether downloads are enabled.","example":true,"type":"boolean"},"has_issues":{"default":true,"description":"Whether issues are enabled.","example":true,"type":"boolean"},"has_pages":{"type":"boolean"},"has_projects":{"default":true,"description":"Whether projects are enabled.","example":true,"type":"boolean"},"has_wiki":{"default":true,"description":"Whether the wiki is enabled.","example":true,"type":"boolean"},"homepage":{"example":"https://github.com","format":"uri","nullable":true,"type":"string"},"hooks_url":{"example":"http://api.github.com/repos/octocat/Hello-World/hooks","format":"uri","type":"string"},"html_url":{"example":"https://github.com/octocat/Hello-World","format":"uri","type":"string"},"id":{"description":"Unique identifier of the repository","example":42,"type":"integer"},"is_template":{"default":false,"description":"Whether this repository acts as a template that can be used to generate new repositories.","example":true,"type":"boolean"},"issue_comment_url":{"example":"http://api.github.com/repos/octocat/Hello-World/issues/comments{/number}","type":"string"},"issue_events_url":{"example":"http://api.github.com/repos/octocat/Hello-World/issues/events{/number}","type":"string"},"issues_url":{"example":"http://api.github.com/repos/octocat/Hello-World/issues{/number}","type":"string"},"keys_url":{"example":"http://api.github.com/repos/octocat/Hello-World/keys{/key_id}","type":"string"},"labels_url":{"example":"http://api.github.com/repos/octocat/Hello-World/labels{/name}","type":"string"},"language":{"nullable":true,"type":"string"},"languages_url":{"example":"http://api.github.com/repos/octocat/Hello-World/languages","format":"uri","type":"string"},"license":{"$ref":"#/components/schemas/nullable-license-simple"},"master_branch":{"type":"string"},"merges_url":{"example":"http://api.github.com/repos/octocat/Hello-World/merges","format":"uri","type":"string"},"milestones_url":{"example":"http://api.github.com/repos/octocat/Hello-World/milestones{/number}","type":"string"},"mirror_url":{"example":"git:git.example.com/octocat/Hello-World","format":"uri","nullable":true,"type":"string"},"name":{"description":"The name of the repository.","example":"Team Environment","type":"string"},"network_count":{"type":"integer"},"node_id":{"example":"MDEwOlJlcG9zaXRvcnkxMjk2MjY5","type":"string"},"notifications_url":{"example":"http://api.github.com/repos/octocat/Hello-World/notifications{?since,all,participating}","type":"string"},"open_issues":{"type":"integer"},"open_issues_count":{"example":0,"type":"integer"},"organization":{"$ref":"#/components/schemas/nullable-simple-user"},"owner":{"$ref":"#/components/schemas/simple-user"},"permissions":{"properties":{"admin":{"type":"boolean"},"maintain":{"type":"boolean"},"pull":{"type":"boolean"},"push":{"type":"boolean"},"triage":{"type":"boolean"}},"required":["admin","pull","push"],"type":"object"},"private":{"default":false,"description":"Whether the repository is private or public.","type":"boolean"},"pulls_url":{"example":"http://api.github.com/repos/octocat/Hello-World/pulls{/number}","type":"string"},"pushed_at":{"example":"2011-01-26T19:06:43Z","format":"date-time","nullable":true,"type":"string"},"releases_url":{"example":"http://api.github.com/repos/octocat/Hello-World/releases{/id}","type":"string"},"size":{"example":108,"type":"integer"},"ssh_url":{"example":"git@github.com:octocat/Hello-World.git","type":"string"},"stargazers_count":{"example":80,"type":"integer"},"stargazers_url":{"example":"http://api.github.com/repos/octocat/Hello-World/stargazers","format":"uri","type":"string"},"starred_at":{"example":"\"2020-07-09T00:17:42Z\"","type":"string"},"statuses_url":{"example":"http://api.github.com/repos/octocat/Hello-World/statuses/{sha}","type":"string"},"subscribers_count":{"type":"integer"},"subscribers_url":{"example":"http://api.github.com/repos/octocat/Hello-World/subscribers","format":"uri","type":"string"},"subscription_url":{"example":"http://api.github.com/repos/octocat/Hello-World/subscription","format":"uri","type":"string"},"svn_url":{"example":"https://svn.github.com/octocat/Hello-World","format":"uri","type":"string"},"tags_url":{"example":"http://api.github.com/repos/octocat/Hello-World/tags","format":"uri","type":"string"},"teams_url":{"example":"http://api.github.com/repos/octocat/Hello-World/teams","format":"uri","type":"string"},"temp_clone_token":{"type":"string"},"template_repository":{"nullable":true,"properties":{"allow_merge_commit":{"type":"boolean"},"allow_rebase_merge":{"type":"boolean"},"allow_squash_merge":{"type":"boolean"},"allow_update_branch":{"type":"boolean"},"archive_url":{"type":"string"},"archived":{"type":"boolean"},"assignees_url":{"type":"string"},"blobs_url":{"type":"string"},"branches_url":{"type":"string"},"clone_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"},"created_at":{"type":"string"},"default_branch":{"type":"string"},"delete_branch_on_merge":{"type":"boolean"},"deployments_url":{"type":"string"},"description":{"type":"string"},"disabled":{"type":"boolean"},"downloads_url":{"type":"string"},"events_url":{"type":"string"},"fork":{"type":"boolean"},"forks_count":{"type":"integer"},"forks_url":{"type":"string"},"full_name":{"type":"string"},"git_commits_url":{"type":"string"},"git_refs_url":{"type":"string"},"git_tags_url":{"type":"string"},"git_url":{"type":"string"},"has_downloads":{"type":"boolean"},"has_issues":{"type":"boolean"},"has_pages":{"type":"boolean"},"has_projects":{"type":"boolean"},"has_wiki":{"type":"boolean"},"homepage":{"type":"string"},"hooks_url":{"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"is_template":{"type":"boolean"},"issue_comment_url":{"type":"string"},"issue_events_url":{"type":"string"},"issues_url":{"type":"string"},"keys_url":{"type":"string"},"labels_url":{"type":"string"},"language":{"type":"string"},"languages_url":{"type":"string"},"merges_url":{"type":"string"},"milestones_url":{"type":"string"},"mirror_url":{"type":"string"},"name":{"type":"string"},"network_count":{"type":"integer"},"node_id":{"type":"string"},"notifications_url":{"type":"string"},"open_issues_count":{"type":"integer"},"owner":{"properties":{"avatar_url":{"type":"string"},"events_url":{"type":"string"},"followers_url":{"type":"string"},"following_url":{"type":"string"},"gists_url":{"type":"string"},"gravatar_id":{"type":"string"},"html_url":{"type":"string"},"id":{"type":"integer"},"login":{"type":"string"},"node_id":{"type":"string"},"organizations_url":{"type":"string"},"received_events_url":{"type":"string"},"repos_url":{"type":"string"},"site_admin":{"type":"boolean"},"starred_url":{"type":"string"},"subscriptions_url":{"type":"string"},"type":{"type":"string"},"url":{"type":"string"}},"type":"object"},"permissions":{"properties":{"admin":{"type":"boolean"},"maintain":{"type":"boolean"},"pull":{"type":"boolean"},"push":{"type":"boolean"},"triage":{"type":"boolean"}},"type":"object"},"private":{"type":"boolean"},"pulls_url":{"type":"string"},"pushed_at":{"type":"string"},"releases_url":{"type":"string"},"size":{"type":"integer"},"ssh_url":{"type":"string"},"stargazers_count":{"type":"integer"},"stargazers_url":{"type":"string"},"statuses_url":{"type":"string"},"subscribers_count":{"type":"integer"},"subscribers_url":{"type":"string"},"subscription_url":{"type":"string"},"svn_url":{"type":"string"},"tags_url":{"type":"string"},"teams_url":{"type":"string"},"temp_clone_token":{"type":"string"},"topics":{"items":{"type":"string"},"type":"array"},"trees_url":{"type":"string"},"updated_at":{"type":"string"},"url":{"type":"string"},"visibility":{"type":"string"},"watchers_count":{"type":"integer"}},"type":"object"},"topics":{"items":{"type":"string"},"type":"array"},"trees_url":{"example":"http://api.github.com/repos/octocat/Hello-World/git/trees{/sha}","type":"string"},"updated_at":{"example":"2011-01-26T19:14:43Z","format":"date-time","nullable":true,"type":"string"},"url":{"example":"https://api.github.com/repos/octocat/Hello-World","format":"uri","type":"string"},"visibility":{"default":"public","description":"The repository visibility: public, private, or internal.","type":"string"},"watchers":{"type":"integer"},"watchers_count":{"example":80,"type":"integer"}},"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","clone_url","default_branch","forks","forks_count","git_url","has_downloads","has_issues","has_projects","has_wiki","has_pages","homepage","language","archived","disabled","mirror_url","open_issues","open_issues_count","license","pushed_at","size","ssh_url","stargazers_count","svn_url","watchers","watchers_count","created_at","updated_at"],"title":"Repository","type":"object"}
```
