core/schema/repository.schema.json

44 lines
1.1 KiB
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://squeebot.lunasqu.ee/pkg/repository.schema.json",
"title": "repository",
"description": "Squeebot repository definition",
"type": "object",
"properties": {
"created": {
"type": "integer",
"description": "When was the repository last built"
},
"name": {
"type": "string",
"description": "Name of the repository"
},
"plugins": {
"type": "array",
"items": {
"type": "object",
"properties": {
"name": {
"type": "string",
"description": "Name of the plugin"
},
"version": {
"type": "string",
"description": "Plugin version"
},
"checksum": {
"type": "string",
"description": "Checksum of the plugin package"
}
},
"required": ["name", "version"]
}
},
"typescript": {
"type": "boolean",
"description": "Is TypeScript enabled?"
}
},
"required": ["name", "plugins"]
}