A source code repository.
| Metadata | Value |
|---|
| Plural | repositories |
| Subtitle field | language |
| Identity | path, url |
| Field | Type |
|---|
stars | integer |
forks | integer |
language | string |
topics | string[] |
openIssues | integer |
isArchived | boolean |
isPrivate | boolean |
defaultBranch | string |
license | string |
size | integer |
External standards this shape draws from or aligns with. See Shape design principles for how prior art informs shape design.
- Git internals + Git refs — Our defaultBranch is a Git ref (refs/heads/main); forkedFrom is explicit in our model vs. implicit in Git (recorded only by forges).
- GitHub REST API — Repository — Direct source. Our stars/forks/openIssues/topics/defaultBranch/ license/size/isArchived/isPrivate all come from the GitHub Repository resource.
- SPDX License List — Our license values are SPDX identifiers (MIT, Apache-2.0, GPL-3.0-or-later).