share Upsum API

Rating Schema

API Documentation | JSON-schema

JSON-schema: https://api.upsum.news/Rating

{ $schema: "http://json-schema.org/schema#", title: "Rating", type: "object", properties: { bestRating: { type: "number" }, worstRating: { type: "number" }, ratingValue: { type: "number" }, author: { oneOf: [ { $schema: "http://json-schema.org/schema#", title: "Organization", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, url: { type: "string", format: "uri" }, image: { type: "string", format: "uri" } }, additionalProperties: false }, { $schema: "http://json-schema.org/schema#", title: "Person", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, url: { type: "string", format: "uri" }, image: { type: "string", format: "uri" } }, additionalProperties: false } ] } }, additionalProperties: false }