# Document Approvals — String Normalisation + Numeric Row Ordering

> Document Approvals — String Normalisation + 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-30).

Normalises string fields and orders rows numerically for document approval records (submitted_documents, approved_documents) across up to 200 rows, producing 2 analytical reports.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-17-025?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/document-approvals-string-normalisation-numeric-row-ordering-b4d93ebe
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_8qUOLVO6tmNtQ2iW1n8xA

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 document-approvals-string-normalisation-numeric-row-ordering-b4d93ebe -d '<json body>'
```

Example prompt: Can you normalise the string fields and sort these document approval records numerically by submitted_documents — I have 4 rows with team_group, date, row_id, submitted_documents, and approved_documents — and give me the two analytical reports?

## When to prefer this

Choose this endpoint when you have document approval records (with submitted and approved document counts per team and date) and need both string field normalisation and numeric ordering in a single low-cost call. It is well-suited for small-to-medium datasets (up to 200 rows) where no live data lookup, prediction, or external action is needed — purely local analytical transformation.

## Known failure modes

- More than 200 rows submitted — request rejected or truncated
- Missing required fields (row_id, date, submitted_documents, approved_documents) cause validation errors
- Date strings not matching YYYY-MM-DD pattern are rejected
- Numeric values outside ±1,000,000,000,000 bounds cause schema errors
- Empty rows array returns an error

## How this service works

Document approvals — String normalisation + Numeric row ordering: String normalisation + Numeric row ordering for supplied document approvals records (submitted_documents, approved_documents). 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 2 independent analytical reports: one applying string normalisation to the text fields (team_group, row_id, date) in the supplied document approval rows, and one ordering the rows numerically by the selected field (submitted_documents or approved_documents), 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",
     "submitted_documents",
     "approved_documents"
    ],
    "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
     },
     "approved_documents": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "submitted_documents": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "approved_documents": 1,
     "submitted_documents": 10
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "approved_documents": 2,
     "submitted_documents": 20
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "approved_documents": 3,
     "submitted_documents": 15
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "approved_documents": 4,
     "submitted_documents": 30
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "submitted_documents",
    "approved_documents"
   ],
   "type": "string",
   "default": "submitted_documents"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/document-approvals-string-normalisation-numeric-row-ordering-b4d93ebe/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)
