core/schema/repository.schema.json

44 lines
1.1 KiB
JSON
Raw Normal View History

2021-10-07 15:29:59 +00:00
{
"$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"
2022-12-01 12:45:34 +00:00
},
"checksum": {
"type": "string",
"description": "Checksum of the plugin package"
2021-10-07 15:29:59 +00:00
}
},
"required": ["name", "version"]
2021-10-07 15:29:59 +00:00
}
},
"typescript": {
"type": "boolean",
"description": "Is TypeScript enabled?"
}
},
"required": ["name", "plugins"]
}