2016-08-03 00:19:13 +00:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required" : [
|
2016-08-04 16:59:30 +00:00
|
|
|
"iid",
|
2016-08-03 00:19:13 +00:00
|
|
|
"title",
|
|
|
|
"confidential"
|
|
|
|
],
|
|
|
|
"properties" : {
|
2016-08-04 16:59:30 +00:00
|
|
|
"iid": { "type": "integer" },
|
2016-08-03 00:19:13 +00:00
|
|
|
"title": { "type": "string" },
|
|
|
|
"confidential": { "type": "boolean" },
|
2016-10-06 14:51:38 +00:00
|
|
|
"due_date": { "type": ["date", "null"] },
|
2016-08-03 00:19:13 +00:00
|
|
|
"labels": {
|
2016-08-19 14:47:33 +00:00
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"color",
|
|
|
|
"description",
|
|
|
|
"title",
|
|
|
|
"priority"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
|
|
|
|
},
|
|
|
|
"description": { "type": ["string", "null"] },
|
|
|
|
"text_color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
|
|
|
|
},
|
|
|
|
"title": { "type": "string" },
|
|
|
|
"priority": { "type": ["integer", "null"] }
|
2016-08-03 00:19:13 +00:00
|
|
|
},
|
2016-08-19 14:47:33 +00:00
|
|
|
"additionalProperties": false
|
2016-08-03 00:19:13 +00:00
|
|
|
}
|
2016-08-04 17:20:26 +00:00
|
|
|
},
|
|
|
|
"assignee": {
|
|
|
|
"id": { "type": "integet" },
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" }
|
2016-10-07 08:24:57 +00:00
|
|
|
},
|
|
|
|
"subscribed": { "type": ["boolean", "null"] }
|
2016-08-03 00:19:13 +00:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|