WSO2 · JSON Structure

Governance Api Rule Validation Result Structure

Result of the rule validation.

Type: object Properties: 7
API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST

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

Properties

id name status severity violatedPath message description

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-rule-validation-result-structure.json",
  "name": "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 Structure 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 json structure

4 MCP tools reach this
  • find_json_structuresBrowse and filter every JSON Structure 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 Structure
curl "https://apis.io/api/v1/json-structures/governance-api-rule-validation-result-structure"
All json structure
curl "https://apis.io/api/v1/json-structures?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.