# Office Supplies — String Normalisation + Secondary-Measure Weighted Mean

> Office Supplies — 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-11-02).

Normalises string fields and computes a secondary-measure weighted mean for office supplies records containing issued_units and received_units, across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-operations-24-034?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-11-02
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/office-supplies-string-normalisation-secondary-measure-weighted-mean-53a61ac5
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Row_bYUfo_EacIJVsNILH

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 office-supplies-string-normalisation-secondary-measure-weighted-mean-53a61ac5 -d '<json body>'
```

Example prompt: I have a batch of office supply records with issued_units and received_units across team groups — can you run string normalisation and compute a secondary-measure weighted mean on the issued_units field for these rows?

## When to prefer this

Choose this endpoint when you have office supplies records (up to 200 rows) with issued_units and received_units and need both string normalisation of categorical fields and a secondary-measure weighted mean computed in a single call. It is ideal for lightweight batch analytics on structured inventory or operations data without needing a live data connection or external prediction service. At $0.01 USDC per call covering two reports, it is cost-effective for routine data quality and statistical summarisation tasks.

## Known failure modes

- Submitting more than 200 rows returns a validation error
- Missing required fields (row_id, date, issued_units, received_units) causes row-level rejection
- Invalid date format (not YYYY-MM-DD) triggers a pattern validation failure
- Null values in both numeric fields may produce undefined weighted mean results
- Payment of 0.01 USDC not included or declined results in a 402 Payment Required response

## How this service works

Office supplies — String normalisation + Secondary-measure weighted mean: String normalisation + Secondary-measure weighted mean for supplied office supplies records (issued_units, received_units). 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 analytical reports for the submitted office supplies rows: (1) a string normalisation report cleaning text fields such as team_group, and (2) a secondary-measure weighted mean computed for the specified numeric field (issued_units or received_units), using the other measure as the weight. Both reports are computed locally with no external lookups.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "rows": {
   "type": "array",
   "items": {
    "type": "object",
    "required": [
     "row_id",
     "team_group",
     "date",
     "issued_units",
     "received_units"
    ],
    "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
     },
     "issued_units": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     },
     "received_units": {
      "type": [
       "number",
       "null"
      ],
      "maximum": 1000000000000,
      "minimum": -1000000000000
     }
    },
    "additionalProperties": false
   },
   "default": [
    {
     "date": "2026-10-01",
     "row_id": "row-1",
     "team_group": "group-a",
     "issued_units": 10,
     "received_units": 1
    },
    {
     "date": "2026-10-02",
     "row_id": "row-2",
     "team_group": "group-b",
     "issued_units": 20,
     "received_units": 2
    },
    {
     "date": "2026-10-03",
     "row_id": "row-3",
     "team_group": "group-a",
     "issued_units": 15,
     "received_units": 3
    },
    {
     "date": "2026-10-04",
     "row_id": "row-4",
     "team_group": "group-b",
     "issued_units": 30,
     "received_units": 4
    }
   ],
   "maxItems": 200,
   "minItems": 1
  },
  "field": {
   "enum": [
    "issued_units",
    "received_units"
   ],
   "type": "string",
   "default": "issued_units"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/office-supplies-string-normalisation-secondary-measure-weighted-mean-53a61ac5/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)
