Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

fix(metamodel): remove versions from class names #28

Merged
merged 1 commit into from
Oct 24, 2023
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
10 changes: 5 additions & 5 deletions ConcertoJsonConverter/concerto.cs
Original file line number Diff line number Diff line change
Expand Up @@ -9,12 +9,12 @@ namespace Concerto.Models.concerto {
public abstract class Concept {
[JsonPropertyName("$class")]
[NewtonsoftJson.JsonProperty("$class")]
public virtual string _class { get; } = "concerto@1.0.0.Concept";
public virtual string _class { get; } = "concerto.Concept";
}
public abstract class Asset : Concept {
[JsonPropertyName("$class")]
[NewtonsoftJson.JsonProperty("$class")]
public override string _class { get; } = "concerto@1.0.0.Asset";
public override string _class { get; } = "concerto.Asset";
[JsonPropertyName("$identifier")]
[NewtonsoftJson.JsonProperty("$identifier")]
public string _identifier { get; set; }
Expand All @@ -23,23 +23,23 @@ public abstract class Asset : Concept {
public abstract class Participant : Concept {
[JsonPropertyName("$class")]
[NewtonsoftJson.JsonProperty("$class")]
public override string _class { get; } = "concerto@1.0.0.Participant";
public override string _class { get; } = "concerto.Participant";
[JsonPropertyName("$identifier")]
[NewtonsoftJson.JsonProperty("$identifier")]
public string _identifier { get; set; }
}
public abstract class Transaction : Concept {
[JsonPropertyName("$class")]
[NewtonsoftJson.JsonProperty("$class")]
public override string _class { get; } = "concerto@1.0.0.Transaction";
public override string _class { get; } = "concerto.Transaction";
[JsonPropertyName("$timestamp")]
[NewtonsoftJson.JsonProperty("$timestamp")]
public System.DateTime _timestamp { get; set; }
}
public abstract class Event : Concept {
[JsonPropertyName("$class")]
[NewtonsoftJson.JsonProperty("$class")]
public override string _class { get; } = "concerto@1.0.0.Event";
public override string _class { get; } = "concerto.Event";
[JsonPropertyName("$timestamp")]
[NewtonsoftJson.JsonProperty("$timestamp")]
public System.DateTime _timestamp { get; set; }
Expand Down
Loading
Loading