f3-schemas/repository.json

39 lines
876 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": "Suffix to add to the clone URL of the project to access the repository.",
"type": "string"
},
"vcs": {
"description": "The type of the repository, defaults to 'git'",
"anyOf": [
{
"enum": [
"git",
"hg",
"bazaar",
"darcs",
"fossil",
"svn"
]
},
{
"type": "null"
}
]
}
},
"required": [
"name"
],
"$schema": "http://json-schema.org/draft-04/schema#",
"$id": "https://lab.forgefriends.org/friendlyforgeformat/f3-schemas/-/blob/v1.0/repository.json",
"$$target": "repository.json"
}