WSO2 · Schema

Topic object

Topic schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
id string id
name string
mode string
description string
View JSON Schema on GitHub

JSON Schema

publisher-api-topic-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/publisher-api-topic-schema.json",
  "title": "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."
    }
  }
}