WSO2 · Schema

Operation Policy Data

OperationPolicyData schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
category string
id string
name string
version string
displayName string
description string
applicableFlows array
supportedGateways array
supportedApiTypes array Supported API types as an array of strings, or an array of maps [HTTP, SOAP] [{apiType: HTTP, subType: AI}, {apiType: SOAP}]
isAPISpecific boolean
md5 string
policyAttributes array
View JSON Schema on GitHub

JSON Schema

publisher-api-operation-policy-data-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/publisher-api-operation-policy-data-schema.json",
  "title": "Operation Policy Data",
  "description": "OperationPolicyData schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "category": {
      "type": "string",
      "example": "Mediation"
    },
    "id": {
      "type": "string",
      "example": "121223q41-24141-124124124-12414"
    },
    "name": {
      "type": "string",
      "example": "removeHeaderPolicy"
    },
    "version": {
      "type": "string",
      "example": "v1",
      "default": "v1"
    },
    "displayName": {
      "type": "string",
      "example": "Remove Header Policy"
    },
    "description": {
      "type": "string",
      "example": "With this policy, user can add a new header to the request"
    },
    "applicableFlows": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "in"
      }
    },
    "supportedGateways": {
      "type": "array",
      "items": {
        "type": "string",
        "example": "Synapse"
      }
    },
    "supportedApiTypes": {
      "type": "array",
      "items": {
        "type": "object",
        "properties": {}
      },
      "description": "Supported API types as an array of strings, or an array of maps\n[HTTP, SOAP] \n[{apiType: HTTP, subType: AI}, {apiType: SOAP}]\n",
      "example": [
        "HTTP",
        "SOAP"
      ]
    },
    "isAPISpecific": {
      "type": "boolean",
      "example": true
    },
    "md5": {
      "type": "string",
      "example": "121223q41-24141-124124124-12414"
    },
    "policyAttributes": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/OperationPolicySpecAttribute"
      }
    }
  }
}