# Shift Coverage Duplicate Key Report and Numeric Row Ordering

> Shift Coverage Duplicate Key Report and Numeric Row Ordering 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-26).

Generates two local analytical reports on shift coverage data: a duplicate key report and a numeric row ordering, for up to 200 rows of covered_hours and required_hours records.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-15-058?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-26
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/shift-coverage-duplicate-key-report-and-numeric-row-ordering-891b836c
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_639Htj6sdkJuizj5ahOqr

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 shift-coverage-duplicate-key-report-and-numeric-row-ordering-891b836c -d '<json body>'
```

Example prompt: Can you run a duplicate key check and numeric row ordering on my shift coverage data? I have 50 rows with row_id, team_group, date, covered_hours, and required_hours — sort and deduplicate by covered_hours.

## When to prefer this

Choose this endpoint when you need fast, local duplicate detection and numeric sorting on shift coverage records (covered_hours, required_hours) without any live data lookups or external enrichment. It is ideal for data quality audits before importing scheduling data, or for quickly ranking shifts by staffing metrics. It handles up to 200 rows and delivers two reports in a single $0.01 USDC call, making it cost-effective for small-to-medium workforce datasets.

## Known failure modes

- Input array exceeds 200 rows — request rejected
- Missing required fields (row_id, date, team_group, covered_hours, required_hours) — validation error
- Invalid date format (not YYYY-MM-DD) — schema validation failure
- Field enum value not one of covered_hours or required_hours — rejected
- Empty rows array (minItems: 1 violated) — error returned
- Numeric fields outside allowed range — validation failure

## How this service works

Shift coverage — Duplicate key report + Numeric row ordering: Duplicate key report + Numeric row ordering for supplied shift coverage records (covered_hours, required_hours). Up to 200 rows; 2 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 2 supplied-data reports for up to 200 rows.

## Output

Returns two independent analytical reports: (1) a duplicate key report identifying rows with repeated row_id values, and (2) a numeric row ordering ranking rows by the specified field (covered_hours or required_hours). Both reports are computed locally without external lookups or predictions, covering up to 200 input rows.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "team_group",
     "date",
     "covered_hours",
     "required_hours"
    ],
    "properties": {
     "date": {
      "type": "string",
      "default": "",
      "pattern": "^\\d{4}-\\d{2}-\\d{2}$",
      "maxLength": 10
     },
     "row_id": {
      "type": "string",
      "default": "",
      "maxLength": 80,
      "minLength": 1
     },
     "team_group": {
      "type": "string",
      "default": "",
      "maxLength": 80
     },
     "covered_hours": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "required_hours": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "covered_hours": 10,
     "required_hours": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "covered_hours": 20,
     "required_hours": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "covered_hours": 15,
     "required_hours": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "covered_hours": 30,
     "required_hours": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "covered_hours",
    "required_hours"
   ],
   "type": "string",
   "default": "covered_hours"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/shift-coverage-duplicate-key-report-and-numeric-row-ordering-891b836c/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)
