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

44 lines
1,020 B
JSON
Raw 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",
2017-09-10 17:25:29 +05:30
"enum": ["backlog", "label", "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"] }
}
},
"title": { "type": "string" },
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" },
"max_issue_weight": { "type": "integer" }
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
}