The data model in the API module defines the input body of the evaluate request to have two mandatory fields: requirement (a data quality requirement definition) and data.
data is meant to be an arbitrary JSON piece but currently it’s typed as JsonObject, which is { ... } in Kotlin. Needs to be JsonElement, that’s the generic JSON thing superclass.
The data model in the API module defines the input body of the evaluate request to have two mandatory fields:
requirement(a data quality requirement definition) anddata.datais meant to be an arbitrary JSON piece but currently it’s typed asJsonObject, which is{ ... }in Kotlin. Needs to beJsonElement, that’s the generic JSON thing superclass.