swagger/schemas/input/collection.json
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "Collection",
"type": "object",
"allOf": [{"$ref": "../definitions/collection.json#/definitions/collection-input"}],
"required": ["label"],
"example": {
"label":"control-group",
"description":"Control group collection"
}
}