WSO2 · JSON Structure

Publisher Api Operation Policy Structure

OperationPolicy schema from WSO2 API Manager

Type: object Properties: 5 Required: 1
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

API Operation Policy is a JSON Structure definition published by WSO2, describing 5 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

policyName policyVersion policyType policyId parameters

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/publisher-api-operation-policy-structure.json",
  "name": "API Operation Policy",
  "description": "OperationPolicy schema from WSO2 API Manager",
  "type": "object",
  "required": [
    "policyName"
  ],
  "properties": {
    "policyName": {
      "type": "string"
    },
    "policyVersion": {
      "type": "string",
      "default": "v1"
    },
    "policyType": {
      "type": "string"
    },
    "policyId": {
      "type": "string"
    },
    "parameters": {
      "type": "object",
      "additionalProperties": {
        "type": "object"
      }
    }
  }
}