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

label_basic.json « v4 « public_api « schemas « api « fixtures « spec - gitlab.com/gitlab-org/gitlab-foss.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
blob: a501bc2ec568614b531572faaa6ec1d0246bac52 (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
{
  "type": "object",
  "required": [
    "id",
    "name",
    "color",
    "description",
    "description_html",
    "text_color"
  ],
  "properties": {
    "id": { "type": "integer" },
    "name": { "type": "string" },
    "color": {
      "type": "string",
      "pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
    },
    "description": { "type": ["string", "null"] },
    "description_html": { "type": ["string", "null"] },
    "text_color": {
      "type": "string",
      "pattern": "^#[0-9A-Fa-f]{3}{1,2}$"
    }
  },
  "additionalProperties": false
}