WSO2 · JSON Structure

Admin Api Scope Structure

Scope schema from WSO2 API Manager

Type: object Properties: 4
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Scope Role is a JSON Structure definition published by WSO2, describing 4 properties. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

tag name description roles

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/admin-api-scope-structure.json",
  "name": "Scope Role",
  "description": "Scope schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "tag": {
      "type": "string",
      "description": "Portal name.\n",
      "example": "publisher"
    },
    "name": {
      "type": "string",
      "description": "Scope name.\n",
      "example": "apim:api_publish"
    },
    "description": {
      "type": "string",
      "description": "About scope.\n",
      "example": "Publish API"
    },
    "roles": {
      "type": "array",
      "description": "Roles for the particular scope.\n",
      "example": [
        "admin",
        "Internal/publisher"
      ],
      "items": {
        "type": "string"
      }
    }
  }
}