You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
With a schema specifying an enum constraint on a field of type array, the enum constraints does not validate the array items but the whole array value.
Expected behavior
Array items should be validated against the enum constraint.
Actually, after rereading the spec for array and enum, there is no hint to the enum constraint being supported in this way in the table schema v2 spec.
pierrecamilleri
changed the title
enum constraint is not taken into account for type: "array"
enum constraint does not validate array items for type: "array"
Dec 11, 2024
With a schema specifying an enum constraint on a field of type array, the enum constraints does not validate the array items but the whole array value.
Expected behavior
Array items should be validated against the enum constraint.
Data to reproduce
schema.json
data.csv
frictionless --version # 5.18.0
The text was updated successfully, but these errors were encountered: