{ "$ref": "#/definitions/posts", "definitions": { "posts": { "type": "object", "properties": { "title": { "type": "string" }, "pubDate": { "anyOf": [ { "type": "string", "format": "date-time" }, { "type": "string", "format": "date" }, { "type": "integer", "format": "unix-time" } ] }, "description": { "type": "string" }, "author": { "type": "string" }, "image": { "type": "object", "properties": { "url": { "type": "string" }, "alt": { "type": "string" } }, "required": [ "url", "alt" ], "additionalProperties": false }, "tags": { "type": "array", "items": { "type": "string" } }, "$schema": { "type": "string" } }, "required": [ "title", "pubDate", "description", "author", "image", "tags" ], "additionalProperties": false } }, "$schema": "http://json-schema.org/draft-07/schema#" }