{ "$ref": "#/definitions/reading", "definitions": { "reading": { "type": "object", "properties": { "$schema": { "type": "string" } }, "additionalProperties": { "type": "object", "properties": { "year": { "type": "number" }, "entries": { "type": "array", "items": { "type": "object", "properties": { "title": { "type": "string" }, "author": { "type": "string" }, "type": { "type": "string", "enum": [ "book", "article" ], "default": "book" }, "status": { "type": "string", "enum": [ "done", "reading" ], "default": "done" }, "isbn": { "type": "string" }, "url": { "type": "string", "format": "uri" }, "note": { "type": "string" } }, "required": [ "title" ], "additionalProperties": false } } }, "required": [ "year", "entries" ], "additionalProperties": false } } }, "$schema": "http://json-schema.org/draft-07/schema#" }