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

130 lines
2.6 KiB
JSON

{
"$ref": "#/definitions/posts",
"definitions": {
"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"
}
]
},
{
"type": "null"
}
]
},
"updatedDate": {
"anyOf": [
{
"type": "string"
},
{
"anyOf": [
{
"type": "string",
"format": "date-time"
},
{
"type": "string",
"format": "date"
},
{
"type": "integer",
"format": "unix-time"
}
]
},
{
"type": "null"
}
]
},
"heroImage": {
"anyOf": [
{
"anyOf": [
{
"not": {}
},
{
"type": "string"
}
]
},
{
"type": "null"
}
]
},
"category": {
"type": "string"
},
"tags": {
"type": "array",
"items": {
"type": "string"
}
},
"draft": {
"type": "boolean"
},
"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": true
}
},
"$schema": "http://json-schema.org/draft-07/schema#"
}