# Schema Conformity Analytics: Weighted Mean & Date-Category Pivot

> Schema Conformity Analytics: Weighted Mean & Date-Category Pivot 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-14).

Computes a weighted mean of a secondary measure and a date-by-category pivot table for schema conformity records (valid_records, checked_records) across up to 200 rows.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-02-185?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/schema-conformity-analytics-weighted-mean-date-category-pivot-0d61f847
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_VdMSk9Rc1ZHHrtaT9Kglj

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 schema-conformity-analytics-weighted-mean-date-category-pivot-0d61f847 -d '<json body>'
```

Example prompt: Can you run a weighted mean on valid_records and also pivot those schema conformity records by date and dataset_group? I have about 50 rows with row_id, dataset_group, date, valid_records, and checked_records fields.

## When to prefer this

Choose this endpoint when you need both a weighted mean and a date-by-category pivot on schema conformity data (valid_records, checked_records) in a single low-cost call. It is ideal for data quality monitoring pipelines where you want two complementary analytical views — aggregation and cross-tab — without building custom analytics. Best suited for batch analysis of up to 200 conformity records at $0.01 USDC per call.

## Known failure modes

- Missing required fields (row_id, date, valid_records, checked_records) cause validation errors
- Date strings not matching YYYY-MM-DD pattern are rejected
- Submitting more than 200 rows exceeds the row limit and returns an error
- Null numeric values may affect weighted mean computation if all weights are null
- Empty rows array is rejected (minItems: 1)
- Invalid field enum value (not 'valid_records' or 'checked_records') causes rejection

## How this service works

Schema conformity — Secondary-measure weighted mean + Date by category pivot: Secondary-measure weighted mean + Date by category pivot for supplied schema conformity records (valid_records, checked_records). 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 computed from the supplied schema conformity rows: (1) a weighted mean of the selected measure (valid_records or checked_records) weighted by the secondary measure, and (2) a date-by-category pivot table grouping conformity counts by date and dataset_group. Both reports are derived locally from the submitted data with no external lookups.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/schema-conformity-analytics-weighted-mean-date-category-pivot-0d61f847/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)
