# Schema Conformity Analytics: Two-Measure Correlation + Secondary-Measure Weighted Mean

> Schema Conformity Analytics: Two-Measure Correlation + 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-14).

Computes Pearson correlation between valid_records and checked_records, plus a weighted mean of a chosen secondary measure, across up to 200 schema conformity rows in a single paid call.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-ib26-analytics-02-181?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-two-measure-correlation-secondary-measure-935076ff
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_HVS0AnZGqBSiulOiwaHs9

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-two-measure-correlation-secondary-measure-935076ff -d '<json body>'
```

Example prompt: Run a two-measure correlation and weighted mean analysis on these schema conformity records — I have 4 rows with dataset groups 'group-a' and 'group-b', dates from 2026-10-01 to 2026-10-04, valid_records values of 10, 20, 15, 30 and checked_records values of 1, 2, 3, 4 — use valid_records as the secondary measure field.

## When to prefer this

Choose this endpoint when you have tabular schema conformity data with valid_records and checked_records columns and need two specific statistical outputs — Pearson correlation and weighted mean — computed together in a single low-cost call. It is purpose-built for data quality / data governance analytics on up to 200 rows and costs only $0.01 USDC for both reports. Prefer alternatives if you need prediction, live data lookup, more than 200 rows, or a different statistical measure.

## Known failure modes

- Fewer than 1 row submitted — minItems constraint violated
- More than 200 rows submitted — maxItems constraint violated
- Missing required fields (row_id, date, valid_records, checked_records) — schema validation error
- Date not matching YYYY-MM-DD pattern — pattern validation error
- Numeric values outside allowed range (±1 trillion) — schema violation
- Invalid 'field' enum value — rejected with validation error
- Both measures contain only nulls — correlation undefined, may return null or error

## How this service works

Schema conformity — Two-measure correlation + Secondary-measure weighted mean: Two-measure correlation + Secondary-measure weighted mean 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: (1) a Pearson correlation coefficient between the valid_records and checked_records columns across the submitted rows, and (2) a weighted mean of the user-selected secondary measure field. Both computations are performed locally on the supplied 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-two-measure-correlation-secondary-measure-935076ff/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)
