WSO2 · JSON Structure

Publisher Api Topic Structure

Topic schema from WSO2 API Manager

Type: object Properties: 4 Required: 3
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Topic object is a JSON Structure definition published by WSO2, describing 4 properties, of which 3 are required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

id name mode description

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/publisher-api-topic-structure.json",
  "name": "Topic object",
  "description": "Topic schema from WSO2 API Manager",
  "required": [
    "name",
    "mode",
    "description"
  ],
  "type": "object",
  "properties": {
    "id": {
      "type": "string",
      "description": "id",
      "readOnly": true,
      "example": 1222344
    },
    "name": {
      "maxLength": 50,
      "minLength": 1,
      "pattern": "(^[^~!@#;:%^*()+={}|\\\\<>\"',&$\\s+\\[\\]\\/]*$)",
      "type": "string",
      "example": "PizzaShackAPI"
    },
    "mode": {
      "maxLength": 20,
      "type": "string",
      "example": "Pizza"
    },
    "description": {
      "maxLength": 32766,
      "type": "string",
      "example": "This is a simple API for Pizza Shack online pizza delivery store."
    }
  }
}