feat(api): add specialization catalog and candidate questionnaire contract
This commit is contained in:
1 parent
c338c0c188
commit
faeeb5f157
64 files changed
+8339
-47
No files matched your search
@@ -235,3 +235,193 @@ CandidateSession:
|
||||
onboarding_step: candidate_questionnaire
|
||||
created_at: "2026-10-05T09:30:00Z"
|
||||
csrf_token: Xk4pR9tV2mQ7wL1sN8bC5dF0gH3jZ6yA9eU2iO7rT4c
|
||||
SpecializationCatalog:
|
||||
summary: Illustrative MVP catalog with the Backend and Network Engineer banks published
|
||||
description: >-
|
||||
Illustrative values. The directions, specializations, and grades follow
|
||||
the MVP scale; `test_availability` comes from the published task banks,
|
||||
so the grades and languages shown here are not a statement about any
|
||||
deployed bank.
|
||||
value:
|
||||
directions:
|
||||
- code: development
|
||||
title: Разработка
|
||||
specializations:
|
||||
- code: backend
|
||||
title: Backend
|
||||
test_availability:
|
||||
status: available
|
||||
grades: [intern, junior, middle, senior]
|
||||
task_languages: [python, go]
|
||||
note: null
|
||||
- code: frontend
|
||||
title: Frontend
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: mobile
|
||||
title: Mobile
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: infrastructure
|
||||
title: Инфраструктура
|
||||
specializations:
|
||||
- code: network_engineer
|
||||
title: Сетевой инженер
|
||||
test_availability:
|
||||
status: available
|
||||
grades: [junior, middle]
|
||||
task_languages: []
|
||||
note: null
|
||||
- code: devops_sre
|
||||
title: DevOps/SRE
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: data
|
||||
title: Данные
|
||||
specializations:
|
||||
- code: data_analyst
|
||||
title: Аналитик данных
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: ds_ml
|
||||
title: DS/ML
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: security
|
||||
title: Безопасность
|
||||
specializations:
|
||||
- code: information_security
|
||||
title: Информационная безопасность
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
- code: quality
|
||||
title: Качество
|
||||
specializations:
|
||||
- code: qa
|
||||
title: QA
|
||||
test_availability:
|
||||
status: in_development
|
||||
grades: []
|
||||
task_languages: []
|
||||
note: Тест в разработке.
|
||||
grades:
|
||||
- code: intern
|
||||
title: Стажер
|
||||
- code: junior
|
||||
title: Junior
|
||||
- code: middle
|
||||
title: Middle
|
||||
- code: senior
|
||||
title: Senior
|
||||
NewCandidateQuestionnaire:
|
||||
summary: A candidate who has not saved the questionnaire yet
|
||||
value:
|
||||
version: 0
|
||||
specializations: []
|
||||
work_context: null
|
||||
updated_at: null
|
||||
BackendGoAndNetworkEngineerQuestionnaire:
|
||||
summary: Backend with Go and Network Engineer, two independent specializations
|
||||
description: >-
|
||||
Go is a task language of the `backend` specialization and PostgreSQL and
|
||||
gRPC are stack tags; none of them is a category. The candidate has two
|
||||
specializations, `backend` and `network_engineer`, each assessed
|
||||
independently. The self-assessed grades are claims; no confirmed grade
|
||||
appears.
|
||||
value:
|
||||
version: 3
|
||||
specializations:
|
||||
- specialization: backend
|
||||
self_assessed_grade: middle
|
||||
task_languages: [go]
|
||||
stack: [PostgreSQL, gRPC, Kafka]
|
||||
experience:
|
||||
commercial_months: 30
|
||||
academic_months: 12
|
||||
- specialization: network_engineer
|
||||
self_assessed_grade: junior
|
||||
task_languages: []
|
||||
stack: [Cisco IOS, BGP]
|
||||
experience: null
|
||||
work_context:
|
||||
work_formats: [remote, hybrid]
|
||||
updated_at: "2026-10-05T09:30:00Z"
|
||||
BackendGoAndNetworkEngineerQuestionnaireUpdate:
|
||||
summary: Save Backend with Go and Network Engineer over version 2
|
||||
value:
|
||||
expected_version: 2
|
||||
specializations:
|
||||
- specialization: backend
|
||||
self_assessed_grade: middle
|
||||
task_languages: [go]
|
||||
stack: [PostgreSQL, gRPC, Kafka]
|
||||
experience:
|
||||
commercial_months: 30
|
||||
academic_months: 12
|
||||
- specialization: network_engineer
|
||||
self_assessed_grade: junior
|
||||
task_languages: []
|
||||
stack: [Cisco IOS, BGP]
|
||||
experience: null
|
||||
work_context:
|
||||
work_formats: [remote, hybrid]
|
||||
QuestionnaireTooManySpecializations:
|
||||
summary: Three specializations were sent; at most two are allowed
|
||||
value:
|
||||
type: urn:lincodex:problem:validation_failed
|
||||
title: Request validation failed
|
||||
status: 400
|
||||
code: validation_failed
|
||||
detail: One or more request fields are invalid.
|
||||
trace_id: 6c7d8e9f-0a1b-4c2d-8e3f-4a5b6c7d8e9f
|
||||
errors:
|
||||
- in: body
|
||||
pointer: /specializations
|
||||
code: invalid
|
||||
message: The value does not match the contract.
|
||||
QuestionnaireUnknownGrade:
|
||||
summary: A self-assessed grade outside the grade scale, such as lead
|
||||
value:
|
||||
type: urn:lincodex:problem:validation_failed
|
||||
title: Request validation failed
|
||||
status: 400
|
||||
code: validation_failed
|
||||
detail: One or more request fields are invalid.
|
||||
trace_id: 7d8e9f0a-1b2c-4d3e-9f4a-5b6c7d8e9f0a
|
||||
errors:
|
||||
- in: body
|
||||
pointer: /specializations/0/self_assessed_grade
|
||||
code: invalid
|
||||
message: The value does not match the contract.
|
||||
QuestionnaireRepeatedSpecialization:
|
||||
summary: The same specialization was chosen twice
|
||||
value:
|
||||
type: urn:lincodex:problem:validation_failed
|
||||
title: Request validation failed
|
||||
status: 400
|
||||
code: validation_failed
|
||||
detail: One or more request fields are invalid.
|
||||
trace_id: 8e9f0a1b-2c3d-4e4f-8a5b-6c7d8e9f0a1b
|
||||
errors:
|
||||
- in: body
|
||||
pointer: /specializations/1/specialization
|
||||
code: invalid
|
||||
message: The value does not match the contract.
|
||||
Reference in new issue
Block a user