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

42 lines
927 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" },
"position": { "type": ["integer", "null"] }
},
2018-11-08 19:23:39 +05:30
"additionalProperties": true
2016-09-13 17:45:13 +05:30
}