Add Validation for API's
[multicloud/k8s.git] / src / orchestrator / api / json-schemas / cluster-label.json
1 {
2     "$schema": "http://json-schema.org/schema#",
3     "type": "object",
4     "properties": {
5       "label-name": {
6         "description": "Logical Cloud to use for this intent",
7         "type": "string",
8         "example": "cluster-label-1",
9         "maxLength": 128,
10         "pattern": "[-_0-9a-zA-Z]+$"
11       }
12     }
13   }