AI-Studio/app/MindWork AI Studio/Assistants/Builder/AssistantBuilderLuaResponse.schema.json

85 lines
1.8 KiB
JSON
Raw Normal View History

{
"$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
}
}
}