We are using frictionless-py for validating CSV files against a Table Schema (Data Package ).
We recently introduced new boolean-style flag columns (Yes / No) in our schema, for example:
FLAG_PART_2
FLAG_TYPE_A
FLAG_TYPE_B
These columns represent feature or attribute flags and are optional for data providers during a transition period.
Requirement
- Validation should still pass if these columns are absent
- If absent, they should be treated as a default value (e.g.
"No" / false) for downstream processing
- If present, values should be validated against allowed values (
Yes, No)
Could you please advise whether this scenario is currently supported in frictionless-py, or if there is a recommended approach for handling optional columns with default values?