diff options
| author | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2026-08-09 19:32:06 -0400 |
|---|---|---|
| committer | Matthew Kosarek <matthew@matthewkosarek.xyz> | 2026-08-09 19:32:06 -0400 |
| commit | edd3b0972115ebddd068ed226158ace07c706401 (patch) | |
| tree | eca3a2ffc85283a99bbce1e7b0068ff5caa78f58 /.astro/collections | |
| parent | e51d273eff923a2c0c691d6f1d740bde74d05b56 (diff) | |
Diffstat (limited to '.astro/collections')
| -rw-r--r-- | .astro/collections/reading.schema.json | 71 |
1 files changed, 71 insertions, 0 deletions
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 |
