{"uid":"cap_spkMjzIHEQKp3cL1RY9Gy","slug":"json-schema-draft-04-validator-c1304e85","name":"JSON Schema Draft-04 Validator","description":"Call when an agent needs a limited JSON Schema draft-04 check. Dialects disagree on exclusive bounds and format. Exact $0.005 USDC. Prefer unpaid POST /v1/sandbox/check-schema-draft-04 first.","url":"https://agentshelf.syntexa.ch/v1/check-schema-draft-04?utm_source=zero.xyz","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"data":{"examples":[{"a":1}],"description":"JSON value for schema-check SKUs. Omit it on string checks such as email or IBAN."},"value":{"type":"string","examples":["{\"a\":1}"],"maxLength":20000,"minLength":1,"description":"Value to check. The route description names the format: email, phone, IBAN, postal code, VAT, national id, or similar."},"schema":{"examples":[{"type":"object","required":["a"],"properties":{"a":{"type":"integer"}}}],"description":"JSON Schema document for schema-check SKUs. Omit it on string checks."}}},"responseSchema":null,"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.005","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.005/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.005","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm__xoyEiD42ZLopyLkRwrHY","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.005","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Validates a JSON value against a provided JSON Schema draft-04 schema, returning compliance results","exampleAgentPrompt":"Can you check whether this JSON value — {\"age\": 25, \"name\": \"Alice\"} — is valid against this draft-04 schema: {\"type\": \"object\", \"properties\": {\"age\": {\"type\": \"integer\", \"minimum\": 0}, \"name\": {\"type\": \"string\"}}, \"required\": [\"name\"]}?","exampleUseCases":[{"title":"API payload schema compliance check","prompt":"I need you to validate this API response payload against our draft-04 schema — the payload is {\"id\": 42, \"status\": \"active\"} and the schema requires id to be an integer and status to be either 'active' or 'inactive'. Does it pass?"},{"title":"Exclusive bounds dialect verification","prompt":"Can you check whether the value 10 satisfies this draft-04 schema that uses exclusiveMaximum: {\"type\": \"number\", \"maximum\": 10, \"exclusiveMaximum\": true}? I want to confirm how draft-04 handles the exclusive bound here."},{"title":"CI pipeline JSON schema gating","prompt":"Before I merge this config file, validate that {\"timeout\": 30, \"retries\": 3, \"endpoint\": \"https://example.com\"} conforms to our required draft-04 schema that mandates endpoint be a URI-format string and timeout be a positive integer."}],"resultDescription":"Returns a validation result indicating whether the provided JSON value conforms to the given draft-04 schema, including any specific errors, property violations, or format/exclusive-bound issues detected during the check.","failureModes":["Schema is not valid draft-04 (returns parse or dialect error)","Value field is empty or exceeds 20,000 character limit (rejected by input constraints)","Non-draft-04 schema features used (behavior undefined or incorrect due to dialect differences)","Malformed JSON in schema or value field (parse error returned)","Network or payment failure prevents the call from completing"],"whenToPreferThis":"Use this endpoint when you specifically need draft-04 JSON Schema validation and cannot use a free local validator. Prefer a free alternative (POST /v1/sandbox/check-schema-draft-04) first. Choose this paid endpoint when the free option is unavailable, rate-limited, or when operating in an automated pipeline that already handles x402 micropayments. Note that draft-04 has dialect-specific behavior around exclusiveMaximum/exclusiveMinimum and format keywords — use this only when draft-04 compatibility is explicitly required, not for draft-07 or later.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-24T00:42:07.274Z","isFirstParty":false,"canonicalSlug":"json-schema-draft-04-validator-c1304e85"}