# Change Audit: nswag.json

> Change Audit: nswag.json 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-19).

Compares two nswag.json documents, reports added/removed/changed JSON paths, and validates both against a pinned SchemaStore schema to surface introduced or resolved errors.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-nswag-json-63f3f6d2-changes?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-19
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/change-audit-nswag-json-839110a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_I4OcRvS_AmD5zn88lfl1k

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 change-audit-nswag-json-839110a2 -d '<json body>'
```

Example prompt: Can you audit the changes I made to my nswag.json — here's the old version and the new version — and tell me what paths were added or removed and whether any new schema violations were introduced?

## When to prefer this

Choose this endpoint when you specifically need to audit changes to an nswag.json configuration file against its pinned SchemaStore definition, and want both a structural diff (added/removed/changed paths) and a before/after validation report in a single call. It is purpose-built for nswag.json and will catch schema violations specific to that format, unlike generic JSON diff tools or broader schema validators.

## Known failure modes

- Document exceeds 100 KB limit — request rejected
- JSON depth exceeds 32 levels — request rejected
- Malformed JSON in before or after field — parse error returned
- YAML or TOML input provided instead of JSON — not supported
- Network timeout or service unavailability — no result returned

## How this service works

Change audit: nswag.json: Audit JSON changes and validate before/after for nswag.json. Uses a pinned SchemaStore definition on this PC. Reports JSON pointers and rule violations, added/removed/changed paths and introduced/resolved errors. Up to 100 KB per document; no YAML/TOML parsing or deployment/security guarantee. 0.01 USDC includes one two-document change audit.

## Output

Returns a structured report listing JSON pointers for added, removed, and changed paths between the before and after documents, along with schema validation errors present in each version, identifying which errors were introduced and which were resolved by the change.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "properties": {
  "after": {
   "default": {
    "agent_market_example": true
   },
   "description": "JSON value to validate; maximum 100 KB, 32 levels."
  },
  "before": {
   "default": {},
   "description": "JSON value to validate; maximum 100 KB, 32 levels."
  }
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/change-audit-nswag-json-839110a2/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)
