oci-fn-csv-quality-gate
OCI Function pattern for validating inbound CSVs against a required schema.
What it does
The first useful run is often the failing case. When the response tells you exactly what broke and why, the starter repo has already made the boundary reusable instead of only demonstrative.
Try it locally
python3 func.py sample_missing_currency.csv --schema-file schema.jsonExample output
{
"valid": false,
"reason": "missing_required_columns",
"missing_columns": [
"currency"
],
"unexpected_columns": [],
"row_count": 1
}Where it helps
Use this when a starter pattern should clarify the validation contract before you add notifications, quarantine handling, or a deeper ingestion pipeline.