feat(profile): add the manual candidate profile contract and storage

This commit is contained in:
shira committed 2026-10-06 21:10:04 +03:00
1 parent d21fd49a42
commit e52ffe7bcb
97 files changed
+20442 -63

No files matched your search

@@ -34,7 +34,9 @@ schemas:
description: >-
Working context of the candidate's search. It holds no personal data
such as an address or a city; location, relocation, and salary
expectations belong to the candidate profile.
expectations belong to the candidate profile (`ProfileTerms`). The
acceptable work formats live only here: the profile does not repeat
them.
additionalProperties: false
required:
- work_formats
@@ -52,7 +54,10 @@ schemas:
description: >-
Experience that the candidate states for one specialization, in whole
months. It is self-reported context: it never adds assessment points
and never confirms a grade.
and never confirms a grade. The work history entries of the candidate
profile (`ProfileExperienceItem`) are a different, detailed claim: the
two are saved separately and the server neither adds the entries up
nor fills them from these totals.
additionalProperties: false
required:
- commercial_months
@@ -82,7 +87,12 @@ schemas:
confirmed grade, and with it a category, comes only from an assessment
result and is never part of the questionnaire; unknown fields such as
`confirmed_grade` or `category` are rejected. Task languages and the
stack are attributes of the chosen specialization, not categories.
stack are attributes of the chosen specialization, not categories. The
candidate profile states the same kind of claim in the `roles` of
`CandidateProfile` (`ProfileRoleItem.self_assessed_grade`): the
questionnaire value starts the assessment and the profile value is what
the profile shows, the two are saved separately, and neither is ever a
confirmed grade.
additionalProperties: false
required:
- specialization