# Catalyst Measurements Schema Directionality

> Catalyst Measurements Schema Directionality is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.035181/call, status unknown (last checked 2026-10-16).

Compares before/after export field sets to detect directional breaking changes in a catalyst measurement schema.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/compute/catalyst-measurements/schema-directionality?utm_source=zero.xyz
- Price: $0.035181/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-16
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/catalyst-measurements-schema-directionality-f27a1094
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_wkVjBT9ucAPK7rQNJl_Xb

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 catalyst-measurements-schema-directionality-f27a1094 -d '<json body>'
```

Example prompt: Compare these two catalyst measurement field sets for directional breaking changes — before has fields [temperature, pressure, yield] and after has [temperature, yield, purity], data class is public, nonpersonal metadata is true, and the consumer does not allow extra fields.

## When to prefer this

Use this endpoint when you need to compare two snapshots of catalyst measurement export field declarations and need a directional assessment of breaking changes. Prefer this over general schema-diff tools when working within the mahastrategies.com catalyst/scientific data ecosystem. Note this is a closed export-field analysis, not independent certification — suitable for internal validation workflows.

## Known failure modes

- Empty or missing 'before' array (minItems:1 violated) returns validation error
- 'after' array exceeding 32 items returns schema violation
- Invalid 'dataClass' value outside ['public','synthetic'] enum returns rejection
- 'nonpersonalMetadata' not set to true (const:true) returns constraint error
- Malformed input JSON returns 400-level error

## How this service works

Compare closed export-field Supplied-record analysis, not independent certification. Full contract at the free describe URL.

## Output

Returns a directionality analysis of the supplied before/after field arrays, identifying which field changes constitute breaking changes, added fields, removed fields, and overall schema compatibility direction based on the declared data class and consumer tolerance settings.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "type": "array",
   "maxItems": 32,
   "minItems": 0
  },
  "before": {
   "type": "array",
   "maxItems": 32,
   "minItems": 1
  },
  "dataClass": {
   "enum": [
    "public",
    "synthetic"
   ],
   "type": "string"
  },
  "nonpersonalMetadata": {
   "type": "boolean",
   "const": true
  },
  "consumerAllowsExtraFields": {
   "type": "boolean"
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/catalyst-measurements-schema-directionality-f27a1094/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from www.mahastrategies.com](https://www.zero.xyz/host/www.mahastrategies.com/llms.txt)
