Welcome to mirror list, hosted at ThFree Co, Russian Federation.

issue.json « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: 24bac4fef91bb178b83d20dc86b4bd942e15687e (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
35
36
37
38
{
  "type": "object",
  "required" : [
    "iid",
    "title",
    "confidential"
  ],
  "properties" : {
    "iid": { "type": "integer" },
    "title": { "type": "string" },
    "confidential": { "type": "boolean" },
    "labels": {
      "type": ["array"],
      "required": [
        "id",
        "color",
        "title",
        "priority"
      ],
      "properties": {
        "id": { "type": "integer" },
        "color": {
          "type": "string",
          "pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
        },
        "title": { "type": "string" },
        "priority": { "type": ["integer", "null"] }
      }
    },
    "assignee": {
      "id": { "type": "integet" },
      "name": { "type": "string" },
      "username": { "type": "string" },
      "avatar_url": { "type": "uri" }
    }
  },
  "additionalProperties": false
}