WSO2 · Schema

PolicyAdherenceWithRulesets

Adherence status of a policy with ruleset details.

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string UUID of the policy.
name string Name of the policy.
status string Status of the policy's governance compliance.
rulesetValidationResults array List of ruleset validation information.
View JSON Schema on GitHub

JSON Schema

governance-api-policy-adherence-with-rulesets-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-policy-adherence-with-rulesets-schema.json",
  "title": "PolicyAdherenceWithRulesets",
  "description": "Adherence status of a policy with ruleset details.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the policy.",
      "example": "123e4567-e89b-12d3-a456-426614174000"
    },
    "name": {
      "type": "string",
      "description": "Name of the policy.",
      "example": "Policy1"
    },
    "status": {
      "type": "string",
      "description": "Status of the policy's governance compliance.",
      "enum": [
        "FOLLOWED",
        "VIOLATED",
        "UNAPPLIED",
        "PENDING"
      ],
      "example": "FOLLOWED"
    },
    "rulesetValidationResults": {
      "type": "array",
      "description": "List of ruleset validation information.",
      "items": {
        "$ref": "#/components/schemas/RulesetValidationResultWithoutRules"
      }
    }
  }
}