{
  "$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-status-schema.json",
  "title": "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"
    }
  }
}