hale icon indicating copy to clipboard operation
hale copied to clipboard

Avoid validation warning for choices that are allowed to occur multiple times

Open JohannaOtt opened this issue 2 years ago • 4 comments

Description done with an example case to make the schema construct easier to understand: Work with omso:ProfileObservation

The element result.ReferenceableGridCoverage.rangeSet.ValueArray.valueComponents can contain multiple occurrences of the choice used in it. That means, if multiple values (e.g. AbstractValue.Count and AbstractValue.QuantityList) are provided for one object, the transformed data should be valid. But there is a validation warning: grafik

According to the relevant schema,

  • ValueArray (expanding CompositeValue) is referencing valueComponent
  • valueComponents is using the ValueArrayPropertyType
  • the ValueArrayPropertyType is using a sequence with group:Value that can occur n times (unbounded) --> this means that it can be replaced by multiple group:Value elements (which are using various abstract elements respectively their children) and there should be no validation warning in hale studio

JohannaOtt avatar Mar 23 '22 15:03 JohannaOtt

This issue has been automatically marked as stale because it has not had activity in the last 60 days. It will be closed in two weeks if no further activity occurs. Thank you for your contributions.

github-actions[bot] avatar May 08 '24 01:05 github-actions[bot]