{"type":"model","meta":{"id":"/apps/pubhub/media/crosswork-network-controller-7-1/f445c17e25a1120e8fbde4bd413083d0fd88b2b3/42552ab7-d679-37b0-afe0-7313ad2e8c01","info":{"title":"Service Health Heuristic Packages APIs","description":"APIs for requesting rule and metric data stored by 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_heuristic_packages_overview.md"}},"openapi":"3.0.1","servers":[{"url":"/crosswork/aa/hpmgr"}],"securitySchemes":{"bearerAuth":{"type":"apiKey","description":"Security token for authorizing requests for these APIs.","name":"Authorization","in":"header"}}},"spec":{"type":"object","properties":{"configSource":{"type":"string","description":"Match Criterion config source type","default":"SOURCE_TYPE_UNSPECIFIED","enum":["SOURCE_TYPE_UNSPECIFIED","SOURCE_TYPE_NSO","SOURCE_TYPE_CNC","SOURCE_TYPE_DYNAMIC_PAYLOAD"],"$$ref":"#/components/schemas/MatchCriterionConfigSourceType"},"configSubSource":{"description":"ConfigSubSource - defines the list of config subSources.\nConfigSubSource for the dynamic rule is not allowed to be explicitly mentioned as it gets inherited from\nthe parent service Rule.","type":"array","items":{"type":"string","description":"Match Criterion config subsource","default":"SUBSOURCE_SERVICE_CONFIG","enum":["SUBSOURCE_SERVICE_CONFIG","SUBSOURCE_DEVICE_CONFIG","SUBSOURCE_SERVICE_PLAN"],"$$ref":"#/components/schemas/MatchCriterionConfigSubSource"}},"matchType":{"type":"string","description":"Match Criterion match type","default":"MATCH_TYPE_UNSPECIFIED","enum":["MATCH_TYPE_UNSPECIFIED","MATCH_TYPE_XPATH","MATCH_TYPE_PARAM"],"$$ref":"#/components/schemas/MatchCriterionMatchType"},"match_expression":{"type":"string","description":"Match Expression"},"match_prefix":{"description":"Use match_prefix to identify the root for generating the xmlBlob for the ruleParams in Dynamic SubserviceClass","type":"string"},"match_params":{"type":"array","description":"This is an optional field, verified against the dynamic SubserviceClass ruleparams.","items":{"type":"string","description":"Items of match_params"}},"service_element_config":{"type":"array","description":"Service element config","items":{"type":"object","description":"Match Criterion Service Element configuration","properties":{"service_element_id":{"description":"ID for the Service Element rule","type":"string"},"service_element_rule":{"description":"Service Element rule","type":"string"},"namespace":{"description":"Namespace to which this Service Element rule belongs","type":"string"}},"$$ref":"#/components/schemas/MatchCriterionServiceElementConfiguration"}}},"description":"The ruleClass services to match.","$$ref":"#/components/schemas/RuleClassMatchCriterion","title":"RuleClassMatchCriterion"}}