26 lines
741 B
JSON
26 lines
741 B
JSON
{
|
|
"type": "object",
|
|
"properties" : {
|
|
"properties" : {
|
|
"id": { "type": "integer" },
|
|
"iid": { "type": "integer" },
|
|
"project_id": { "type": "integer" },
|
|
"title": { "type": "string" },
|
|
"description": { "type": ["string", "null"] },
|
|
"state": { "type": "string" },
|
|
"created_at": { "type": "string", "format": "date-time" },
|
|
"updated_at": { "type": "string", "format": "date-time" },
|
|
"web_url": { "type": "uri" }
|
|
},
|
|
"required": [
|
|
"id", "iid", "project_id", "title", "description",
|
|
"state", "created_at", "updated_at", "web_url"
|
|
],
|
|
"head_pipeline": {
|
|
"oneOf": [
|
|
{ "type": "null" },
|
|
{ "$ref": "pipeline/detail.json" }
|
|
]
|
|
}
|
|
}
|
|
}
|