WSO2 · Schema
APIMGovernancePolicy
Detailed information about a governance policy.
API ManagementGatewaysOpen-SourceAPI LifecycleGraphQLSOAPREST
Properties
| Name | Type | Description |
|---|---|---|
| id | string | UUID of the governance policy. |
| name | string | Name of the governance policy. |
| description | string | A brief description of the governance policy. |
| governableStates | array | List of states at which the governance policy should be enforced. |
| actions | array | List of actions taken when the governance policy is violated. An action is defined by the state and rule severity. If an action is not specified to each state and rule severity, the default action is |
| rulesets | array | List of rulesets associated with the governance policy. |
| labels | array | List of labels IDs associated with the governance policy. |
| createdBy | string | Identifier of the user who created the governance policy. |
| createdTime | string | Timestamp when the governance policy was created. |
| updatedBy | string | Identifier of the user who last updated the governance policy. |
| updatedTime | string | Timestamp when the governance policy was last updated. |
JSON Schema
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://raw.githubusercontent.com/api-evangelist/wso2/refs/heads/main/json-schema/governance-api-apim-governance-policy-schema.json",
"title": "APIMGovernancePolicy",
"description": "Detailed information about a governance policy.",
"type": "object",
"properties": {
"id": {
"type": "string",
"description": "UUID of the governance policy.",
"readOnly": true,
"example": "987e6543-d21b-34d5-b678-912345678900"
},
"name": {
"type": "string",
"description": "Name of the governance policy.",
"maxLength": 256,
"example": "API Security Policy"
},
"description": {
"type": "string",
"description": "A brief description of the governance policy.",
"maxLength": 1024,
"example": "Policy for enforcing security standards across all APIs."
},
"governableStates": {
"type": "array",
"description": "List of states at which the governance policy should be enforced.",
"items": {
"type": "string",
"description": "The state at which an governance policy should be enforced.",
"enum": [
"API_CREATE",
"API_UPDATE",
"API_DEPLOY",
"API_PUBLISH"
],
"example": "API_DEPLOY",
"x-enum-varnames": [
"API_CREATE",
"API_UPDATE",
"API_DEPLOY",
"API_PUBLISH"
]
}
},
"actions": {
"type": "array",
"description": "List of actions taken when the governance policy is violated. An action is defined by the state and rule severity. If an action is not specified to each state and rule severity, the default action is `NOTIFY`.",
"items": {
"$ref": "#/components/schemas/Action"
}
},
"rulesets": {
"type": "array",
"description": "List of rulesets associated with the governance policy.",
"items": {
"type": "string",
"example": "94566543-d21b-34d5-b678-912345678900"
}
},
"labels": {
"type": "array",
"description": "List of labels IDs associated with the governance policy.",
"items": {
"type": "string"
},
"example": [
"54d5833a-ca86-44bb-bcda-5b9fcdacd79d"
]
},
"createdBy": {
"type": "string",
"description": "Identifier of the user who created the governance policy.",
"readOnly": true,
"example": "admin@wso2.com"
},
"createdTime": {
"type": "string",
"description": "Timestamp when the governance policy was created.",
"readOnly": true,
"example": "2024-08-01T12:00:00Z"
},
"updatedBy": {
"type": "string",
"description": "Identifier of the user who last updated the governance policy.",
"readOnly": true,
"example": "admin@wso2.com"
},
"updatedTime": {
"type": "string",
"description": "Timestamp when the governance policy was last updated.",
"readOnly": true,
"example": "2024-08-02T12:00:00Z"
}
},
"required": [
"name",
"rulesets",
"labels",
"governableStates",
"actions"
]
}
Work with this as data
Every JSON Schema 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 schemas
4 MCP tools reach this
find_json_schemasBrowse and filter every JSON Schema 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.
Call it yourself
curl for this page
This JSON Schema
curl "https://apis.io/api/v1/json-schemas/governance-api-apim-governance-policy"
All schemas
curl "https://apis.io/api/v1/json-schemas?limit=25"
Discovery needs no key. Ratings and market analysis are Pro.
Get an API key
Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.
A second provider on the same verified email joins the account you already have.