# Identity Records - Schema Directionality Validator

> Identity Records - Schema Directionality Validator is a paid API for AI agents from www.mahastrategies.com, paid per call via x402, $0.035109/call, status unknown (last checked 2026-10-25).

Compares export-field schema directionality (before vs. after) to detect breaking changes in field removal, type changes, or weakened required/non-null guarantees for offline, nonpersonal public agent credential metadata.

## Facts

- Endpoint: POST https://www.mahastrategies.com/api/v1/verify/identity-records/schema-directionality?utm_source=zero.xyz
- Price: $0.035109/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-25
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/identity-records-schema-directionality-validator-1c9620d0
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_6BvUB5ANDEMIBMScAxFFW

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 identity-records-schema-directionality-validator-1c9620d0 -d '<json body>'
```

Example prompt: Can you check whether my public nonpersonal credential schema changes are safe — specifically compare the before field list [credentialId, issuer, issuedAt] against the after list [credentialId, issuedAt] to see if removing the 'issuer' field breaks any declared reader guarantees?

## When to prefer this

Choose this endpoint when you need a lightweight, offline, typed comparison of export schema field sets to detect breaking changes in nonpersonal agent credential metadata contracts — specifically for public or synthetic data classes. Prefer this over general schema diff tools when you need strict directionality semantics (field removal, type weakening, required/non-null promise degradation) evaluated against declared reader guarantees. Do not use this for live identity resolution, DID lookup, signature verification, or personal data schemas.

## Known failure modes

- before array is empty or missing (minItems:1 violated) — validation error returned
- after array exceeds 32 items (maxItems exceeded) — request rejected
- dataClass not in allowed enum ['public','synthetic'] — schema validation error
- nonpersonalMetadata not set to true (const:true violated) — request rejected
- malformed field entries in before/after arrays — parsing error
- service unavailable causing no comparison result returned

## How this service works

Compare closed export-field guarantees. Removing fields, changing types or weakening required/non-null promises breaks the declared reader; extra fields depend on its explicit strictness for public nonpersonal agent credential declarations. No DID resolution, live revocation lookup, signature verification, person identification, key custody or identity certification. Offline typed nonpersonal metadata only. Result retention: 24 hours; minimal receipt metadata: 90 days.

## Output

Returns a structured comparison of before and after schema field sets, flagging breaking changes such as removed fields, type alterations, or weakened required/non-null guarantees. Indicates whether the schema evolution is safe for declared readers given their strictness on extra fields. Does not perform DID resolution, live revocation, signature verification, person identification, or key custody. Results are retained for 24 hours; minimal receipt metadata is retained for 90 days.

## 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/identity-records-schema-directionality-validator-1c9620d0/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)
