-
OverviewSometimes an user could prefer to have a schema with an optional field. It means that different data tables described by the same schema could either have or doesn't have some column completely. From @hredestig I thought of situations where the user e.g. may want to include a certain column, say, 'temperature', and if so, there would be constraints saying that it has to be numeric, but that specifying temperature is not strictly required and while the user now could get around this by simply including a column with all missing values, it would appear more natural to me to be allowed to not include that column at all. From @roll It could put some stress on implementations esp. while we still don't require field names to be unique so I recommend to be careful with this feature - think twice, check with different language implementators etc. |
Beta Was this translation helpful? Give feedback.
Replies: 2 comments 2 replies
-
An example would be the GTFS specification which has a lot of optionality. |
Beta Was this translation helpful? Give feedback.
-
Frictionless Framework support the |
Beta Was this translation helpful? Give feedback.
Frictionless Framework support the
detector.schema_sync
argument that can be passed toResource/validate/etc
classed and functions - https://framework.frictionlessdata.io/docs/guides/framework/detector-guide#schema-sync