schemas: 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 MatchGradeFilter: type: object description: A confirmed category filter, never a candidate declaration. additionalProperties: false required: - specialization - grade properties: specialization: $ref: "./catalog_schemas.yml#/schemas/SpecializationCode" grade: $ref: "./catalog_schemas.yml#/schemas/GradeCode" 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 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: "./questionnaire_schemas.yml#/schemas/WorkFormat" salary_compatibility: $ref: "./privacy_schemas.yml#/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: "./catalog_schemas.yml#/schemas/SpecializationCode" confirmed_grade: description: >- Match only candidates with this currently confirmed grade in the selected specialization. It never matches a declared grade. $ref: "./catalog_schemas.yml#/schemas/GradeCode" confirmed_category: $ref: "#/schemas/MatchGradeFilter" confirmation_status: $ref: "#/schemas/MatchConfirmationStatus" declared_grade: description: >- Candidate-declared grade filter. This is a separate claim and cannot satisfy `confirmed_grade` or `confirmed_category`. $ref: "./catalog_schemas.yml#/schemas/GradeCode" stack: type: array minItems: 1 maxItems: 4 uniqueItems: true items: $ref: "#/schemas/MatchSearchStackTag" conditions: $ref: "#/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: "./need_schemas.yml#/schemas/NeedVersion" filters: $ref: "#/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: "#/schemas/MatchSearchFilters" MatchSearchRequest: oneOf: - $ref: "#/schemas/MatchSearchByNeed" - $ref: "#/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: "./need_schemas.yml#/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: "./questionnaire_schemas.yml#/schemas/WorkFormat" - type: "null" salary_compatibility: oneOf: - $ref: "./privacy_schemas.yml#/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: "./catalog_schemas.yml#/schemas/SpecializationCode" - type: "null" confirmed_grade: oneOf: - $ref: "./catalog_schemas.yml#/schemas/GradeCode" - type: "null" confirmed_category: oneOf: - $ref: "#/schemas/MatchGradeFilter" - type: "null" confirmation_status: oneOf: - $ref: "#/schemas/MatchConfirmationStatus" - type: "null" declared_grade: oneOf: - $ref: "./catalog_schemas.yml#/schemas/GradeCode" - type: "null" stack: oneOf: - type: array minItems: 1 maxItems: 4 uniqueItems: true items: $ref: "#/schemas/MatchSearchStackTag" - type: "null" conditions: oneOf: - $ref: "#/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: "#/schemas/MatchAppliedFilters" MatchSearchSource: oneOf: - $ref: "#/schemas/MatchSearchNeedSource" - $ref: "#/schemas/MatchSearchBankSource" description: >- Search basis echoed with the response so the displayed result remains tied to its need requirements version or bank filters. MatchStrength: type: string description: Coarse strength of a confirmed assessment for this specialization. enum: - standard - strong MatchCategory: type: object description: >- A confirmed category. Its specialization must equal the enclosing match entry's specialization. `basis` says what the grade rests on; `synthetic_demo` marks a demonstration category, which an organization must read as one and never as a standard confirmation. additionalProperties: false required: - specialization - grade - basis properties: specialization: $ref: "./catalog_schemas.yml#/schemas/SpecializationCode" grade: $ref: "./catalog_schemas.yml#/schemas/GradeCode" basis: $ref: "./evidence_schemas.yml#/schemas/EvidenceBasis" 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" 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. `cohort_below_30` is reported only while the comparable real cohort of the category is smaller than the versioned minimum; once the cohort reaches the minimum but the percentile is still not computed, the reason is `percentile_not_computed`. In both cases T is the neutral 0.5. enum: - ml_unavailable - cohort_below_30 - no_confirmation_for_specialization - not_in_public_card - need_field_unconfirmed - no_freshness_history - no_response_history - percentile_not_computed MatchUnknownFlag: type: object description: A safe, bounded explanation for one unavailable component. additionalProperties: false required: - component - reason properties: component: $ref: "#/schemas/MatchUnknownComponent" reason: $ref: "#/schemas/MatchUnknownReason" MatchUnknownFlags: type: array maxItems: 9 items: $ref: "#/schemas/MatchUnknownFlag" 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: "#/schemas/MatchEvidenceCode" state: $ref: "#/schemas/MatchEvidenceState" MatchEvidenceSummary: type: array maxItems: 12 items: $ref: "#/schemas/MatchEvidenceSummaryItem" MatchRequirementKind: type: string description: Kind of the need requirement that an explanation item answers. enum: - required_skill - desired_skill - task MatchSemanticItemKind: type: string description: |- Kind of the published card item that matched a requirement. - project: one published project; `project_title` names it. - stack: the recognized technology codes of the card. - roles: the specializations and grades that the card shows. enum: - project - stack - roles MatchSimilarityBand: type: string description: >- Coarse band of the cosine similarity between the requirement and the matched item under the versioned policy thresholds. `high` and `medium` are the only values; a weaker similarity produces no item. The band is a computed similarity of two texts, not a judgement of the candidate. enum: - high - medium MatchSemanticEvidence: type: object description: >- Why the entry is in the result: one confirmed requirement of the need and the published card item with the highest semantic similarity to it. The server computes it from stored vectors and the versioned thresholds; no model writes text into it. `requirement_text` is the confirmed text of the organization's own need. `project_title` is the title the candidate published with the `projects` card field and is null for other kinds. No repository address, owner, or fetched repository text is ever part of it. additionalProperties: false required: - requirement_kind - requirement_text - item_kind - project_title - repository_verified - similarity properties: requirement_kind: $ref: "#/schemas/MatchRequirementKind" requirement_text: type: string minLength: 1 maxLength: 300 description: Confirmed skill name or task text of the need. Plain text; show it as text, never as HTML. item_kind: $ref: "#/schemas/MatchSemanticItemKind" project_title: description: Published project title for `project`, otherwise null. Plain text; show it as text, never as HTML. oneOf: - type: string minLength: 1 maxLength: 100 - type: "null" repository_verified: type: boolean description: >- True only for a project whose linked repository the latest server check found public on GitHub ("backed by a public repository"). It does not prove authorship. similarity: $ref: "#/schemas/MatchSimilarityBand" MatchSemanticEvidenceList: type: array description: >- Semantic explanation items in a stable order: `high` before `medium`, then by similarity, then by the order of the requirements in the need. At most the versioned per-entry limit is returned. It is empty for a bank search, while vectors are not ready, when ML is unavailable, and when no requirement reaches a band; `unknown_flags` names `ml_unavailable` when the semantic component itself is unknown. maxItems: 12 items: $ref: "#/schemas/MatchSemanticEvidence" MatchPublicStack: type: array maxItems: 4 uniqueItems: true items: $ref: "#/schemas/MatchSearchStackTag" 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: "#/schemas/MatchPublicStack" - type: "null" experience_band: oneOf: - $ref: "./privacy_schemas.yml#/schemas/CandidateExperienceBand" - type: "null" work_formats: oneOf: - type: array maxItems: 3 uniqueItems: true items: $ref: "./questionnaire_schemas.yml#/schemas/WorkFormat" - type: "null" salary_compatibility: oneOf: - $ref: "./privacy_schemas.yml#/schemas/CandidateSalaryCompatibility" - 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: "#/schemas/MatchScore" coverage: $ref: "#/schemas/MatchScore" domain: $ref: "#/schemas/MatchScore" semantics: $ref: "#/schemas/MatchScore" percentile: $ref: "#/schemas/MatchNullableScore" competition: $ref: "#/schemas/MatchScore" freshness: $ref: "#/schemas/MatchScore" responsiveness: $ref: "#/schemas/MatchScore" rank_score: $ref: "#/schemas/MatchScore" 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. 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 - semantic_evidence - components - unknown_flags properties: candidate_handle: $ref: "./common_schemas.yml#/schemas/CandidateHandle" specialization: $ref: "./catalog_schemas.yml#/schemas/SpecializationCode" confirmation_status: type: string enum: - confirmed declared_grade: oneOf: - $ref: "./catalog_schemas.yml#/schemas/GradeCode" - type: "null" description: Candidate-declared grade for this specialization, never a confirmation. category: $ref: "#/schemas/MatchCategory" strength: $ref: "#/schemas/MatchStrength" public_context: $ref: "#/schemas/MatchPublicContext" evidence_summary: $ref: "#/schemas/MatchEvidenceSummary" semantic_evidence: $ref: "#/schemas/MatchSemanticEvidenceList" components: $ref: "#/schemas/MatchConfirmedComponents" unknown_flags: $ref: "#/schemas/MatchUnknownFlags" 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 - semantic_evidence - components - unknown_flags properties: candidate_handle: $ref: "./common_schemas.yml#/schemas/CandidateHandle" specialization: $ref: "./catalog_schemas.yml#/schemas/SpecializationCode" confirmation_status: type: string enum: - unconfirmed declared_grade: oneOf: - $ref: "./catalog_schemas.yml#/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: "#/schemas/MatchPublicContext" evidence_summary: $ref: "#/schemas/MatchEvidenceSummary" semantic_evidence: $ref: "#/schemas/MatchSemanticEvidenceList" components: $ref: "#/schemas/MatchUnconfirmedComponents" unknown_flags: $ref: "#/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: "#/schemas/MatchConfirmedCandidate" near: type: array items: $ref: "#/schemas/MatchConfirmedCandidate" unconfirmed: type: array items: $ref: "#/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 - truncated properties: source: $ref: "#/schemas/MatchSearchSource" groups: $ref: "#/schemas/MatchSearchGroups" truncated: type: boolean description: >- True when the groups are not the whole ranked result: a group exceeded the versioned per-group limit, or the organization's card-view allowance ended while the entries were being revealed. The entries returned are in rank order and already counted as card views. It carries no total, so it does not reveal how many candidates match.