Add canonical CV artifact pipeline
This commit is contained in:
@@ -134,6 +134,8 @@ public static class StructuredCvProfileJson
|
||||
{
|
||||
profile ??= new StructuredCvProfile();
|
||||
profile.Version = string.IsNullOrWhiteSpace(profile.Version) ? "1" : profile.Version.Trim();
|
||||
profile.Metadata ??= new StructuredCvMetadata();
|
||||
profile.Metadata.Fields ??= new Dictionary<string, StructuredCvFieldMetadata>();
|
||||
profile.Contact ??= new StructuredCvContact();
|
||||
profile.Summary = CleanList(profile.Summary);
|
||||
profile.Jobs = (profile.Jobs ?? new List<StructuredCvJob>())
|
||||
|
||||
Reference in New Issue
Block a user