WSO2 · JSON Structure

Governance Api Severity Based Rule Violation Count Structure

List of rules violated by the artifact under each severity.

Type: object Properties: 2
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

SeverityBasedRuleViolationCount is a JSON Structure definition published by WSO2, describing 2 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

severity violatedRulesCount

Meta-schema: https://json-structure.org/meta/core/v0/#

JSON Structure

Raw ↑
{
  "$schema": "https://json-structure.org/meta/core/v0/#",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-structure/governance-api-severity-based-rule-violation-count-structure.json",
  "name": "SeverityBasedRuleViolationCount",
  "description": "List of rules violated by the artifact under each severity.",
  "type": "object",
  "properties": {
    "severity": {
      "type": "string",
      "description": "Severity level of the rule violation.",
      "enum": [
        "ERROR",
        "WARN",
        "INFO"
      ],
      "example": "WARN"
    },
    "violatedRulesCount": {
      "type": "int32",
      "description": "Number of rules violated by the artifact under each severity.",
      "example": 1
    }
  }
}