WSO2 · JSON Structure

Governance Api Policy Adherence Status Structure

Provides adherence status of a policy.

Type: object Properties: 4
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

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

Properties

id name status artifactComplianceSummary

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-policy-adherence-status-structure.json",
  "name": "PolicyAdherenceStatus",
  "description": "Provides adherence status of a policy.",
  "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"
      ],
      "example": "FOLLOWED"
    },
    "artifactComplianceSummary": {
      "$ref": "#/components/schemas/ArtifactComplianceSummaryForPolicy"
    }
  }
}