{
  "$schema": "https://json-schema.org/draft/2020-12/schema",
  "$id": "https://raw.githubusercontent.com/api-evangelist/wso2/main/json-schema/wso2-throttle-policy-details-list-schema.json",
  "title": "Policy List",
  "x-generated": "2026-10-04",
  "x-method": "derived",
  "x-generator": "derive-json-schema.py",
  "x-source": "openapi/wso2-unified-search-api-openapi.yml#/components/schemas/ThrottlePolicyDetailsList",
  "type": "object",
  "properties": {
    "count": {
      "type": "integer",
      "description": "Number of Throttling Policies returned.\n"
    },
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/$defs/ThrottlePolicyDetails"
      }
    }
  },
  "$defs": {
    "ThrottlePolicyDetails": {
      "title": "Generic Policy",
      "required": [
        "policyName"
      ],
      "type": "object",
      "properties": {
        "policyId": {
          "type": "integer",
          "description": "Id of policy",
          "readOnly": true
        },
        "uuid": {
          "type": "string",
          "description": "UUId of policy",
          "readOnly": true
        },
        "policyName": {
          "maxLength": 60,
          "minLength": 1,
          "type": "string",
          "description": "Name of policy"
        },
        "displayName": {
          "type": "string",
          "description": "Display name of the policy",
          "maxLength": 512
        },
        "description": {
          "maxLength": 1024,
          "type": "string",
          "description": "Description of the policy"
        },
        "isDeployed": {
          "type": "boolean",
          "description": "Indicates whether the policy is deployed successfully or not.",
          "default": false
        },
        "type": {
          "type": "string",
          "description": "Indicates the type of throttle policy"
        }
      }
    }
  }
}