Files
tibi-types/schemas/config/tool.schema.json
T
apairon 8ca80136f4
continuous-integration/drone/push Build is passing
Schema: outputType um bmp/tiff/gif ergaenzt
Server akzeptiert jetzt jpeg, png, webp, bmp, tiff, gif; GIF wird wieder
gelesen (erstes Frame).
2026-10-27 20:50:18 +00:00

81 lines
1.4 KiB
JSON

{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Custom Tool",
"description": "Project custom tool entry (meta.tools[]).",
"type": "object",
"additionalProperties": false,
"required": [
"name",
"module"
],
"properties": {
"name": {
"type": "string",
"pattern": "^[a-z0-9][a-z0-9-_]*$"
},
"label": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "defs.schema.json#/definitions/i18nText"
}
]
},
"description": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "defs.schema.json#/definitions/i18nText"
}
]
},
"icon": {
"type": "string"
},
"group": {
"type": "string"
},
"module": {
"oneOf": [
{
"type": "string"
},
{
"$ref": "defs.schema.json#/definitions/evalString"
}
]
},
"permissions": {
"type": "array",
"items": {
"type": "string"
}
},
"capabilities": {
"type": "array",
"items": {
"enum": [
"db",
"files",
"xlsx",
"ui",
"log",
"progress",
"state",
"action"
]
}
},
"settings": {
"type": "object"
},
"hidden": {
"type": "boolean"
}
}
}