Skip to content

Commit e7ffa59

Browse files
committed
Update DataObjectMappingList.cs
Added optional 'name' and 'classification' properties to the top-level class of data object mapping list (dataobjectmappings).
1 parent c7bb94a commit e7ffa59

File tree

1 file changed

+15
-0
lines changed

1 file changed

+15
-0
lines changed

DataWarehouseAutomation/DataWarehouseAutomation/DataObjectMappingList.cs

Lines changed: 15 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -15,4 +15,19 @@ public class DataObjectMappingList
1515
/// </summary>
1616
[JsonPropertyName("dataObjectMappings")]
1717
public List<DataObjectMapping> DataObjectMappings { get; set; } = new();
18+
19+
/// <summary>
20+
/// The name of the Data Object Mapping List. This is typically provided by one of the data object mappings in the list.
21+
/// It has been added to allow easy identification of the objects in case a list contains many mappings.
22+
/// </summary>
23+
[JsonPropertyName("name")]
24+
[JsonIgnore(Condition = JsonIgnoreCondition.Never)]
25+
public string? Name { get; set; }
26+
27+
/// <summary>
28+
/// Free-form and optional classification for the mapping for use in data logistics generation logic (evaluation).
29+
/// </summary>
30+
[JsonPropertyName("classifications")]
31+
[JsonIgnore(Condition = JsonIgnoreCondition.WhenWritingDefault)]
32+
public List<DataClassification>? Classifications { get; set; }
1833
}

0 commit comments

Comments
 (0)