2016-09-13 17:45:13 +05:30
|
|
|
{
|
|
|
|
"type": "object",
|
|
|
|
"required" : [
|
|
|
|
"iid",
|
|
|
|
"title",
|
|
|
|
"confidential"
|
|
|
|
],
|
|
|
|
"properties" : {
|
2017-08-17 22:00:37 +05:30
|
|
|
"id": { "type": "integer" },
|
2016-09-13 17:45:13 +05:30
|
|
|
"iid": { "type": "integer" },
|
2018-03-17 18:26:18 +05:30
|
|
|
"project_id": { "type": ["integer", "null"] },
|
2016-09-13 17:45:13 +05:30
|
|
|
"title": { "type": "string" },
|
|
|
|
"confidential": { "type": "boolean" },
|
2017-08-17 22:00:37 +05:30
|
|
|
"due_date": { "type": ["date", "null"] },
|
|
|
|
"relative_position": { "type": "integer" },
|
2018-12-13 13:39:08 +05:30
|
|
|
"time_estimate": { "type": "integer" },
|
2018-03-17 18:26:18 +05:30
|
|
|
"issue_sidebar_endpoint": { "type": "string" },
|
|
|
|
"toggle_subscription_endpoint": { "type": "string" },
|
2018-12-13 13:39:08 +05:30
|
|
|
"assignable_labels_endpoint": { "type": "string" },
|
2018-05-09 12:01:36 +05:30
|
|
|
"reference_path": { "type": "string" },
|
|
|
|
"real_path": { "type": "string" },
|
2018-03-17 18:26:18 +05:30
|
|
|
"project": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"path": { "type": "string" }
|
|
|
|
},
|
2016-09-13 17:45:13 +05:30
|
|
|
"labels": {
|
|
|
|
"type": "array",
|
2018-03-17 18:26:18 +05:30
|
|
|
"items": { "$ref": "entities/label.json" }
|
2016-09-13 17:45:13 +05:30
|
|
|
},
|
|
|
|
"assignee": {
|
2019-07-07 11:18:12 +05:30
|
|
|
"id": { "type": "integer" },
|
2016-09-13 17:45:13 +05:30
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" }
|
2017-08-17 22:00:37 +05:30
|
|
|
},
|
|
|
|
"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" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"subscribed": { "type": ["boolean", "null"] }
|
2019-07-07 11:18:12 +05:30
|
|
|
}
|
2016-09-13 17:45:13 +05:30
|
|
|
}
|