debian-mirror-gitlab/spec/fixtures/api/schemas/list.json

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

45 lines
1.1 KiB
JSON
Raw Permalink Normal View History

2016-09-13 17:45:13 +05:30
{
"type": "object",
"required" : [
"id",
"list_type",
"title",
"position"
],
"properties" : {
"id": { "type": "integer" },
"list_type": {
"type": "string",
2021-02-22 17:27:13 +05:30
"enum": ["backlog", "label", "iteration", "closed"]
2016-09-13 17:45:13 +05:30
},
"label": {
2016-11-03 12:29:30 +05:30
"type": ["object", "null"],
2016-09-13 17:45:13 +05:30
"required": [
"id",
"color",
2018-10-15 14:42:47 +05:30
"text_color",
2016-09-13 17:45:13 +05:30
"description",
"title",
"priority"
],
"properties": {
"id": { "type": "integer" },
"color": {
"type": "string",
"pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
},
"description": { "type": ["string", "null"] },
"title": { "type": "string" },
2018-10-15 14:42:47 +05:30
"title": { "text_color": "string" },
2016-09-13 17:45:13 +05:30
"priority": { "type": ["integer", "null"] }
}
},
2022-05-07 20:08:51 +05:30
"title": { "type": ["string", "null"] },
2019-12-21 20:55:43 +05:30
"position": { "type": ["integer", "null"] },
2020-01-01 13:55:28 +05:30
"max_issue_count": { "type": "integer" },
2020-04-22 19:07:51 +05:30
"max_issue_weight": { "type": "integer" },
"limit_metric": { "type": ["string", "null"] }
2016-09-13 17:45:13 +05:30
},
2018-11-08 19:23:39 +05:30
"additionalProperties": true
2016-09-13 17:45:13 +05:30
}