# Validate AssemblyScript JSON Schema

> Validate AssemblyScript JSON Schema 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-18).

Validates a JSON document against a pinned SchemaStore definition for AssemblyScript, reporting any rule violations via JSON pointers.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-assemblyscript-ac32d07c-validate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-18
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validate-assemblyscript-json-schema-ff3c1cf2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_YbWwwbquzskOmFRviI4ge

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 validate-assemblyscript-json-schema-ff3c1cf2 -d '<json body>'
```

Example prompt: Can you validate this AssemblyScript JSON config for me and tell me which fields are invalid or violate the schema rules? Here's the document: {"targets":{"release":{"optimizeLevel":3,"shrinkLevel":1}}}

## When to prefer this

Choose this endpoint when you need to validate a JSON document specifically against the AssemblyScript SchemaStore schema and want precise JSON pointer-level violation reporting. It is ideal for CI pipelines, pre-commit hooks, or agent workflows that need fast, deterministic schema compliance checks without needing YAML/TOML parsing or deployment guarantees.

## Known failure modes

- Document exceeds 100 KB limit — rejected with size error
- JSON nesting deeper than 32 levels — rejected
- Malformed JSON submitted (not valid JSON at all) — parse error returned
- Network or service unavailability — HTTP 5xx response
- Payment not included or insufficient — HTTP 402 response

## How this service works

Validate AssemblyScript: Validate a JSON document for AssemblyScript. Uses a pinned SchemaStore definition on this PC. Reports JSON pointers and rule violations. Up to 100 KB per document; no YAML/TOML parsing or deployment/security guarantee. 0.01 USDC includes one JSON document validation.

## Output

The endpoint returns a validation report indicating whether the JSON document conforms to the pinned AssemblyScript SchemaStore definition, including a list of JSON pointer paths where rule violations occur, so the caller knows exactly which fields are invalid and why.

## Request schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/validate-assemblyscript-json-schema-ff3c1cf2/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)
