Add canonical CV artifact pipeline

This commit is contained in:
2026-03-28 23:32:54 +01:00
parent d8ab312f59
commit 107c181506
10 changed files with 619 additions and 82 deletions
+20
View File
@@ -3,6 +3,7 @@ namespace JobTrackerApi.Models;
public sealed class StructuredCvProfile
{
public string Version { get; set; } = "1";
public StructuredCvMetadata Metadata { get; set; } = new();
public StructuredCvContact Contact { get; set; } = new();
public List<string> Summary { get; set; } = new();
public List<StructuredCvJob> Jobs { get; set; } = new();
@@ -14,6 +15,25 @@ public sealed class StructuredCvProfile
public List<StructuredCvSection> Sections { get; set; } = new();
}
public sealed class StructuredCvMetadata
{
public int? ProfileVersion { get; set; }
public int? AppliedExtractionRunId { get; set; }
public DateTimeOffset? UpdatedAtUtc { get; set; }
public Dictionary<string, StructuredCvFieldMetadata> Fields { get; set; } = new();
}
public sealed class StructuredCvFieldMetadata
{
public double? Confidence { get; set; }
public string? Method { get; set; }
public string? SourceSnippet { get; set; }
public int? SourcePage { get; set; }
public string? SourceBlockId { get; set; }
public string? ReviewState { get; set; }
public DateTimeOffset? LastUpdatedAtUtc { get; set; }
}
public sealed class StructuredCvContact
{
public string? FullName { get; set; }