31 lines
774 B
JSON
31 lines
774 B
JSON
{
|
|
"title": "Repository",
|
|
"description": "VCS repository relative to a project. The actual content of the repository is found in the sibling 'repository' directory.",
|
|
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"name": {
|
|
"description": "Unique name of the repository relative to the project (e.g. vcs or vcs.wiki).",
|
|
"type": "string"
|
|
},
|
|
"vcs": {
|
|
"description": "The type of the repository, defaults to 'git'",
|
|
"enum": [
|
|
"git",
|
|
"hg",
|
|
"bazaar",
|
|
"darcs",
|
|
"fossil",
|
|
"svn"
|
|
]
|
|
}
|
|
},
|
|
"required": [
|
|
"name"
|
|
],
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/repository.json",
|
|
"$$target": "repository.json"
|
|
}
|