WSO2 · Schema

RulesetValidationResult

Result of the ruleset validation.

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string UUID of the ruleset.
name string Name of the ruleset.
status string Status of the ruleset validation.
violatedRules array List of violated rules.
followedRules array List of followed rules.
View JSON Schema on GitHub

JSON Schema

governance-api-ruleset-validation-result-schema.json Raw ↑
{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/governance-api-ruleset-validation-result-schema.json",
  "title": "RulesetValidationResult",
  "description": "Result of the ruleset validation.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the ruleset.",
      "example": "123e4567-e89b-12d3-a456-426614174000"
    },
    "name": {
      "type": "string",
      "description": "Name of the ruleset.",
      "example": "API Security Ruleset"
    },
    "status": {
      "type": "string",
      "description": "Status of the ruleset validation.",
      "enum": [
        "PASSED",
        "FAILED",
        "UNAPPLIED"
      ],
      "example": "PASSED"
    },
    "violatedRules": {
      "type": "array",
      "description": "List of violated rules.",
      "items": {
        "$ref": "#/components/schemas/RuleValidationResult"
      }
    },
    "followedRules": {
      "type": "array",
      "description": "List of followed rules.",
      "items": {
        "$ref": "#/components/schemas/RuleValidationResult"
      }
    }
  }
}