share Upsum API

Answer Schema

API Documentation | JSON-schema

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

{ $schema: "http://json-schema.org/schema#", title: "Answer", type: "object", properties: { name: { type: "string" }, text: { type: "string" }, url: { type: "string", format: "uri" }, image: { $schema: "http://json-schema.org/schema#", title: "ImageObject", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, url: { type: "string", format: "uri" }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, license: { type: "string", format: "uri" }, publisher: { 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 } ] }, caption: { type: "string" } }, additionalProperties: false }, video: { $schema: "http://json-schema.org/schema#", title: "VideoObject", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, url: { type: "string", format: "uri" }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, license: { type: "string", format: "uri" }, publisher: { 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 } ] }, caption: { type: "string" } }, additionalProperties: false }, audio: { $schema: "http://json-schema.org/schema#", title: "AudioObject", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, url: { type: "string", format: "uri" }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, license: { type: "string", format: "uri" }, publisher: { 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 } ] }, caption: { type: "string" } }, additionalProperties: false }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, datePublished: { type: "string", format: "date-time" }, citation: { type: "string" }, upvoteCount: { type: "integer" }, downvoteCount: { type: "integer" } }, additionalProperties: false }