{
  "name": "csv-validate",
  "title": "Validate a CSV's headers and row count",
  "category": "Data",
  "tags": [
    "data",
    "python"
  ],
  "version": "1.0.0",
  "date": "2026-07-16",
  "notes": "Initial release.",
  "latest": false,
  "installable": false,
  "url": "https://catalog.dagweave.com/api/v1/items/csv-validate/1.0.0.json",
  "entrypoint": "validate",
  "parameters": [
    {
      "name": "csv-content",
      "title": "CSV content",
      "description": "The CSV document to validate, as a string (header row required).",
      "type": "string",
      "required": true
    },
    {
      "name": "min-rows",
      "title": "Minimum rows",
      "description": "Minimum number of data rows the CSV must contain (0 = no minimum).",
      "type": "string",
      "required": false,
      "default": "0"
    },
    {
      "name": "required-columns",
      "title": "Required columns",
      "description": "Comma-separated list of column names that must be present in the header.",
      "type": "string",
      "required": false,
      "default": "",
      "example": "id,email,created_at"
    }
  ],
  "images": [
    {
      "ref": "python@sha256:94d3426f1def7db4a106a232ac121bfd975393e5dfd40a619b955fae45fe7913",
      "repository": "python",
      "tag": "3.15-slim",
      "digest": "sha256:94d3426f1def7db4a106a232ac121bfd975393e5dfd40a619b955fae45fe7913"
    }
  ],
  "source": "https://github.com/dagweave/catalog/tree/67458f74dbbf913b03177f3cefc69424be85eb1d/catalog/csv-validate",
  "catalogSha": "67458f74dbbf913b03177f3cefc69424be85eb1d"
}
