diff options
Diffstat (limited to '.astro/collections')
| -rw-r--r-- | .astro/collections/posts.schema.json | 32 |
1 files changed, 32 insertions, 0 deletions
diff --git a/.astro/collections/posts.schema.json b/.astro/collections/posts.schema.json new file mode 100644 index 0000000..edf6842 --- /dev/null +++ b/.astro/collections/posts.schema.json @@ -0,0 +1,32 @@ +{ + "$ref": "#/definitions/posts", + "definitions": { + "posts": { + "type": "object", + "properties": { + "title": { + "type": "string" + }, + "date": { + "type": "string" + }, + "tags": { + "type": "array", + "items": { + "type": "string" + } + }, + "$schema": { + "type": "string" + } + }, + "required": [ + "title", + "date", + "tags" + ], + "additionalProperties": false + } + }, + "$schema": "http://json-schema.org/draft-07/schema#" +}
\ No newline at end of file |
