argobox/.astro/collections/external-posts.schema.json

113 lines
2.4 KiB
JSON

{
"$ref": "#/definitions/external-posts",
"definitions": {
"external-posts": {
"type": "object",
"properties": {
"title": {
"type": "string"
},
"description": {
"type": "string"
},
"pubDate": {
"anyOf": [
{
"type": "string"
},
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date"
},
{
"type": "integer",
"format": "unix-time"
}
]
}
]
},
"updatedDate": {
"anyOf": [
{
"type": "string"
},
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date"
},
{
"type": "integer",
"format": "unix-time"
}
]
}
]
},
"heroImage": {
"type": "string"
},
"category": {
"type": "string",
"default": "Uncategorized"
},
"tags": {
"type": "array",
"items": {
"type": "string"
},
"default": []
},
"draft": {
"type": "boolean",
"default": false
},
"readTime": {
"type": "string"
},
"image": {
"type": "string"
},
"excerpt": {
"type": "string"
},
"author": {
"type": "string"
},
"github": {
"type": "string"
},
"live": {
"type": "string"
},
"technologies": {
"type": "array",
"items": {
"type": "string"
}
},
"$schema": {
"type": "string"
}
},
"required": [
"title",
"pubDate"
],
"additionalProperties": false
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}