# Maintenance Imports — Record Key Uniqueness Validator

> Maintenance Imports — Record Key Uniqueness Validator 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-15).

Validates CSV record key uniqueness for maintenance import data, checking up to 1000 rows for duplicate keys and reporting violations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-maintenance-keys?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/maintenance-imports-record-key-uniqueness-validator-764d88ba
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_hnUrEVEfIXnP2QisTH0c3

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 maintenance-imports-record-key-uniqueness-validator-764d88ba -d '<json body>'
```

Example prompt: Can you check this maintenance CSV for duplicate record keys? Here's the data with columns maintenance_id, performed_on, asset_id, labour_hours, parts_cost — use comma as delimiter and flag any repeated maintenance_id values across up to 1000 rows.

## When to prefer this

Choose this endpoint when you need a lightweight, low-cost ($0.01 USDC) way to validate record key uniqueness in maintenance-domain CSV imports before committing data to a database or ETL pipeline. It is purpose-built for maintenance data schemas and supports category allow-listing and numeric range constraints, making it more precise than a generic CSV validator for this domain.

## Known failure modes

- CSV exceeds 1000 rows — validation limit exceeded
- Cell length exceeds max_cell_length — cell rejected
- Invalid delimiter specified — parsing error
- CSV string is empty or malformed — parse failure
- Numeric values outside specified minimum/maximum bounds — constraint violation
- Allowed category values not matched — category violation
- Payment not processed — x402 payment required

## How this service works

Maintenance imports — Record key uniqueness: Record key uniqueness for Maintenance 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 record key uniqueness report.

## Output

A record key uniqueness report indicating whether all record keys in the submitted CSV are unique, identifying any duplicate keys found, along with any category or value constraint violations across up to 1000 rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "csv": {
   "type": "string",
   "default": "maintenance_id,performed_on,asset_id,labour_hours,parts_cost\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/maintenance-imports-record-key-uniqueness-validator-764d88ba/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)
