static/schemas/obms/servertech-obm-service.json
{
"title": "servertech-obm-service",
"definitions": {
"ObmBase": {
"description": "Servertech OBM settings",
"type": "object",
"additionalProperties": false,
"properties": {
"nodeId": {
"type": "string"
},
"service": {
"type": "string"
},
"config": {
"type": "object",
"properties": {
"host": {
"description": "Host address",
"type": "string"
},
"community": {
"description": "Community",
"type": "string"
},
"port": {
"description": "Port",
"type": "integer"
}
},
"required": ["host", "community", "port"]
}
}
},
"ObmPatch": {
"type": "object",
"allOf": [
{"$ref": "#/definitions/ObmBase"}
]
},
"Obm": {
"type": "object",
"allOf": [
{"$ref": "#/definitions/ObmBase"},
{"required": ["nodeId", "service", "config"]}
]
}
}
}