{"uid":"cap_JWxH2cmjAPzVnxxJ6JewB","slug":"validate-lego-json-684dda2a","name":"Validate lego.json","description":"Validate lego.json: Validate a JSON document for lego.json. 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.","url":"https://market.datapackvibe.com/x402/assistant-schema-lego-json-2c0c468e-validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"document":{"default":{},"description":"JSON value to validate; maximum 100 KB, 32 levels."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.01","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.01/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.01","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Yk1A3N6PKu32h43FtkSKC","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.01","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON document against the pinned SchemaStore lego.json schema, reporting JSON pointer paths and rule violations","exampleAgentPrompt":"Can you validate this JSON document against the lego.json schema and tell me if there are any rule violations or invalid fields?","exampleUseCases":[{"title":"CI pipeline lego.json check","prompt":"Before I merge this PR, can you validate this lego.json document and tell me exactly which fields are invalid or missing according to the schema?"},{"title":"Debug malformed lego.json config","prompt":"My lego.json file keeps getting rejected — can you run it through the lego.json validator and show me the JSON pointer paths where it's failing?"},{"title":"Confirm newly written lego.json","prompt":"I just wrote a lego.json from scratch — can you validate it against the SchemaStore definition and confirm it's correctly structured before I use it?"}],"resultDescription":"Returns a validation report indicating whether the submitted JSON document conforms to the pinned lego.json SchemaStore schema, including JSON pointer paths to any failing locations and descriptions of rule violations encountered.","failureModes":["Document exceeds 100 KB size limit — validation rejected","JSON nesting exceeds 32 levels — validation rejected","Input is not valid JSON (YAML/TOML not supported) — parse error returned","Schema definition unavailable or pinned version mismatch — validation may fail or return unexpected results","Malformed request body — HTTP error returned"],"whenToPreferThis":"Choose this endpoint when you specifically need to validate a JSON document against the lego.json schema as defined in SchemaStore. It is ideal for CI/CD pipelines, developer tooling, or agent workflows that need to verify lego.json correctness without standing up a local validator. Prefer this over generic JSON Schema validators when you want a pre-pinned, stable lego.json schema definition applied automatically.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-18T00:58:42.514Z","isFirstParty":false,"canonicalSlug":"validate-lego-json-684dda2a"}