# Legal Document Inventories — Record Quality Audit + String Normalisation + Secondary-Measure Weighted Mean

> Legal Document Inventories — Record Quality Audit + String Normalisation + Secondary-Measure Weighted Mean 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-30).

Runs three local analytical reports on legal document inventory data: a record quality audit, string normalisation, and a secondary-measure weighted mean calculation for document_count or reviewed_count fields.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-writing-10-205?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/legal-document-inventories-record-quality-audit-string-normalisation-4de833ea
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_C4FD6cAYypQZQLt7C4IeS

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 legal-document-inventories-record-quality-audit-string-normalisation-4de833ea -d '<json body>'
```

Example prompt: Can you audit the quality of these legal document inventory records, normalise the document group strings, and calculate a weighted mean for the reviewed_count field? I have 4 rows: row-1 on 2026-10-01 with document_count=10 and reviewed_count=1 in group-a, row-2 on 2026-10-02 with document_count=20 and reviewed_count=2 in group-b, row-3 on 2026-10-03 with document_count=15 and reviewed_count=3 in group-a, row-4 on 2026-10-04 with document_count=30 and reviewed_count=4 in group-b.

## When to prefer this

Choose this endpoint when you need all three operations — record quality audit, string normalisation, and secondary-measure weighted mean — applied to legal document inventory data (document_count, reviewed_count) in a single cheap call. It is ideal for batch preprocessing up to 200 rows of legal document tracking data before downstream reporting or compliance workflows, and when no live external data, predictions, or professional legal assessment is required.

## Known failure modes

- Rows array is empty or missing — returns validation error
- More than 200 rows supplied — rejected with row limit error
- Invalid date format (not YYYY-MM-DD) in any row — validation failure
- Unrecognised field value outside enum [document_count, reviewed_count] — schema error
- Null values in both numeric fields for all rows — weighted mean may be undefined or return NaN
- row_id missing or exceeds 80 characters — schema rejection

## How this service works

Legal document inventories — Record quality audit + String normalisation + Secondary-measure weighted mean: Record quality audit + String normalisation + Secondary-measure weighted mean for supplied legal document inventories records (document_count, reviewed_count). Up to 200 rows; 3 independent reports using shared local analytical engines. No live lookup, prediction, professional assessment or external action. 0.01 USDC includes 3 supplied-data reports for up to 200 rows.

## Output

Three independent analytical reports: (1) a record quality audit flagging data issues such as nulls, out-of-range values, or inconsistencies in the supplied rows; (2) a string normalisation report cleaning and standardising the document_group field values; (3) a secondary-measure weighted mean calculation for the selected numeric field (document_count or reviewed_count). All computed locally with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/legal-document-inventories-record-quality-audit-string-normalisation-4de833ea/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)
