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" : {
|
2017-01-30 16:34:47 +00:00
|
|
|
"id": { "type": "integer" },
|
2016-08-04 16:59:30 +00:00
|
|
|
"iid": { "type": "integer" },
|
2017-08-31 18:18:35 +00:00
|
|
|
"project_id": { "type": ["integer", "null"] },
|
2016-08-03 00:19:13 +00:00
|
|
|
"title": { "type": "string" },
|
|
|
|
"confidential": { "type": "boolean" },
|
2021-04-26 12:09:44 +00:00
|
|
|
"due_date": { "type": ["string", "null"] },
|
2020-09-04 15:08:46 +00:00
|
|
|
"relative_position": { "type": ["integer", "null"] },
|
2018-11-07 17:20:17 +00:00
|
|
|
"time_estimate": { "type": "integer" },
|
2017-11-13 23:36:18 +00:00
|
|
|
"issue_sidebar_endpoint": { "type": "string" },
|
|
|
|
"toggle_subscription_endpoint": { "type": "string" },
|
2018-10-31 23:54:33 +00:00
|
|
|
"assignable_labels_endpoint": { "type": "string" },
|
2018-04-05 17:57:48 +00:00
|
|
|
"reference_path": { "type": "string" },
|
|
|
|
"real_path": { "type": "string" },
|
2017-08-31 18:18:35 +00:00
|
|
|
"project": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"path": { "type": "string" }
|
|
|
|
},
|
2016-08-03 00:19:13 +00:00
|
|
|
"labels": {
|
2016-08-19 14:47:33 +00:00
|
|
|
"type": "array",
|
2017-10-31 16:15:03 +00:00
|
|
|
"items": { "$ref": "entities/label.json" }
|
2016-08-04 17:20:26 +00:00
|
|
|
},
|
|
|
|
"assignee": {
|
2019-03-12 17:10:24 +00:00
|
|
|
"id": { "type": "integer" },
|
2016-08-04 17:20:26 +00:00
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" }
|
2017-05-04 14:22:24 +00:00
|
|
|
},
|
2017-05-04 12:11:15 +00: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 08:24:57 +00:00
|
|
|
},
|
|
|
|
"subscribed": { "type": ["boolean", "null"] }
|
2019-03-12 17:10:24 +00:00
|
|
|
}
|
2016-08-03 00:19:13 +00:00
|
|
|
}
|