{"uid":"cap_5vziDfeKxXi_-GqC3lGJs","slug":"creator-desk-json-contract-validator-e2350a0d","name":"Creator Desk JSON Contract Validator","description":"Machine-callable x402-paid utilities for autonomous agents.","url":"https://creator-desk-x402-isolated.onrender.com/v1/json/validate?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"description":"Any JSON value to validate."},"schema":{"type":"object","description":"Bounded JSON Schema subset. Unsupported keywords such as $ref, pattern, format, if/then/else and dependencies are rejected rather than ignored."}}},"responseSchema":{"type":"json","example":{"scope":"Deterministic validation against Creator Desk's documented bounded JSON Schema subset. It does not implement the full JSON Schema specification and rejects unsupported keywords instead of silently ignoring them.","valid":true,"errors":[],"version":"1.0.0","truncated":false,"product_id":"creator_desk_json_contract_validator","error_count":0,"validated_at":"2026-09-25T00:00:00.000Z","supported_keywords":["type","required","properties","additionalProperties","items","enum","const","minimum","maximum","exclusiveMinimum","exclusiveMaximum","minLength","maxLength","minItems","maxItems","minProperties","maxProperties","anyOf","allOf","oneOf","not"]}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.001","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.001/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.001","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_upG542ZPvwALb1FUzJz4G","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.001","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates any JSON value against a bounded JSON Schema subset, returning detailed error information and a pass/fail result.","exampleAgentPrompt":"Can you validate this JSON payload against my schema to check whether all required fields are present and the types are correct? Here's the data: {\"name\": \"Alice\", \"age\": 30} and the schema requires name as a string and age as an integer between 0 and 120.","exampleUseCases":[{"title":"API response contract verification","prompt":"Before we process this API response, can you check it against our expected schema to make sure it has all the required fields and correct types? The response is {\"id\": \"abc123\", \"status\": \"active\", \"score\": 4.5} and the schema requires id as a string, status as one of ['active','inactive'], and score as a number between 0 and 10."},{"title":"Agent output guardrail validation","prompt":"I need you to verify that the structured output my sub-agent just produced actually matches the expected contract before I pass it downstream — the data is {\"items\": [\"apple\", \"banana\"], \"count\": 2} and the schema requires items to be an array of strings and count to be a non-negative integer."},{"title":"User-submitted form data validation","prompt":"A user just submitted this form data and I want to make sure it's valid before saving it: {\"email\": \"bob@example.com\", \"age\": -5, \"role\": \"admin\"} — can you check it against a schema that requires email as a string, age as a minimum 0 integer, and role as either 'admin' or 'user'?"}],"resultDescription":"Returns a JSON object indicating whether the data is valid (boolean), a list of validation errors with details, error count, the timestamp of validation, the list of supported schema keywords, a version string, and whether results were truncated. The scope field clarifies this is a bounded JSON Schema subset, not full spec compliance.","failureModes":["Unsupported JSON Schema keywords (e.g. $ref, pattern, format, if/then/else, dependencies) are rejected with an error rather than silently ignored","Malformed or unparseable JSON input returns an error","Schema itself may fail validation if it uses unsupported constructs","Payment failure via x402 protocol results in 402 response and no validation performed","Network timeout if the Render.com service is cold-starting"],"whenToPreferThis":"Choose this endpoint when you need deterministic, paid-per-call JSON Schema validation with explicit rejection of unsupported keywords — particularly useful in agentic pipelines where silent pass-through of unsupported schema features would be dangerous. Prefer this over client-side libraries when you want a neutral third-party validation result logged with a timestamp, or when running in environments where installing npm/Python packages is impractical. The bounded keyword set makes it especially suitable for contracts you control, where strict keyword coverage is a feature rather than a limitation.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-13T00:40:57.022Z","isFirstParty":false,"canonicalSlug":"creator-desk-json-contract-validator-e2350a0d"}