/
githubmirror
/
PromethAI-Backend
Обзор
Документация
Войти
/
githubmirror
/
PromethAI-Backend
Код
Запросы
0
Пакеты
0
Релизы
0
Аналитика
Безопасность
main
validations/schema/decompose_categories.json
36 строк
918 B
Vasilije
Updated the error handling, added default templates and providing values in any case, leading to overall stability improvement
06 авг 2023, 11:23
06 авг 2023, 11:23
a19d319
Код
Авторство
О чём код?
{ "$schema": "http://json-schema.org/draft-07/schema#", "type": "object", "properties": { "response": { "type": "object", "properties": { "results": { "type": "array", "items": { "$ref": "#/definitions/option" } } }, "required": ["results"] } }, "required": ["response"], "definitions": { "option": { "type": "object", "properties": { "category": { "type": "string" }, "options": { "type": "array", "items": { "$ref": "#/definitions/option" } } }, "required": ["category"] } } }