summaryrefslogtreecommitdiff
path: root/spec/fixtures/api/schemas/jira_connect/repository.json
blob: 9e81d77bc6a324fe96e9b32ee12f24e782c35b57 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
{
  "type": "object",
  "properties": {
    "id": { "type": "string" },
    "name": { "type": "string" },
    "description": { "type": ["string", "null"] },
    "url": { "type": "uri" },
    "avatar": { "type": "uri" },
    "commits": {
      "type": "array",
      "items": {
        "$ref": "./commit.json"
      }
    },
    "branches": {
      "type": "array",
      "items": {
        "$ref": "./branch.json"
      }
    },
    "pullRequests": {
      "type": "array",
      "items": {
        "$ref": "./pull_request.json"
      }
    },
    "updateSequenceId": { "type": "integer" }
  },
  "required": [
    "id", "name", "description", "url", "avatar",
    "commits", "branches", "pullRequests", "updateSequenceId"
  ],
  "additionalProperties": false
}