# Library Loan Imports — CSV Validation Summary

> Library Loan Imports — CSV Validation Summary is a paid API for AI agents from market.datapackvibe.com, paid per call via x402, $0.01/call, status unknown (last checked 2026-10-19).

Validates a CSV file of library loan records (up to 1000 rows) and returns a structured validation summary report covering format, value ranges, and category compliance.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-loans-summary?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/library-loan-imports-csv-validation-summary-c738c6e7
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yd85Bxi2CVZo3fgO32BNW

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability library-loan-imports-csv-validation-summary-c738c6e7 -d '<json body>'
```

Example prompt: Can you validate this library loan CSV for me — it uses comma delimiters, loan days and overdue days should be between 0 and 365, and branch IDs must be one of 'branch-north', 'branch-south', or 'branch-east'? Here's the data: loan_id,borrowed_on,branch_id,loan_days,overdue_days\nL001,2026-01-10,branch-north,14,2

## When to prefer this

Choose this endpoint when you need a fast, inexpensive ($0.01 USDC) structured validation pass on a library loan CSV before importing it into a system. It is purpose-built for the library loan domain (loan_id, borrowed_on, branch_id, loan_days, overdue_days schema), supports quoted cells, and returns a summary rather than row-by-row detail. Prefer it over generic CSV validators when you need domain-aware category and numeric range checks in a single call without external enrichment.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 data rows — validation truncated or rejected
- Invalid delimiter specified — parse errors on all rows
- Cell content exceeds max_cell_length — flagged as violation
- Malformed CSV (unmatched quotes, missing fields) — parse failure
- Numeric values outside min/max bounds — flagged per row
- Category values not in allowed_categories list — flagged per row

## How this service works

Library loan imports — Validation summary: Validation summary for Library loan imports. Validate a declared CSV table contract, up to 1000 rows. Quoted cells supported; no external enrichment. Specialised preset in a shared 50-profile, 20-operation engine. 0.01 USDC includes one CSV validation summary report.

## Output

A structured validation summary report covering the parsed CSV rows (up to 1000), including counts of valid and invalid rows, specific field-level errors (type mismatches, out-of-range numeric values, disallowed category values, cell length violations), and an overall pass/fail status for the declared contract.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "loan_id,borrowed_on,branch_id,loan_days,overdue_days\nrecord-a,2026-01-01,group-a,10,2\nrecord-b,2026-01-02,group-b,20,3",
   "maxLength": 100000,
   "minLength": 1
  },
  "maximum": {
   "type": "number",
   "default": 1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "minimum": {
   "type": "number",
   "default": -1000000000000,
   "maximum": 1000000000000,
   "minimum": -1000000000000
  },
  "delimiter": {
   "enum": [
    ",",
    ";",
    "\t"
   ],
   "type": "string",
   "default": ","
  },
  "max_cell_length": {
   "type": "integer",
   "default": 1000,
   "maximum": 5000,
   "minimum": 1
  },
  "allowed_categories": {
   "type": "array",
   "items": {
    "type": "string",
    "default": "",
    "maxLength": 100,
    "minLength": 1
   },
   "default": [
    "group-a",
    "group-b"
   ],
   "maxItems": 100,
   "minItems": 0
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/library-loan-imports-csv-validation-summary-c738c6e7/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from market.datapackvibe.com](https://www.zero.xyz/host/market.datapackvibe.com/llms.txt)
