WSO2 · JSON Structure

Devportal Api Rating Structure

Rating schema from WSO2 API Manager

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

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

Properties

ratingId apiId ratedBy rating

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-structure.json",
  "name": "Rating",
  "description": "Rating schema from WSO2 API Manager",
  "required": [
    "rating"
  ],
  "type": "object",
  "properties": {
    "ratingId": {
      "type": "string",
      "readOnly": true,
      "example": "32acfa7a-77f8-4fe0-bb7f-a902f36546d0"
    },
    "apiId": {
      "type": "string",
      "readOnly": true,
      "example": "e93fb282-b456-48fc-8981-003fb89086ae"
    },
    "ratedBy": {
      "maxLength": 50,
      "type": "string",
      "readOnly": true,
      "example": "admin"
    },
    "rating": {
      "type": "int32",
      "example": 4
    }
  }
}