share Upsum API

Place Schema

API Documentation | JSON-schema

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

{ $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 }