Skip to content

Commit

Permalink
Make it possible to configure which keys are allowed for user defined…
Browse files Browse the repository at this point in the history
… metadata on a certain data type. (#433)
  • Loading branch information
bjorntore authored Jun 14, 2024
1 parent 1cd0961 commit 6861236
Showing 1 changed file with 7 additions and 0 deletions.
7 changes: 7 additions & 0 deletions src/Storage.Interface/Models/DataType.cs
Original file line number Diff line number Diff line change
Expand Up @@ -119,5 +119,12 @@ public class DataType
/// </summary>
[JsonProperty(PropertyName = "enabledFileValidators")]
public List<string> EnabledFileValidators { get; set; } = new List<string>();

/// <summary>
/// Gets or sets a list of allowed keys for user defined metadata.
/// If null or empty, all user defined metadata keys are allowed.
/// </summary>
[JsonProperty(PropertyName = "allowedKeysForUserDefinedMetadata")]
public List<string> AllowedKeysForUserDefinedMetadata { get; set; }
}
}

0 comments on commit 6861236

Please sign in to comment.