WSO2 · Schema

Rating List

RatingList schema from WSO2 API Manager

API ManagementGatewaysOpen SourceAPI LifecycleGraphQLSOAPREST

Properties

Name Type Description
avgRating string Average Rating of the API
userRating integer Rating given by the user
count integer Number of Subscriber Ratings returned.
list array
pagination object
View JSON Schema on GitHub

JSON Schema

devportal-api-rating-list-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/devportal-api-rating-list-schema.json",
  "title": "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": "integer",
      "description": "Rating given by the user\n",
      "example": 4
    },
    "count": {
      "type": "integer",
      "description": "Number of Subscriber Ratings returned.\n",
      "example": 1
    },
    "list": {
      "type": "array",
      "items": {
        "$ref": "#/components/schemas/Rating"
      }
    },
    "pagination": {
      "$ref": "#/components/schemas/Pagination"
    }
  }
}