# Maintenance Imports — Header Contract Check

> Maintenance Imports — Header Contract Check 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 header contract for maintenance import data, checking column names, data types, and value constraints for up to 1000 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-bx-csv-maintenance-schema?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/maintenance-imports-header-contract-check-2b3cd75f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_yQ_QSaupQuXH8Q3k2YHt6

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-header-contract-check-2b3cd75f -d '<json body>'
```

Example prompt: Check if my maintenance import CSV has valid headers and data — here's the file with columns maintenance_id, performed_on, asset_id, labour_hours, and parts_cost, comma-delimited, with allowed categories group-a and group-b, and make sure no numeric value exceeds 1,000,000.

## When to prefer this

Use this endpoint when you need a lightweight, low-cost ($0.01) pre-flight check of a maintenance data CSV file before ingestion into a CMMS or data pipeline. It is purpose-built for the maintenance domain schema (maintenance_id, performed_on, asset_id, labour_hours, parts_cost) and supports quoted cells, configurable delimiters, category allowlists, and numeric range bounds — making it more specific and cheaper than a generic CSV validator for this use case.

## Known failure modes

- CSV exceeds 100,000 character limit — request rejected
- More than 1000 rows submitted — only first 1000 processed or error returned
- Invalid delimiter value not in allowed enum [',', ';', '\t'] — validation error
- Category values not in allowed_categories list — flagged as contract violations
- Numeric values outside min/max bounds — flagged as range violations
- Malformed CSV with unclosed quotes — parsing error returned
- Empty CSV string — rejected due to minLength constraint

## How this service works

Maintenance imports — Header contract check: Header contract check 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 header contract check report.

## Output

A CSV header contract check report indicating whether the supplied CSV conforms to the declared schema, including validation of column names, delimiter correctness, cell length limits, numeric range compliance, and allowed category membership — covering 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-header-contract-check-2b3cd75f/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)
