core/schema/repository.schema.json

40 lines
973 B
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"
}
},
"required": ["name", "version"]
2021-10-07 15:29:59 +00:00
}
},
"typescript": {
"type": "boolean",
"description": "Is TypeScript enabled?"
}
},
"required": ["name", "plugins"]
}