WSO2 · Schema

Blocking Conditions

Blocking Conditions

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
conditionId string Id of the blocking condition
conditionType string Type of the blocking condition
conditionValue object Value of the blocking condition
conditionStatus boolean Status of the blocking condition
View JSON Schema on GitHub

JSON Schema

admin-api-blocking-condition-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/admin-api-blocking-condition-schema.json",
  "title": "Blocking Conditions",
  "description": "Blocking Conditions",
  "required": [
    "conditionType",
    "conditionValue"
  ],
  "type": "object",
  "properties": {
    "conditionId": {
      "type": "string",
      "description": "Id of the blocking condition",
      "example": "b513eb68-69e8-4c32-92cf-852c101363cf"
    },
    "conditionType": {
      "type": "string",
      "description": "Type of the blocking condition",
      "example": "IP",
      "enum": [
        "API",
        "APPLICATION",
        "IP",
        "IPRANGE",
        "USER"
      ]
    },
    "conditionValue": {
      "type": "object",
      "properties": {},
      "description": "Value of the blocking condition",
      "example": {
        "fixedIp": "192.168.1.1",
        "invert": false
      }
    },
    "conditionStatus": {
      "type": "boolean",
      "description": "Status of the blocking condition",
      "example": true
    }
  }
}