oemetadata icon indicating copy to clipboard operation
oemetadata copied to clipboard

Add option to some list fields to be of type array or null

Open jh-RLI opened this issue 1 year ago • 1 comments

Description of the issue

Some fields like "isAbout" have to be of type array. If there is no element, then this field must evaluate to an empty list ([ ]) element. This is fine but creates some specific issues that are raised due to how things are currently implemented in the oeplatform.

If one create metadata for a table resource, then the oeplatform currently sets empty fields to "null". This is valid with the current release of OMI, but since OMI is reworked and now fully depends on the oemetadata´s json schema this structure is now invalid.

As far as im aware json schema and frictionless are okay with, still this could raise confusion on why the fields can be empty and if the information is even relevant in this case.

Ideas of solution

TBD: provide list of nullable fields Add nullable option to json schema

Workflow checklist

jh-RLI avatar Oct 29 '24 20:10 jh-RLI

Is this issue solved with the new version?

Ludee avatar Nov 13 '24 20:11 Ludee