# Road Segment Observations — String Normalisation + Duplicate Key Report

> Road Segment Observations — String Normalisation + Duplicate Key Report 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-29).

Runs string normalisation and duplicate key detection on up to 200 road segment observation records (length_m, travel_seconds) and returns two analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-weather-15-021?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-29
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/road-segment-observations-string-normalisation-duplicate-key-report-de8e4acd
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_tha5xc11vdREzvDcl410G

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 road-segment-observations-string-normalisation-duplicate-key-report-de8e4acd -d '<json body>'
```

Example prompt: Can you check my road segment observations for duplicate keys and normalise the string fields? I have about 50 rows with fields like row_id, station_group, date, length_m, and travel_seconds — here's the data.

## When to prefer this

Choose this endpoint when you need to validate and clean road segment observation data containing length_m and travel_seconds fields, specifically needing both string normalisation and duplicate key detection in a single call. It is best suited for batch data quality checks on up to 200 rows before ingestion or analysis, with no need for live lookups or external data enrichment.

## Known failure modes

- More than 200 rows submitted — request rejected with validation error
- Missing required fields (row_id, station_group, date, length_m, travel_seconds) on any row — validation failure
- Invalid date format (not YYYY-MM-DD) — schema validation error
- Payment not included or insufficient — 402 payment required error
- Empty rows array — minItems constraint violation

## How this service works

Road segment observations — String normalisation + Duplicate key report: String normalisation + Duplicate key report for supplied road segment observations records (length_m, travel_seconds). 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 reports: (1) a string normalisation report identifying and correcting inconsistent string values across fields like station_group and row_id, and (2) a duplicate key report flagging rows that share the same key combination. Both reports are generated locally without external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/road-segment-observations-string-normalisation-duplicate-key-report-de8e4acd/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)
