Open RobNicholsGDS opened 7 months ago
@AlasdairGray Could you clarify that this is a bug please.
The modelling is not as tight as we would like it to be. Ideally, we would want to restrict the range to an array of objects that are nested Distribution
descriptions or identifiers (URIs or CURIEs) of Distribution
descriptions.
By putting in uriorcurie
I was capturing the latter case but not the former. The assumption being that Distributions would have their own identity rather than being anonymous resources.
@RobNicholsGDS can this be closed now?
Describe the bug When validating a distribution element, the system is only excepting a string as valid input
The error The definition at https://github.com/co-cddo/ukgov-metadata-exchange-model/blob/main/src/model/uk_cross_government_metadata_exchange_model.yaml#L317 is incorrect.
In the section:
The range should be
distribution
and noturiorcurie
.