Add option to some list fields to be of type array or null #192
Labels
part: backend 🧱
Backend component
priority: low 🦥
Low priority
status: blocked 🛑
Blocked or impeded progress
type: enhancement ⚙️
Improvement of an existing feature
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
The text was updated successfully, but these errors were encountered: