WSO2 · Schema

RuleValidationResult

Result of the rule validation.

API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string UUID of the rule.
name string Name of the rule.
status string Status of the rule validation.
severity string Severity level of the rule violation.
violatedPath object Path in the artifact where the rule is violated.
message string Message to be displayed when the rule is violated.
description string Description of the rule.
View JSON Schema on GitHub

JSON Schema

governance-api-rule-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-rule-validation-result-schema.json",
  "title": "RuleValidationResult",
  "description": "Result of the rule validation.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the rule.",
      "example": "123e4567-e89b-12d3-a456-426614174000"
    },
    "name": {
      "type": "string",
      "description": "Name of the rule.",
      "example": "API Name Rule"
    },
    "status": {
      "type": "string",
      "description": "Status of the rule validation.",
      "enum": [
        "PASSED",
        "FAILED"
      ],
      "example": "FAILED"
    },
    "severity": {
      "type": "string",
      "description": "Severity level of the rule violation.",
      "enum": [
        "ERROR",
        "WARN",
        "INFO"
      ],
      "example": "WARN"
    },
    "violatedPath": {
      "type": "object",
      "description": "Path in the artifact where the rule is violated.",
      "properties": {
        "path": {
          "type": "string",
          "description": "Path in the artifact where the rule is violated.",
          "example": "info.title"
        },
        "description": {
          "type": "string",
          "description": "Description of the path.",
          "example": "API name"
        }
      }
    },
    "message": {
      "type": "string",
      "description": "Message to be displayed when the rule is violated.",
      "example": "API name can not be too long or short"
    },
    "description": {
      "type": "string",
      "description": "Description of the rule.",
      "example": "API name should be between 5 to 50 characters"
    }
  }
}

Work with this as data

Every JSON Schema here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for schemas

4 MCP tools reach this
  • find_json_schemasBrowse and filter every JSON Schema in the catalog.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools

Call it yourself

curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/governance-api-rule-validation-result"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no email required.

A second provider on the same verified email joins the account you already have.