{
"type": "object",
"properties": {
"serviceGroup": {
"title": "serviceGroup",
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name for service group (unique to the gateway)",
"examples": [
"default-services"
]
},
"cluster_id": {
"type": "string",
"description": "The cluster_id for the gateway which services are managed by this service group",
"examples": [
"cluster_1"
]
},
"description": {
"type": "string",
"description": "Description of the service group (optional, defaults to empty string)",
"default": "",
"examples": [
"Default service group for gateway"
]
},
"services": {
"type": "array",
"description": "Array of gateway service Ids to include in the service group (optional, defaults to empty array)",
"default": [],
"items": {
"type": "string",
"examples": [
"bec60e1b-532c-4293-8263-12f78211518d"
]
}
},
"groups": {
"type": "array",
"description": "Array of group names allowed to perform actions on the service group (optional, defaults to empty array)",
"default": [],
"items": {
"type": "string",
"examples": [
"admins"
]
}
}
},
"required": [
"name",
"cluster_id"
],
"additionalProperties": false
}
},
"required": [
"serviceGroup"
],
"additionalProperties": false
}