WSO2 · Schema

ArtifactComplianceStatus

Provides compliance status of an artifact.

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string UUID of the API.
status string Status of the API's governance compliance.
info object
policyAdherenceSummary object
severityBasedRuleViolationSummary array Summary of severity based rule violations.
View JSON Schema on GitHub

JSON Schema

governance-api-artifact-compliance-status-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-artifact-compliance-status-schema.json",
  "title": "ArtifactComplianceStatus",
  "description": "Provides compliance status of an artifact.",
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "UUID of the API.",
      "example": "123e4567-e89b-12d3-a456-426614174000"
    },
    "status": {
      "type": "string",
      "description": "Status of the API's governance compliance.",
      "enum": [
        "COMPLIANT",
        "NON-COMPLIANT",
        "NOT-APPLICABLE",
        "PENDING"
      ],
      "example": "COMPLIANT"
    },
    "info": {
      "$ref": "#/components/schemas/ArtifactInfo"
    },
    "policyAdherenceSummary": {
      "$ref": "#/components/schemas/PolicyAdherenceSummary"
    },
    "severityBasedRuleViolationSummary": {
      "type": "array",
      "description": "Summary of severity based rule violations.",
      "items": {
        "$ref": "#/components/schemas/SeverityBasedRuleViolationCount"
      }
    }
  }
}