Skip to content
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
7 changes: 7 additions & 0 deletions Dan.Common/Models/EvidenceCode.cs
Original file line number Diff line number Diff line change
Expand Up @@ -138,4 +138,11 @@ public class EvidenceCode
[DataMember(Name = "timeout")]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public int? Timeout { get; set; }

/// <summary>
/// License of the evidence source data
/// </summary>
[DataMember(Name = "license")]
[JsonProperty(NullValueHandling = NullValueHandling.Ignore)]
public string? License { get; set; }
}
7 changes: 5 additions & 2 deletions Dan.Common/Models/ServiceContext.cs
Original file line number Diff line number Diff line change
Expand Up @@ -8,11 +8,14 @@ namespace Dan.Common.Models;
[DataContract]
public class ServiceContext
{
[DataMember(Name = "Name")]
[DataMember(Name = "name")]
public string Name { get; set; } = string.Empty;

[DataMember(Name = "Id")]
[DataMember(Name = "id")]
public string Id { get; set; } = string.Empty;

[DataMember(Name = "description")]
public string? Description { get; set; }

[DataMember(Name = "validLanguages")]
public List<string> ValidLanguages { get; set; } = new();
Expand Down
Loading