30 lines
771 B
JSON
30 lines
771 B
JSON
{
|
|
"title": "Pull request reference to a commit",
|
|
"description": "The location of a commit and the repository where it can be found.",
|
|
|
|
"type": "object",
|
|
"additionalProperties": false,
|
|
"properties": {
|
|
"ref": {
|
|
"description": "Repository reference of the commit (branch, tag, etc.).",
|
|
"type": "string"
|
|
},
|
|
"sha": {
|
|
"description": "SHA of the commit.",
|
|
"type": "string"
|
|
},
|
|
"repository": {
|
|
"description": "Unique identifier of the repository.",
|
|
"type": "string"
|
|
}
|
|
},
|
|
"required": [
|
|
"ref",
|
|
"sha",
|
|
"repository"
|
|
],
|
|
|
|
"$schema": "http://json-schema.org/draft-04/schema#",
|
|
"$id": "https://code.forgejo.org/f3/f3-schemas/src/branch/main/pullrequestbranch.json",
|
|
"$$target": "pullrequestbranch.json"
|
|
}
|