{"openapi":"3.1.0","info":{"title":"ETL 4DK","version":"1.0.0"},"paths":{"/upload/":{"post":{"tags":["Upload"],"summary":"Upload File","description":"ПАЙПЛАЙН ОБРАБОТКИ ФАЙЛА:\n1. Загрузка и нормализация колонок (SourceLoader)\n2. Валидация обязательных полей\n3. Фильтрация под ERD (SourceMapper)\n4. Нормализация данных (очистка ИНН, телефонов, названий)\n5. Поиск коллизий/дубликатов\n6. Оценка качества результата\n7. Возврат архива файлов в качестве результата","operationId":"upload_file_upload__post","parameters":[{"name":"download","in":"query","required":false,"schema":{"anyOf":[{"type":"boolean"},{"type":"null"}],"description":"True - Excel-файл, False - JSON","default":true,"title":"Download"},"description":"True - Excel-файл, False - JSON"}],"requestBody":{"required":true,"content":{"multipart/form-data":{"schema":{"$ref":"#/components/schemas/Body_upload_file_upload__post"}}}},"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/health":{"get":{"tags":["status"],"summary":"Health","operationId":"health_health_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/ready":{"get":{"tags":["status"],"summary":"Ready","operationId":"ready_ready_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/deployment":{"get":{"tags":["status"],"summary":"Deployment","operationId":"deployment_deployment_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"summary":"Root","operationId":"root__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}}},"components":{"schemas":{"Body_upload_file_upload__post":{"properties":{"file":{"type":"string","contentMediaType":"application/octet-stream","title":"File"}},"type":"object","required":["file"],"title":"Body_upload_file_upload__post"},"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}}}}