WSO2 · JSON Structure

Publisher Api Comment Request Structure

CommentRequest schema from WSO2 API Manager

Type: object Properties: 2 Required: 1
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Comment request body is a JSON Structure definition published by WSO2, describing 2 properties, of which 1 is required. It conforms to the https://json-structure.org/meta/core/v0/# meta-schema.

Properties

content category

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-comment-request-structure.json",
  "name": "Comment request body",
  "description": "CommentRequest schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "content": {
      "type": "string",
      "maxLength": 512,
      "description": "Content of the comment\n",
      "example": "This is a comment"
    },
    "category": {
      "type": "string",
      "description": "Category of the comment\n",
      "example": "general"
    }
  },
  "required": [
    "content"
  ]
}