Files
trixie-api/contracts/v1/plugin-manifest.json
T
ReaperOfVeriod ceef6b11b2
API checks / checks (push) Canceled after 0s
API dependency and security checks / audit (push) Canceled after 0s
Document plugin secret requirements
2026-10-25 06:14:02 +01:00

18 lines
967 B
JSON

{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://trixie.local/contracts/v1/plugin-manifest.json",
"title": "Trixie WebAssembly plugin manifest",
"type": "object",
"required": ["id", "name", "version", "api_version", "permissions", "entrypoint"],
"properties": {
"id": { "type": "string", "pattern": "^[a-z0-9.-]+$", "maxLength": 64 },
"name": { "type": "string", "minLength": 1, "maxLength": 128 },
"version": { "type": "string", "minLength": 1, "maxLength": 64 },
"api_version": { "type": "string", "maxLength": 32 },
"permissions": { "type": "array", "maxItems": 16, "items": { "enum": ["chat.read", "chat.send", "overlay.emit", "twitch.read", "twitch.manage"] } },
"required_secrets": { "type": "array", "maxItems": 16, "items": { "type": "string", "pattern": "^[A-Za-z0-9_]{1,100}$" } },
"entrypoint": { "type": "string", "minLength": 1, "maxLength": 64 }
},
"additionalProperties": false
}