2017-08-17 22:00:37 +05:30
|
|
|
{
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "object",
|
|
|
|
"properties" : {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"iid": { "type": "integer" },
|
|
|
|
"project_id": { "type": "integer" },
|
|
|
|
"title": { "type": "string" },
|
|
|
|
"description": { "type": ["string", "null"] },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"created_at": { "type": "date" },
|
|
|
|
"updated_at": { "type": "date" },
|
|
|
|
"labels": {
|
|
|
|
"type": "array",
|
|
|
|
"items": {
|
|
|
|
"type": "string"
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"milestone": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"iid": { "type": "integer" },
|
2017-09-10 17:25:29 +05:30
|
|
|
"project_id": { "type": ["integer", "null"] },
|
|
|
|
"group_id": { "type": ["integer", "null"] },
|
2017-08-17 22:00:37 +05:30
|
|
|
"title": { "type": "string" },
|
|
|
|
"description": { "type": ["string", "null"] },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"created_at": { "type": "date" },
|
|
|
|
"updated_at": { "type": "date" },
|
|
|
|
"due_date": { "type": "date" },
|
|
|
|
"start_date": { "type": "date" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"assignee": {
|
|
|
|
"type": ["object", "null"],
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"author": {
|
|
|
|
"type": "object",
|
|
|
|
"properties": {
|
|
|
|
"name": { "type": "string" },
|
|
|
|
"username": { "type": "string" },
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"state": { "type": "string" },
|
|
|
|
"avatar_url": { "type": "uri" },
|
|
|
|
"web_url": { "type": "uri" }
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
},
|
|
|
|
"user_notes_count": { "type": "integer" },
|
|
|
|
"upvotes": { "type": "integer" },
|
|
|
|
"downvotes": { "type": "integer" },
|
|
|
|
"due_date": { "type": ["date", "null"] },
|
|
|
|
"confidential": { "type": "boolean" },
|
|
|
|
"web_url": { "type": "uri" },
|
|
|
|
"subscribed": { "type": ["boolean"] }
|
|
|
|
},
|
|
|
|
"required": [
|
|
|
|
"id", "iid", "project_id", "title", "description",
|
|
|
|
"state", "created_at", "updated_at", "labels",
|
|
|
|
"milestone", "assignee", "author", "user_notes_count",
|
|
|
|
"upvotes", "downvotes", "due_date", "confidential",
|
|
|
|
"web_url", "subscribed"
|
|
|
|
],
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|
|
|
|
}
|