{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "KpiMgmt Kpi Schema",
"type": "object",
"minProperties": 1,
"additionalProperties": {
"$ref": "#/definitions/kpi"
},
"definitions": {
"kpi": {
"type": "object",
"properties": {
"node": {
"type": "array",
"minItems": 2,
"items": {
"type": "string"
}
},
"immediateAlarm": {
"type": "boolean"
},
"windowSize": {
"type": "integer"
},
"threshold": {
"type": "string"
},
"expr": {
"$ref": "model_expression_schema.json"
}
},
"additionalProperties": false,
"required": [
"node",
"windowSize",
"expr"
]
}
}
}
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "KpiMgmt Expression Schema",
"type": "string"
} |