2016-08-02 20:19:13 -04:00
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required" : [
|
2016-08-04 12:59:30 -04:00
|
|
|
"iid",
|
2016-08-02 20:19:13 -04:00
|
|
|
"title",
|
|
|
|
"confidential"
|
|
|
|
],
|
|
|
|
"properties" : {
|
2017-01-30 11:34:47 -05:00
|
|
|
"id": { "type": "integer" },
|
2016-08-04 12:59:30 -04:00
|
|
|
"iid": { "type": "integer" },
|
2017-08-31 14:18:35 -04:00
|
|
|
"project_id": { "type": ["integer", "null"] },
|
2016-08-02 20:19:13 -04:00
|
|
|
"title": { "type": "string" },
|
|
|
|
"confidential": { "type": "boolean" },
|
2016-10-06 10:51:38 -04:00
|
|
|
"due_date": { "type": ["date", "null"] },
|
2017-02-27 10:45:55 -05:00
|
|
|
"relative_position": { "type": "integer" },
|
2017-08-31 14:18:35 -04:00
|
|
|
"project": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"path": { "type": "string" }
|
|
|
|
},
|
2016-08-02 20:19:13 -04:00
|
|
|
"labels": {
|
2016-08-19 10:47:33 -04: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}+$"
|
|
|
|
},
|
2017-08-31 13:48:57 -04:00
|
|
|
"type": { "type": "string" },
|
2016-08-19 10:47:33 -04:00
|
|
|
"title": { "type": "string" },
|
|
|
|
"priority": { "type": ["integer", "null"] }
|
2016-08-02 20:19:13 -04:00
|
|
|
},
|
2016-08-19 10:47:33 -04:00
|
|
|
"additionalProperties": false
|
2016-08-02 20:19:13 -04:00
|
|
|
}
|
2016-08-04 13:20:26 -04:00
|
|
|
},
|
|
|
|
"assignee": {
|
|
|
|
"id": { "type": "integet" },
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" }
|
2017-05-04 10:22:24 -04:00
|
|
|
},
|
2017-05-04 08:11:15 -04:00
|
|
|
"assignees": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": ["object", "null"],
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"name",
|
|
|
|
"username",
|
|
|
|
"avatar_url"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" }
|
|
|
|
}
|
|
|
|
}
|
2016-10-07 04:24:57 -04:00
|
|
|
},
|
|
|
|
"subscribed": { "type": ["boolean", "null"] }
|
2016-08-02 20:19:13 -04:00
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|