share Upsum API

Question Schema

API Documentation | JSON-schema

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

{ $schema: "http://json-schema.org/schema#", title: "Question", type: "object", properties: { name: { type: "string" }, alternateName: { type: "array", items: { 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" }, acceptedAnswer: { $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 }, mainEntity: { $schema: "http://json-schema.org/schema#", title: "Thing", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, disambiguatingDescription: { type: "string" }, url: { type: "string", format: "uri" }, image: { type: "string", format: "uri" }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, sameAs: { type: "array", items: { type: "string", format: "uri" } } }, additionalProperties: false }, mentions: { type: "array", items: { $schema: "http://json-schema.org/schema#", title: "Thing", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, disambiguatingDescription: { type: "string" }, url: { type: "string", format: "uri" }, image: { type: "string", format: "uri" }, dateCreated: { type: "string", format: "date-time" }, dateModified: { type: "string", format: "date-time" }, sameAs: { type: "array", items: { type: "string", format: "uri" } } }, additionalProperties: false } }, keywords: { type: "string" }, temporalCoverage: { type: "string", format: "date-time" }, spatialCoverage: { $schema: "http://json-schema.org/schema#", title: "Place", type: "object", properties: { name: { type: "string" }, description: { type: "string" }, address: { type: "object", properties: { streetAddress: { type: "string" }, addressRegion: { type: "string" }, addressLocality: { type: "string" }, addressCountry: { type: "string" }, postalCode: { type: "string" } }, additionalProperties: false }, 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 }, geo: { type: "object", anyOf: [ { elevation: { type: "number" }, latitude: { type: "number" }, longitude: { type: "number" } }, { box: { type: "string" }, circle: { type: "string" }, line: { type: "string" }, polygon: { type: "string" } } ] } }, required: [ "name" ], definitions: { PostalAddress: { type: "object", properties: { streetAddress: { type: "string" }, addressRegion: { type: "string" }, addressLocality: { type: "string" }, addressCountry: { type: "string" }, postalCode: { type: "string" } }, additionalProperties: false } }, additionalProperties: false } }, additionalProperties: false }