'Schema.NET.IHospital.OpeningHours' collides with another property. #602
Replies: 2 comments
-
Are you getting a build error when building the solution? Sorry, not sure I fully understand. |
Beta Was this translation helpful? Give feedback.
0 replies
-
Closing this in favour of #603 |
Beta Was this translation helpful? Give feedback.
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I have been coming across this error recently version 12.0.0-> 'Schema.NET.IHospital.OpeningHours' collides with another property."
I have found the same two properties in different classes in this solution.
hospital -> CivicStructureAndEmergencyServiceAndMedicalOrganization ->
[JsonPropertyName("openingHours")]
[JsonPropertyOrder(307)]
[JsonConverter(typeof(ValuesJsonConverter))]
public override OneOrMany OpeningHours { get; set; }
Physician-> MedicalBusinessAndMedicalOrganization -> LocalBusinessAndOrganization ->
[JsonPropertyName("openingHours")]
[JsonPropertyOrder(238)]
[JsonConverter(typeof(ValuesJsonConverter))]
public OneOrMany OpeningHours { get; set; }
In my case both of these objects are empty, but this looks to be causing the issue.
Has any one found a way to fix this?
Beta Was this translation helpful? Give feedback.
All reactions