/** * Generated by orval 🍺 * Do not edit manually. * Lincodex API * OpenAPI spec version: 0.1.0 */ import * as zod from 'zod'; export const matchSemanticEvidenceRequirementTextMax = 300; export const matchSemanticEvidenceProjectTitleOneMax = 100; export const MatchSemanticEvidence = zod.object({ "requirement_kind": zod.enum(['required_skill', 'desired_skill', 'task']).describe('Kind of the need requirement that an explanation item answers.'), "requirement_text": zod.string().min(1).max(matchSemanticEvidenceRequirementTextMax).describe('Confirmed skill name or task text of the need. Plain text; show it as text, never as HTML.'), "item_kind": zod.enum(['project', 'stack', 'roles']).describe('Kind of the published card item that matched a requirement.\n\n- project: one published project; `project_title` names it.\n- stack: the recognized technology codes of the card.\n- roles: the specializations and grades that the card shows.'), "project_title": zod.union([zod.string().min(1).max(matchSemanticEvidenceProjectTitleOneMax),zod.null()]).describe('Published project title for `project`, otherwise null. Plain text; show it as text, never as HTML.'), "repository_verified": zod.boolean().describe('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": zod.enum(['high', 'medium']).describe('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.') }).describe('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.') export type MatchSemanticEvidence = zod.input; export type MatchSemanticEvidenceOutput = zod.output;