first commit

This commit is contained in:
npc0-hue
2026-07-11 14:56:10 +08:00
commit 7e05d0a4e7
660 changed files with 78119 additions and 0 deletions
+26
View File
@@ -0,0 +1,26 @@
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://browser.local/schemas/plugin-create-form.schema.json",
"title": "PluginCreateFormSchema",
"type": "object",
"required": ["fields"],
"additionalProperties": false,
"properties": {
"fields": {
"type": "array",
"items": {
"type": "object",
"required": ["key", "label", "type"],
"additionalProperties": false,
"properties": {
"key": { "type": "string", "pattern": "^[a-zA-Z][a-zA-Z0-9_]*$" },
"label": { "type": "string", "minLength": 1, "maxLength": 60 },
"type": { "enum": ["text", "number", "boolean", "select", "path", "port"] },
"required": { "type": "boolean" },
"default": {},
"options": { "type": "array", "items": { "type": "string" } }
}
}
}
}
}