{ "$ref": "#/definitions/dignity", "definitions": { "dignity": { "type": "object", "properties": { "title": { "type": "string" }, "excerpt": { "type": "string" }, "authorName": { "type": "string" }, "authorAge": { "type": "number" }, "tags": { "type": "array", "items": { "type": "string" }, "default": [] }, "location": { "type": "string" }, "dateOfEvent": { "type": "string" }, "upvotes": { "type": "number", "default": 0 }, "isPromoted": { "type": "boolean", "default": false }, "originalStoryId": { "type": "string" }, "publishedAt": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "string", "format": "date" }, { "type": "integer", "format": "unix-time" } ] }, "commentCount": { "type": "number", "default": 0 }, "$schema": { "type": "string" } }, "required": [ "title", "authorName", "publishedAt" ], "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" }