diff --git a/app/MindWork AI Studio/Assistants/Meta/AssistantBuilderLuaResponse.schema.json b/app/MindWork AI Studio/Assistants/Meta/AssistantBuilderLuaResponse.schema.json new file mode 100644 index 00000000..955d9e63 --- /dev/null +++ b/app/MindWork AI Studio/Assistants/Meta/AssistantBuilderLuaResponse.schema.json @@ -0,0 +1,84 @@ +{ + "$schema": "https://json-schema.org/draft/2020-12/schema", + "$id": "https://mindwork.ai/ai-studio/assistant-builder-lua-response.schema.json", + "title": "Assistant Builder Lua Response", + "type": "object", + "additionalProperties": false, + "required": [ + "schema_version", + "plugin", + "assistant", + "full_lua" + ], + "properties": { + "schema_version": { + "type": "string", + "enum": [ + "assistant_builder_lua_response_v1" + ] + }, + "plugin": { + "type": "object", + "additionalProperties": false, + "required": [ + "name", + "description", + "categories" + ], + "properties": { + "name": { + "type": "string", + "minLength": 1 + }, + "description": { + "type": "string", + "minLength": 1 + }, + "categories": { + "type": "array", + "minItems": 1, + "items": { + "type": "string", + "minLength": 1 + } + } + } + }, + "assistant": { + "type": "object", + "additionalProperties": false, + "required": [ + "title", + "description", + "system_prompt", + "submit_text", + "allow_ai_studio_profiles" + ], + "properties": { + "title": { + "type": "string", + "minLength": 1 + }, + "description": { + "type": "string", + "minLength": 1 + }, + "system_prompt": { + "type": "string", + "minLength": 1 + }, + "submit_text": { + "type": "string", + "minLength": 1 + }, + "allow_ai_studio_profiles": { + "type": "boolean" + } + } + }, + "full_lua": { + "type": "string", + "minLength": 1 + } + } +}