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" : {
|
2016-08-04 16:59:30 +00:00
|
|
|
"iid": { "type": "integer" },
|
2016-08-03 00:19:13 +00:00
|
|
|
"title": { "type": "string" },
|
|
|
|
"confidential": { "type": "boolean" },
|
|
|
|
"labels": {
|
|
|
|
"type": ["array"],
|
|
|
|
"required": [
|
|
|
|
"id",
|
|
|
|
"color",
|
|
|
|
"title"
|
|
|
|
],
|
|
|
|
"properties": {
|
|
|
|
"id": { "type": "integer" },
|
|
|
|
"color": {
|
|
|
|
"type": "string",
|
|
|
|
"pattern": "^#[0-9A-Fa-f]{3}{1,2}+$"
|
|
|
|
},
|
|
|
|
"title": { "type": "string" }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
},
|
|
|
|
"additionalProperties": false
|
|
|
|
}
|