WSO2 · JSON Structure

Devportal Api Rating List Structure

RatingList schema from WSO2 API Manager

Type: object Properties: 5
API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

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

Properties

avgRating userRating count list pagination

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/devportal-api-rating-list-structure.json",
  "name": "Rating List",
  "description": "RatingList schema from WSO2 API Manager",
  "type": "object",
  "properties": {
    "avgRating": {
      "type": "string",
      "description": "Average Rating of the API\n",
      "example": "4"
    },
    "userRating": {
      "type": "int32",
      "description": "Rating given by the user\n",
      "example": 4
    },
    "count": {
      "type": "int32",
      "description": "Number of Subscriber Ratings returned.\n",
      "example": 1
    },
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Rating"
      }
    },
    "pagination": {
      "$ref": "#/components/schemas/Pagination"
    }
  }
}