-
Notifications
You must be signed in to change notification settings - Fork 5
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
How to manage constraint and represent mutilple values in the same field #12
Comments
The answer depends on the context ! When validating the data:
See ict-sustainability-tools/old-examples/project-list/data/project-list.resources.yaml Line 39 in ebf0092
When displaying / editing the data in the widget:
|
💡 Close this issue only after our choices of implementation are fully reported into the documentation. |
Some fields may allow multiple values (e.g. the
environmental_indicators
column may need to accept several environmental indicators).We need to understand how to represent this in the frictionless table schema. https://specs.frictionlessdata.io/table-schema/
We can already apply constraint the values of unitary fileds by using enums in the schema. But we may need to find a different way to model fields that have multiple values (i.e. collection / arrays)
💡 If this is too complex to model, edit or validate, an alternative would be to add more columns, one for each indicator and use it a a boolean (true/false) colum.
The text was updated successfully, but these errors were encountered: