feat: define anonymous match search contract
This commit is contained in:
1 parent
e4f24fa202
commit
6ad4402ff4
66 files changed
+13047
-36
No files matched your search
+843
-16
@@ -1522,6 +1522,67 @@ paths:
|
||||
$ref: '#/components/responses/TooManyRequests'
|
||||
default:
|
||||
$ref: '#/components/responses/Problem'
|
||||
/api/v1/organizations/{org_id}/matches:
|
||||
post:
|
||||
operationId: SearchOrganizationMatches
|
||||
summary: Search the current organization-visible candidate bank.
|
||||
description: |-
|
||||
Requires the session cookie of an employer account with an active owner membership in `org_id`, the CSRF token of that session in X-CSRF-Token, and an allowed Origin. The organization comes from the path and the active server-side membership. Hidden profiles, revoked or missing C2 publication, and the organization's visibility restrictions are applied before any result is returned.
|
||||
|
||||
The body selects either a Need's `requirements_version` snapshot or the current organization-visible bank with explicit filters. A need reference uses `Need.requirements_version`, not the general `Need.version`; title or suggestion-only edits do not change the confirmed-requirements snapshot. An empty bank filter searches all otherwise eligible specializations, returning each specialization separately.
|
||||
|
||||
Every entry is one candidate specialization. A confirmed result in Backend never confirms Networks for the same candidate. The `main`, `near`, and `unconfirmed` arrays are separate groups. A confirmed category with required-skill coverage below 0.25 belongs to `near`; other confirmed entries belong to `main` (FR09). Entries in `unconfirmed` are ordered by Fit, then coverage, then a stable internal tie-breaker that is never returned. Their category and strength remain null, and they have no theta, T, P, or test percentile. The search result uses the organization-scoped opaque `candidate_handle` as its display pseudonym and invitation reference, never a candidate account or profile identifier.
|
||||
|
||||
The card context is limited to safe public fields: recognized stack tags, coarse experience, accepted work formats, and coarse salary compatibility. It contains no contact, candidate location, salary amount or minimum, raw answer, arbitrary profile text, or reason for withheld FSP data. Evidence explanations use bounded codes, not free text. When ML is unavailable, semantic similarity uses the neutral 0.5 specified by FR09 and `unknown_flags` names `ml_unavailable`. For fewer than 30 comparable real candidates, the search uses neutral T = 0.5, returns no percentile value, and names `cohort_below_30`.
|
||||
|
||||
A missing, unknown, expired, or revoked session answers 401 unauthenticated; a candidate account answers 403 forbidden; an unknown organization or account without active membership answers 404 not_found. The response is `Cache-Control: no-store`.
|
||||
security:
|
||||
- sessionCookie: []
|
||||
sessionCsrf: []
|
||||
tags:
|
||||
- organization
|
||||
parameters:
|
||||
- $ref: '#/components/parameters/OrganizationId'
|
||||
requestBody:
|
||||
required: true
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MatchSearchRequest'
|
||||
examples:
|
||||
by_need:
|
||||
$ref: '#/components/examples/SearchByNeed'
|
||||
by_bank_filters:
|
||||
$ref: '#/components/examples/SearchByBank'
|
||||
responses:
|
||||
'200':
|
||||
description: Organization-visible candidates in separate match groups.
|
||||
headers:
|
||||
Cache-Control:
|
||||
$ref: '#/components/headers/CacheControlNoStore'
|
||||
content:
|
||||
application/json:
|
||||
schema:
|
||||
$ref: '#/components/schemas/MatchSearchResponse'
|
||||
examples:
|
||||
three_groups:
|
||||
$ref: '#/components/examples/ThreeGroups'
|
||||
empty:
|
||||
$ref: '#/components/examples/Empty'
|
||||
ml_unavailable:
|
||||
$ref: '#/components/examples/MLUnavailable'
|
||||
cohort_below_30:
|
||||
$ref: '#/components/examples/CohortBelow30'
|
||||
'400':
|
||||
$ref: '#/components/responses/ValidationFailed'
|
||||
'401':
|
||||
$ref: '#/components/responses/Unauthenticated'
|
||||
'403':
|
||||
$ref: '#/components/responses/CsrfCheckFailedOrForbidden'
|
||||
'404':
|
||||
$ref: '#/components/responses/NotFound'
|
||||
default:
|
||||
$ref: '#/components/responses/Problem'
|
||||
/api/v1/organizations/{org_id}/candidate-cards/{candidate_handle}:
|
||||
get:
|
||||
operationId: GetOrganizationCandidateCard
|
||||
@@ -9744,6 +9805,537 @@ components:
|
||||
description: Short educational feedback about this training run.
|
||||
decided_at:
|
||||
$ref: '#/components/schemas/Timestamp'
|
||||
MatchGradeFilter:
|
||||
type: object
|
||||
description: A confirmed category filter, never a candidate declaration.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- specialization
|
||||
- grade
|
||||
properties:
|
||||
specialization:
|
||||
$ref: '#/components/schemas/SpecializationCode'
|
||||
grade:
|
||||
$ref: '#/components/schemas/GradeCode'
|
||||
MatchConfirmationStatus:
|
||||
type: string
|
||||
description: Confirmation state for this specialization only. A result for one specialization never changes the state of another specialization.
|
||||
enum:
|
||||
- confirmed
|
||||
- unconfirmed
|
||||
MatchSearchStackTag:
|
||||
type: string
|
||||
description: A stack code that the anonymous card may expose. Search filters do not accept arbitrary profile text or candidate-provided evidence.
|
||||
enum:
|
||||
- go
|
||||
- postgresql
|
||||
- kafka
|
||||
- docker
|
||||
CandidateSalaryCompatibility:
|
||||
type: string
|
||||
description: A coarse compatibility result only. No salary amount, minimum, range, or threshold is part of the anonymous card.
|
||||
enum:
|
||||
- compatible
|
||||
- not_compatible
|
||||
MatchSearchConditions:
|
||||
type: object
|
||||
description: Filters against safe, coarse card conditions. No candidate location, salary amount, salary minimum, or salary range is accepted.
|
||||
additionalProperties: false
|
||||
properties:
|
||||
work_formats:
|
||||
type: array
|
||||
minItems: 1
|
||||
maxItems: 3
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/WorkFormat'
|
||||
salary_compatibility:
|
||||
$ref: '#/components/schemas/CandidateSalaryCompatibility'
|
||||
MatchSearchFilters:
|
||||
type: object
|
||||
description: Optional filters over the current organization-visible bank. An empty object means no additional filter. Confirmed and declared grades are separate fields; a declaration never satisfies a confirmed-grade or category filter. Conditions use only the safe, coarse card fields.
|
||||
additionalProperties: false
|
||||
properties:
|
||||
specialization:
|
||||
$ref: '#/components/schemas/SpecializationCode'
|
||||
confirmed_grade:
|
||||
description: Match only candidates with this currently confirmed grade in the selected specialization. It never matches a declared grade.
|
||||
$ref: '#/components/schemas/GradeCode'
|
||||
confirmed_category:
|
||||
$ref: '#/components/schemas/MatchGradeFilter'
|
||||
confirmation_status:
|
||||
$ref: '#/components/schemas/MatchConfirmationStatus'
|
||||
declared_grade:
|
||||
description: Candidate-declared grade filter. This is a separate claim and cannot satisfy `confirmed_grade` or `confirmed_category`.
|
||||
$ref: '#/components/schemas/GradeCode'
|
||||
stack:
|
||||
type: array
|
||||
minItems: 1
|
||||
maxItems: 4
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchSearchStackTag'
|
||||
conditions:
|
||||
$ref: '#/components/schemas/MatchSearchConditions'
|
||||
MatchSearchByNeed:
|
||||
type: object
|
||||
description: Search one immutable set of confirmed requirements. `requirements_version` is the Need.requirements_version, not the general Need.version; text-only or suggestion-only edits do not change this search basis.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- need_id
|
||||
- requirements_version
|
||||
properties:
|
||||
need_id:
|
||||
type: string
|
||||
format: uuid
|
||||
description: Need owned by the organization in the path.
|
||||
requirements_version:
|
||||
$ref: '#/components/schemas/NeedVersion'
|
||||
filters:
|
||||
$ref: '#/components/schemas/MatchSearchFilters'
|
||||
MatchSearchByBank:
|
||||
type: object
|
||||
description: Search the current organization-visible bank. An empty `filters` object includes all otherwise eligible specializations as separate entries.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- filters
|
||||
properties:
|
||||
filters:
|
||||
$ref: '#/components/schemas/MatchSearchFilters'
|
||||
MatchSearchRequest:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchSearchByNeed'
|
||||
- $ref: '#/components/schemas/MatchSearchByBank'
|
||||
description: Search either a Need.requirements_version snapshot or the whole organization-visible bank with explicit filters. Unknown fields are rejected by both closed request variants.
|
||||
MatchSearchNeedSource:
|
||||
type: object
|
||||
description: The immutable need requirements snapshot used by this result.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- kind
|
||||
- need_id
|
||||
- requirements_version
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- need
|
||||
need_id:
|
||||
type: string
|
||||
format: uuid
|
||||
requirements_version:
|
||||
$ref: '#/components/schemas/NeedVersion'
|
||||
MatchAppliedConditions:
|
||||
type: object
|
||||
description: Conditions echoed as a complete snapshot; null means no filter.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- work_formats
|
||||
- salary_compatibility
|
||||
properties:
|
||||
work_formats:
|
||||
oneOf:
|
||||
- type: array
|
||||
minItems: 1
|
||||
maxItems: 3
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/WorkFormat'
|
||||
- type: 'null'
|
||||
salary_compatibility:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/CandidateSalaryCompatibility'
|
||||
- type: 'null'
|
||||
MatchAppliedFilters:
|
||||
type: object
|
||||
description: A normalized response snapshot of the bank filters. Each key is present; null means the corresponding request filter was omitted. This keeps a search result tied to its exact filter basis.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- specialization
|
||||
- confirmed_grade
|
||||
- confirmed_category
|
||||
- confirmation_status
|
||||
- declared_grade
|
||||
- stack
|
||||
- conditions
|
||||
properties:
|
||||
specialization:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/SpecializationCode'
|
||||
- type: 'null'
|
||||
confirmed_grade:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/GradeCode'
|
||||
- type: 'null'
|
||||
confirmed_category:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchGradeFilter'
|
||||
- type: 'null'
|
||||
confirmation_status:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchConfirmationStatus'
|
||||
- type: 'null'
|
||||
declared_grade:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/GradeCode'
|
||||
- type: 'null'
|
||||
stack:
|
||||
oneOf:
|
||||
- type: array
|
||||
minItems: 1
|
||||
maxItems: 4
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchSearchStackTag'
|
||||
- type: 'null'
|
||||
conditions:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchAppliedConditions'
|
||||
- type: 'null'
|
||||
MatchSearchBankSource:
|
||||
type: object
|
||||
description: The normalized filters used for a bank search.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- kind
|
||||
- filters
|
||||
properties:
|
||||
kind:
|
||||
type: string
|
||||
enum:
|
||||
- bank
|
||||
filters:
|
||||
$ref: '#/components/schemas/MatchAppliedFilters'
|
||||
MatchSearchSource:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchSearchNeedSource'
|
||||
- $ref: '#/components/schemas/MatchSearchBankSource'
|
||||
description: Search basis echoed with the response so the displayed result remains tied to its need requirements version or bank filters.
|
||||
MatchCategory:
|
||||
type: object
|
||||
description: A confirmed category. Its specialization must equal the enclosing match entry's specialization.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- specialization
|
||||
- grade
|
||||
properties:
|
||||
specialization:
|
||||
$ref: '#/components/schemas/SpecializationCode'
|
||||
grade:
|
||||
$ref: '#/components/schemas/GradeCode'
|
||||
MatchStrength:
|
||||
type: string
|
||||
description: Coarse strength of a confirmed assessment for this specialization.
|
||||
enum:
|
||||
- standard
|
||||
- strong
|
||||
MatchPublicStack:
|
||||
type: array
|
||||
maxItems: 4
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchSearchStackTag'
|
||||
CandidateExperienceBand:
|
||||
type: string
|
||||
description: Coarse total experience bucket. Rare combinations may be generalized to 0_3 or 3_plus before they are returned.
|
||||
enum:
|
||||
- '0_1'
|
||||
- '1_3'
|
||||
- '3_6'
|
||||
- 6_plus
|
||||
- '0_3'
|
||||
- 3_plus
|
||||
MatchPublicContext:
|
||||
type: object
|
||||
description: Safe anonymous-card context only. A null value means that the value is not in the public card or is not present; the response does not reveal which. It contains no contact, candidate location, or salary amount.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- stack
|
||||
- experience_band
|
||||
- work_formats
|
||||
- salary_compatibility
|
||||
properties:
|
||||
stack:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/MatchPublicStack'
|
||||
- type: 'null'
|
||||
experience_band:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/CandidateExperienceBand'
|
||||
- type: 'null'
|
||||
work_formats:
|
||||
oneOf:
|
||||
- type: array
|
||||
maxItems: 3
|
||||
uniqueItems: true
|
||||
items:
|
||||
$ref: '#/components/schemas/WorkFormat'
|
||||
- type: 'null'
|
||||
salary_compatibility:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/CandidateSalaryCompatibility'
|
||||
- type: 'null'
|
||||
MatchEvidenceCode:
|
||||
type: string
|
||||
description: Template code for an explanation derived from allowed evidence. It carries no free text, raw answer, or reason for withheld FSP data.
|
||||
enum:
|
||||
- confirmed_category
|
||||
- required_skill_evidence
|
||||
- desired_skill_evidence
|
||||
- domain_alignment
|
||||
- task_alignment
|
||||
- work_conditions_match
|
||||
- salary_compatibility
|
||||
- declared_grade
|
||||
MatchEvidenceState:
|
||||
type: string
|
||||
enum:
|
||||
- supports
|
||||
- partial
|
||||
- gap
|
||||
- declared_only
|
||||
MatchEvidenceSummaryItem:
|
||||
type: object
|
||||
description: A templated, non-text evidence explanation.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- code
|
||||
- state
|
||||
properties:
|
||||
code:
|
||||
$ref: '#/components/schemas/MatchEvidenceCode'
|
||||
state:
|
||||
$ref: '#/components/schemas/MatchEvidenceState'
|
||||
MatchEvidenceSummary:
|
||||
type: array
|
||||
maxItems: 12
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchEvidenceSummaryItem'
|
||||
MatchScore:
|
||||
type: number
|
||||
format: double
|
||||
minimum: 0
|
||||
maximum: 1
|
||||
description: A normalized FR09 ranking component from 0 to 1.
|
||||
MatchNullableScore:
|
||||
description: A score from a versioned ranking component, or null when it is not available. Any null component has a matching bounded entry in `unknown_flags`.
|
||||
oneOf:
|
||||
- type: number
|
||||
format: double
|
||||
minimum: 0
|
||||
maximum: 1
|
||||
- type: 'null'
|
||||
MatchConfirmedComponents:
|
||||
type: object
|
||||
description: Components from the FR09 ranking model for a confirmed category. `percentile` is null when fewer than 30 comparable real candidates are available; the ranking uses neutral T = 0.5 and does not publish a percentile. If ML is unavailable, `semantics` uses neutral 0.5 and the reason appears in `unknown_flags`.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- fit
|
||||
- coverage
|
||||
- domain
|
||||
- semantics
|
||||
- percentile
|
||||
- competition
|
||||
- freshness
|
||||
- responsiveness
|
||||
- rank_score
|
||||
properties:
|
||||
fit:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
coverage:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
domain:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
semantics:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
percentile:
|
||||
$ref: '#/components/schemas/MatchNullableScore'
|
||||
competition:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
freshness:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
responsiveness:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
rank_score:
|
||||
$ref: '#/components/schemas/MatchScore'
|
||||
MatchUnknownComponent:
|
||||
type: string
|
||||
description: Ranking or public-card component whose value is unknown.
|
||||
enum:
|
||||
- semantics
|
||||
- percentile
|
||||
- assessment
|
||||
- freshness
|
||||
- responsiveness
|
||||
- experience_band
|
||||
- work_formats
|
||||
- salary_compatibility
|
||||
- domain
|
||||
MatchUnknownReason:
|
||||
type: string
|
||||
description: Bounded explanation for an unknown component, not a hiding reason.
|
||||
enum:
|
||||
- ml_unavailable
|
||||
- cohort_below_30
|
||||
- no_confirmation_for_specialization
|
||||
- not_in_public_card
|
||||
- need_field_unconfirmed
|
||||
- no_freshness_history
|
||||
- no_response_history
|
||||
MatchUnknownFlag:
|
||||
type: object
|
||||
description: A safe, bounded explanation for one unavailable component.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- component
|
||||
- reason
|
||||
properties:
|
||||
component:
|
||||
$ref: '#/components/schemas/MatchUnknownComponent'
|
||||
reason:
|
||||
$ref: '#/components/schemas/MatchUnknownReason'
|
||||
MatchUnknownFlags:
|
||||
type: array
|
||||
maxItems: 9
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchUnknownFlag'
|
||||
MatchConfirmedCandidate:
|
||||
type: object
|
||||
description: One confirmed specialization entry in the `main` or `near` group. The group containing it supplies the group label. A candidate may have a separate entry for another specialization.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- candidate_handle
|
||||
- specialization
|
||||
- confirmation_status
|
||||
- declared_grade
|
||||
- category
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
candidate_handle:
|
||||
$ref: '#/components/schemas/CandidateHandle'
|
||||
specialization:
|
||||
$ref: '#/components/schemas/SpecializationCode'
|
||||
confirmation_status:
|
||||
type: string
|
||||
enum:
|
||||
- confirmed
|
||||
declared_grade:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/GradeCode'
|
||||
- type: 'null'
|
||||
description: Candidate-declared grade for this specialization, never a confirmation.
|
||||
category:
|
||||
$ref: '#/components/schemas/MatchCategory'
|
||||
strength:
|
||||
$ref: '#/components/schemas/MatchStrength'
|
||||
public_context:
|
||||
$ref: '#/components/schemas/MatchPublicContext'
|
||||
evidence_summary:
|
||||
$ref: '#/components/schemas/MatchEvidenceSummary'
|
||||
components:
|
||||
$ref: '#/components/schemas/MatchConfirmedComponents'
|
||||
unknown_flags:
|
||||
$ref: '#/components/schemas/MatchUnknownFlags'
|
||||
MatchUnconfirmedComponents:
|
||||
type: object
|
||||
description: Unconfirmed entries are ordered only by Fit and coverage. This strict component object has no theta, T, P, test percentile, or confirmed assessment score.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- fit
|
||||
- coverage
|
||||
properties:
|
||||
fit:
|
||||
type: number
|
||||
format: double
|
||||
minimum: 0
|
||||
maximum: 1
|
||||
description: Job fit for this specialization, never an assessment score.
|
||||
coverage:
|
||||
type: number
|
||||
format: double
|
||||
minimum: 0
|
||||
maximum: 1
|
||||
description: Coverage of confirmed need skills by allowed public evidence.
|
||||
MatchUnconfirmedCandidate:
|
||||
type: object
|
||||
description: One specialization with no confirmed category. `category` and `strength` remain present and null. A confirmation in another specialization never changes this entry. The schema intentionally has no assessment measurement fields.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- candidate_handle
|
||||
- specialization
|
||||
- confirmation_status
|
||||
- declared_grade
|
||||
- category
|
||||
- strength
|
||||
- public_context
|
||||
- evidence_summary
|
||||
- components
|
||||
- unknown_flags
|
||||
properties:
|
||||
candidate_handle:
|
||||
$ref: '#/components/schemas/CandidateHandle'
|
||||
specialization:
|
||||
$ref: '#/components/schemas/SpecializationCode'
|
||||
confirmation_status:
|
||||
type: string
|
||||
enum:
|
||||
- unconfirmed
|
||||
declared_grade:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/GradeCode'
|
||||
- type: 'null'
|
||||
description: Candidate-declared grade, separate from assessment confirmation.
|
||||
category:
|
||||
type: 'null'
|
||||
description: There is no confirmed category for this specialization.
|
||||
strength:
|
||||
type: 'null'
|
||||
description: Assessment strength is not measured for this specialization.
|
||||
public_context:
|
||||
$ref: '#/components/schemas/MatchPublicContext'
|
||||
evidence_summary:
|
||||
$ref: '#/components/schemas/MatchEvidenceSummary'
|
||||
components:
|
||||
$ref: '#/components/schemas/MatchUnconfirmedComponents'
|
||||
unknown_flags:
|
||||
$ref: '#/components/schemas/MatchUnknownFlags'
|
||||
MatchSearchGroups:
|
||||
type: object
|
||||
description: Separate ranking groups. Confirmed categories appear in main and near; unconfirmed specializations appear only in the lower unconfirmed group.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- main
|
||||
- near
|
||||
- unconfirmed
|
||||
properties:
|
||||
main:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchConfirmedCandidate'
|
||||
near:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchConfirmedCandidate'
|
||||
unconfirmed:
|
||||
type: array
|
||||
items:
|
||||
$ref: '#/components/schemas/MatchUnconfirmedCandidate'
|
||||
MatchSearchResponse:
|
||||
type: object
|
||||
description: Anonymous search result grouped by specialization state. Repeated organization-scoped handles are allowed when the same candidate has different specialization entries; entries never transfer confirmation between specializations.
|
||||
additionalProperties: false
|
||||
required:
|
||||
- source
|
||||
- groups
|
||||
properties:
|
||||
source:
|
||||
$ref: '#/components/schemas/MatchSearchSource'
|
||||
groups:
|
||||
$ref: '#/components/schemas/MatchSearchGroups'
|
||||
CardSelfAssessment:
|
||||
type: object
|
||||
description: Candidate-declared specialization and optional grade. This is never an assessment result.
|
||||
@@ -9763,28 +10355,12 @@ components:
|
||||
oneOf:
|
||||
- $ref: '#/components/schemas/GradeCode'
|
||||
- type: 'null'
|
||||
CandidateExperienceBand:
|
||||
type: string
|
||||
description: Coarse total experience bucket. Rare combinations may be generalized to 0_3 or 3_plus before they are returned.
|
||||
enum:
|
||||
- '0_1'
|
||||
- '1_3'
|
||||
- '3_6'
|
||||
- 6_plus
|
||||
- '0_3'
|
||||
- 3_plus
|
||||
CandidateWorkFormat:
|
||||
type: string
|
||||
enum:
|
||||
- remote
|
||||
- office
|
||||
- hybrid
|
||||
CandidateSalaryCompatibility:
|
||||
type: string
|
||||
description: A coarse compatibility result only. No salary amount, minimum, range, or threshold is part of the anonymous card.
|
||||
enum:
|
||||
- compatible
|
||||
- not_compatible
|
||||
parameters:
|
||||
IdempotencyKey:
|
||||
name: Idempotency-Key
|
||||
@@ -13091,6 +13667,257 @@ components:
|
||||
code: version_conflict
|
||||
detail: The resource changed after it was read. Read it again before retrying.
|
||||
trace_id: 0f1a2b3c-4d5e-4f6a-8b7c-8d9e0f1a2b3d
|
||||
SearchByNeed:
|
||||
summary: Search against one confirmed requirements snapshot.
|
||||
description: The reference is Need.requirements_version, not Need.version.
|
||||
value:
|
||||
need_id: 4d3a4a1b-4f60-44c1-9dc2-6c8e6c9d4c11
|
||||
requirements_version: 3
|
||||
filters:
|
||||
specialization: backend
|
||||
SearchByBank:
|
||||
summary: Search the organization-visible bank with separate confirmed and declared filters.
|
||||
value:
|
||||
filters:
|
||||
specialization: backend
|
||||
confirmed_grade: middle
|
||||
confirmed_category:
|
||||
specialization: backend
|
||||
grade: middle
|
||||
confirmation_status: confirmed
|
||||
declared_grade: junior
|
||||
stack:
|
||||
- go
|
||||
- postgresql
|
||||
conditions:
|
||||
work_formats:
|
||||
- remote
|
||||
salary_compatibility: compatible
|
||||
ThreeGroups:
|
||||
summary: Synthetic example of main, near, and unconfirmed entries.
|
||||
description: Illustrative contract values only; these are not measurements from real candidates. The same organization-scoped handle has independent Backend and Networks states.
|
||||
value:
|
||||
source:
|
||||
kind: bank
|
||||
filters:
|
||||
specialization: null
|
||||
confirmed_grade: null
|
||||
confirmed_category: null
|
||||
confirmation_status: null
|
||||
declared_grade: null
|
||||
stack: null
|
||||
conditions: null
|
||||
groups:
|
||||
main:
|
||||
- candidate_handle: cv1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
specialization: backend
|
||||
confirmation_status: confirmed
|
||||
declared_grade: middle
|
||||
category:
|
||||
specialization: backend
|
||||
grade: middle
|
||||
strength: standard
|
||||
public_context:
|
||||
stack:
|
||||
- go
|
||||
- postgresql
|
||||
experience_band: '3_6'
|
||||
work_formats:
|
||||
- remote
|
||||
salary_compatibility: compatible
|
||||
evidence_summary:
|
||||
- code: confirmed_category
|
||||
state: supports
|
||||
- code: required_skill_evidence
|
||||
state: supports
|
||||
- code: work_conditions_match
|
||||
state: supports
|
||||
components:
|
||||
fit: 0.78
|
||||
coverage: 0.72
|
||||
domain: 0.75
|
||||
semantics: 0.5
|
||||
percentile: 0.61
|
||||
competition: 0
|
||||
freshness: 0.5
|
||||
responsiveness: 0.5
|
||||
rank_score: 0.65
|
||||
unknown_flags: []
|
||||
near:
|
||||
- candidate_handle: cv1_BBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBBB
|
||||
specialization: frontend
|
||||
confirmation_status: confirmed
|
||||
declared_grade: junior
|
||||
category:
|
||||
specialization: frontend
|
||||
grade: junior
|
||||
strength: standard
|
||||
public_context:
|
||||
stack:
|
||||
- docker
|
||||
experience_band: null
|
||||
work_formats:
|
||||
- hybrid
|
||||
salary_compatibility: null
|
||||
evidence_summary:
|
||||
- code: confirmed_category
|
||||
state: supports
|
||||
- code: required_skill_evidence
|
||||
state: gap
|
||||
components:
|
||||
fit: 0.48
|
||||
coverage: 0.18
|
||||
domain: 0.5
|
||||
semantics: 0.5
|
||||
percentile: 0.42
|
||||
competition: 0
|
||||
freshness: 0.5
|
||||
responsiveness: 0.5
|
||||
rank_score: 0.43
|
||||
unknown_flags:
|
||||
- component: experience_band
|
||||
reason: not_in_public_card
|
||||
- component: salary_compatibility
|
||||
reason: not_in_public_card
|
||||
unconfirmed:
|
||||
- candidate_handle: cv1_AAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAA
|
||||
specialization: network_engineer
|
||||
confirmation_status: unconfirmed
|
||||
declared_grade: junior
|
||||
category: null
|
||||
strength: null
|
||||
public_context:
|
||||
stack: null
|
||||
experience_band: '1_3'
|
||||
work_formats:
|
||||
- remote
|
||||
salary_compatibility: compatible
|
||||
evidence_summary:
|
||||
- code: declared_grade
|
||||
state: declared_only
|
||||
- code: required_skill_evidence
|
||||
state: partial
|
||||
components:
|
||||
fit: 0.51
|
||||
coverage: 0.38
|
||||
unknown_flags:
|
||||
- component: assessment
|
||||
reason: no_confirmation_for_specialization
|
||||
Empty:
|
||||
summary: A valid search with no eligible visible candidates.
|
||||
value:
|
||||
source:
|
||||
kind: bank
|
||||
filters:
|
||||
specialization: null
|
||||
confirmed_grade: null
|
||||
confirmed_category: null
|
||||
confirmation_status: null
|
||||
declared_grade: null
|
||||
stack: null
|
||||
conditions: null
|
||||
groups:
|
||||
main: []
|
||||
near: []
|
||||
unconfirmed: []
|
||||
MLUnavailable:
|
||||
summary: Semantic similarity uses the documented neutral value while ML is unavailable.
|
||||
description: Synthetic example; 0.5 is the FR09 neutral value, not an inference.
|
||||
value:
|
||||
source:
|
||||
kind: bank
|
||||
filters:
|
||||
specialization: backend
|
||||
confirmed_grade: null
|
||||
confirmed_category: null
|
||||
confirmation_status: null
|
||||
declared_grade: null
|
||||
stack: null
|
||||
conditions: null
|
||||
groups:
|
||||
main:
|
||||
- candidate_handle: cv1_CCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCCC
|
||||
specialization: backend
|
||||
confirmation_status: confirmed
|
||||
declared_grade: null
|
||||
category:
|
||||
specialization: backend
|
||||
grade: middle
|
||||
strength: strong
|
||||
public_context:
|
||||
stack:
|
||||
- go
|
||||
experience_band: 3_plus
|
||||
work_formats:
|
||||
- remote
|
||||
salary_compatibility: compatible
|
||||
evidence_summary:
|
||||
- code: confirmed_category
|
||||
state: supports
|
||||
components:
|
||||
fit: 0.7
|
||||
coverage: 0.6
|
||||
domain: 0.5
|
||||
semantics: 0.5
|
||||
percentile: 0.6
|
||||
competition: 0
|
||||
freshness: 0.5
|
||||
responsiveness: 0.5
|
||||
rank_score: 0.61
|
||||
unknown_flags:
|
||||
- component: semantics
|
||||
reason: ml_unavailable
|
||||
near: []
|
||||
unconfirmed: []
|
||||
CohortBelow30:
|
||||
summary: A small comparison cohort has no published percentile.
|
||||
description: Synthetic example; the exact cohort size is not disclosed.
|
||||
value:
|
||||
source:
|
||||
kind: bank
|
||||
filters:
|
||||
specialization: backend
|
||||
confirmed_grade: null
|
||||
confirmed_category: null
|
||||
confirmation_status: null
|
||||
declared_grade: null
|
||||
stack: null
|
||||
conditions: null
|
||||
groups:
|
||||
main:
|
||||
- candidate_handle: cv1_DDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDDD
|
||||
specialization: backend
|
||||
confirmation_status: confirmed
|
||||
declared_grade: middle
|
||||
category:
|
||||
specialization: backend
|
||||
grade: middle
|
||||
strength: standard
|
||||
public_context:
|
||||
stack:
|
||||
- postgresql
|
||||
experience_band: '3_6'
|
||||
work_formats:
|
||||
- office
|
||||
salary_compatibility: null
|
||||
evidence_summary:
|
||||
- code: confirmed_category
|
||||
state: supports
|
||||
components:
|
||||
fit: 0.62
|
||||
coverage: 0.55
|
||||
domain: 0.5
|
||||
semantics: 0.7
|
||||
percentile: null
|
||||
competition: 0
|
||||
freshness: 0.5
|
||||
responsiveness: 0.5
|
||||
rank_score: 0.56
|
||||
unknown_flags:
|
||||
- component: percentile
|
||||
reason: cohort_below_30
|
||||
near: []
|
||||
unconfirmed: []
|
||||
OrganizationAnonymousCandidateCard:
|
||||
summary: An anonymous card currently visible to one organization
|
||||
description: The alias is scoped to the reading organization; no contact values are included.
|
||||
|
||||
Reference in new issue
Block a user