From edd3b0972115ebddd068ed226158ace07c706401 Mon Sep 17 00:00:00 2001 From: Matthew Kosarek Date: Sun, 9 Aug 2026 19:32:06 -0400 Subject: feature: add a reading page --- .astro/collections/reading.schema.json | 71 ++++++++++++++++++++++++++++++++++ 1 file changed, 71 insertions(+) create mode 100644 .astro/collections/reading.schema.json (limited to '.astro/collections') diff --git a/.astro/collections/reading.schema.json b/.astro/collections/reading.schema.json new file mode 100644 index 0000000..53b592e --- /dev/null +++ b/.astro/collections/reading.schema.json @@ -0,0 +1,71 @@ +{ + "$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#" +} \ No newline at end of file -- cgit v1.2.1