{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/0a9b2acc-7c69-3a2d-a85e-640d9a4fe06c","info":{"title":"Service Health Assurance Graph APIs","description":"APIs for requesting assurance-graph data stored in the Crosswork Service Health application.","termsOfService":"terms-of-service","contact":{"name":"Crosswork Team, Cisco","email":"support@cisco.com"},"license":{"name":"Cisco Software License Agreement","url":"http://www.cisco.com/public/sw-license-agreement.html"},"version":"7.1.0"},"security":[{"bearerAuth":[]}],"x-parser-conf":{"overview":{"markdownPath":"reference/ServiceHealth/sh_assurance_graph_overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/aa/agmgr/v1/"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Security token for authorizing requests for these APIs.","name":"Authorization","in":"header"}}},"spec":{"type":"object","description":"SubserviceOperState Rule Trigger Conditions.","properties":{"activate":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"type":"object","description":"Output Calculations","properties":{"expLabel":{"type":"string","description":"Exp Label of OutputCalculations"},"evalExpressionString":{"type":"string","description":"Eval Expression String of OutputCalculations"},"observedValue":{"type":"string","description":"Observed value of OutputCalculations"},"symptomMetrics":{"type":"array","description":"Symptom metrics of OutputCalculations","items":{"type":"object","description":"Output Calculations Symptom Metric","properties":{"metricInstance":{"type":"string","description":"MetricInstance of OutputCalculationsSymptomMetric"},"value":{"type":"string","description":"Value of OutputCalculationsSymptomMetric"},"displayLabel":{"type":"string","description":"Display label of OutputCalculationsSymptomMetric"}},"$$ref":"#/components/schemas/OutputCalculationsSymptomMetric"}},"subExps":{"type":"array","description":"SubExps of OutputCalculations","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"profileConstants":{"title":"map\u003ckey, value\u003e\n key: Constant name\n value: Value defined for this constant in the respective Config Profile\nExample:\n \"profileConstants\": {\n \"CPU_THRESHOLD_MAX\": \"80\"\n }","type":"object","description":"Profile Constants of OutputCalculations","additionalProperties":{"type":"string","description":"Additional Properties of Profile Constants"}}},"$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"deactivate":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"type":"object","description":"Output Calculations","properties":{"expLabel":{"type":"string","description":"Exp Label of OutputCalculations"},"evalExpressionString":{"type":"string","description":"Eval Expression String of OutputCalculations"},"observedValue":{"type":"string","description":"Observed value of OutputCalculations"},"symptomMetrics":{"type":"array","description":"Symptom metrics of OutputCalculations","items":{"type":"object","description":"Output Calculations Symptom Metric","properties":{"metricInstance":{"type":"string","description":"MetricInstance of OutputCalculationsSymptomMetric"},"value":{"type":"string","description":"Value of OutputCalculationsSymptomMetric"},"displayLabel":{"type":"string","description":"Display label of OutputCalculationsSymptomMetric"}},"$$ref":"#/components/schemas/OutputCalculationsSymptomMetric"}},"subExps":{"type":"array","description":"SubExps of OutputCalculations","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"profileConstants":{"title":"map\u003ckey, value\u003e\n key: Constant name\n value: Value defined for this constant in the respective Config Profile\nExample:\n \"profileConstants\": {\n \"CPU_THRESHOLD_MAX\": \"80\"\n }","type":"object","description":"Profile Constants of OutputCalculations","additionalProperties":{"type":"string","description":"Additional Properties of Profile Constants"}}},"$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"update":{"type":"object","description":"Output Conditionals","properties":{"level":{"type":"string","description":"Exptracker Health","default":"ERROR","enum":["ERROR","BROKEN","DEGRADED","HEALTHY","UNKNOWN"],"$$ref":"#/components/schemas/ExptrackerHealth"},"treeID":{"type":"string","description":"TreeID of OutputConditionals"},"value":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"},"labels":{"type":"object","description":"Labels of OutputConditionals","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"nodeID":{"type":"string","description":"Node id of OutputConditionals"},"treeType":{"type":"string","description":"Output Tree Type","default":"HEALTH","enum":["HEALTH","CONDITIONAL_ACTIVATE","CONDITIONAL_DEACTIVATE","CONDITIONAL_UPDATE","DYNAMIC"],"$$ref":"#/components/schemas/OutputTreeType"},"calculations":{"type":"object","description":"Output Calculations","properties":{"expLabel":{"type":"string","description":"Exp Label of OutputCalculations"},"evalExpressionString":{"type":"string","description":"Eval Expression String of OutputCalculations"},"observedValue":{"type":"string","description":"Observed value of OutputCalculations"},"symptomMetrics":{"type":"array","description":"Symptom metrics of OutputCalculations","items":{"type":"object","description":"Output Calculations Symptom Metric","properties":{"metricInstance":{"type":"string","description":"MetricInstance of OutputCalculationsSymptomMetric"},"value":{"type":"string","description":"Value of OutputCalculationsSymptomMetric"},"displayLabel":{"type":"string","description":"Display label of OutputCalculationsSymptomMetric"}},"$$ref":"#/components/schemas/OutputCalculationsSymptomMetric"}},"subExps":{"type":"array","description":"SubExps of OutputCalculations","items":{"$ref":"#/components/schemas/OutputCalculations","$$ref":"#/components/schemas/OutputCalculations"}},"profileConstants":{"title":"map\u003ckey, value\u003e\n key: Constant name\n value: Value defined for this constant in the respective Config Profile\nExample:\n \"profileConstants\": {\n \"CPU_THRESHOLD_MAX\": \"80\"\n }","type":"object","description":"Profile Constants of OutputCalculations","additionalProperties":{"type":"string","description":"Additional Properties of Profile Constants"}}},"$$ref":"#/components/schemas/OutputCalculations"},"send":{"type":"boolean","description":"Boolean value of OutputConditionals"}},"$$ref":"#/components/schemas/OutputConditionals"},"ruleTriggerParamMap":{"description":"Map to store the received conditionals parameters with their values.","type":"object","additionalProperties":{"type":"object","description":"Output Values","properties":{"str":{"type":"string","description":"string"},"fl":{"type":"number","description":"float","format":"float"},"d":{"type":"number","description":"double","format":"double"},"int":{"type":"string","description":"int64","format":"int64"},"u":{"type":"string","description":"uint64","format":"uint64"},"b":{"type":"boolean","description":"boolean"},"strList":{"type":"object","description":"Exptracker Output String List","properties":{"list":{"type":"array","description":"List of String","items":{"type":"string","description":"String"}}},"$$ref":"#/components/schemas/ExptrackerOutputStringList"},"flList":{"type":"object","description":"Exptracker Output Float List","properties":{"list":{"type":"array","description":"List of float","items":{"type":"number","description":"Float","format":"float"}}},"$$ref":"#/components/schemas/ExptrackerOutputFloatList"},"intList":{"type":"object","description":"Exptracker Output Int List","properties":{"list":{"type":"array","description":"List of int64","items":{"type":"string","description":"int64","format":"int64"}}},"$$ref":"#/components/schemas/ExptrackerOutputIntList"},"uintList":{"type":"object","description":"Exptracker Output Uint List","properties":{"list":{"type":"array","description":"List of Uint64","items":{"type":"string","description":"List of Uint64","format":"uint64"}}},"$$ref":"#/components/schemas/ExptrackerOutputUintList"},"bList":{"type":"object","description":"Exptracker Output Bool List","properties":{"list":{"type":"array","description":"list","items":{"type":"boolean","description":"Boolean"}}},"$$ref":"#/components/schemas/ExptrackerOutputBoolList"},"dList":{"type":"object","description":"Exptracker Output Double List","properties":{"list":{"type":"array","description":"list","items":{"type":"number","description":"Double","format":"double"}}},"$$ref":"#/components/schemas/ExptrackerOutputDoubleList"}},"$$ref":"#/components/schemas/OutputValues"}},"paramMapWithTimestamp":{"description":"Map with key as parameter name and value as timestamp.","type":"object","additionalProperties":{"type":"string","format":"int64"}}},"$$ref":"#/components/schemas/subserviceOperStateRuleTriggerConditions","title":"subserviceOperStateRuleTriggerConditions"}}