# Validate Detekt Config (detekt.yml)

> Validate Detekt Config (detekt.yml) 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-15).

Validates a JSON document representing a Detekt configuration file against a pinned SchemaStore definition, reporting JSON pointer paths and rule violations.

## Facts

- Endpoint: POST https://market.datapackvibe.com/x402/assistant-schema-detekt-config-detekt-yml-536ec89e-validate?utm_source=zero.xyz
- Price: $0.01/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-15
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/validate-detekt-config-detekt-yml-be34f94f
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_IkVULJ2Q_HG5zWjppfCxI

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-detekt-config-detekt-yml-be34f94f -d '<json body>'
```

Example prompt: Can you validate this Detekt config JSON for me and tell me if there are any schema violations or incorrect fields?

## When to prefer this

Choose this endpoint when you need to validate a Detekt configuration file (expressed as JSON) against the official SchemaStore schema definition, particularly in automated pipelines or agent workflows where you want programmatic violation reports with JSON pointer paths rather than manual inspection.

## Known failure modes

- Document exceeds 100 KB size limit — rejected with size error
- JSON nesting exceeds 32 levels — rejected with depth error
- Malformed JSON submitted (not valid JSON) — parse error returned
- Schema definition unavailable or stale on server — may return unexpected results
- YAML or TOML input submitted instead of JSON — not parsed, rejected

## How this service works

Validate Detekt Config (detekt.yml): Validate a JSON document for Detekt Config (detekt.yml). 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

Returns a validation report indicating whether the submitted JSON document conforms to the pinned Detekt Config SchemaStore definition, including JSON pointer paths and descriptions of any rule violations found.

## 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-detekt-config-detekt-yml-be34f94f/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)
