Skip to content

Commit

Permalink
Add JSON export functionality
Browse files Browse the repository at this point in the history
  • Loading branch information
migle-markeviciute committed Feb 9, 2024
1 parent ab28728 commit 7f60728
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 deletions.
6 changes: 3 additions & 3 deletions OmopTransformer/Documentation/JSONRendering/JSONStructure.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,7 +2,7 @@

public class JSONStructure
{
public string OmopTable { get; set; }
public string Origin { get; set; }
public List<OMOPColumns> OmopColumns { get; set; }
public string OmopTable { get; set; } = string.Empty;
public string Origin { get; set; } = string.Empty;
public List<OMOPColumns> OmopColumns { get; set; } = [];
}
4 changes: 2 additions & 2 deletions OmopTransformer/Documentation/JSONRendering/OMOPColumns.cs
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,6 @@

public class OMOPColumns
{
public string Name { get; set; }
public List<string> SourceColumns { get; set; }
public string Name { get; set; } = string.Empty;
public List<string> SourceColumns { get; set; } = [];
}

0 comments on commit 7f60728

Please sign in to comment.