WSO2 · Schema

API Scope info object with scope details

ScopeInfo schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
key string
name string
roles array Allowed roles for the scope
description string Description of the scope
View JSON Schema on GitHub

JSON Schema

admin-api-scope-info-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-scope-info-schema.json",
  "title": "API Scope info object with scope details",
  "description": "ScopeInfo schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "key": {
      "type": "string",
      "example": "admin_scope"
    },
    "name": {
      "type": "string",
      "example": "admin scope"
    },
    "roles": {
      "type": "array",
      "items": {
        "type": "string"
      },
      "description": "Allowed roles for the scope",
      "example": [
        "manager",
        "developer"
      ]
    },
    "description": {
      "type": "string",
      "description": "Description of the scope"
    }
  }
}