Catalog/dev-jsonschema-validate-remote

Developer

Validate a document against a remote JSON Schema API

Fetches a JSON Schema by URL (any draft Ajv supports) and validates a supplied document against it, returning a valid flag, an error count, and per-error details (instance path, failing keyword, message, schema path). The MORE: the schema is resolved remotely so an agent supplies only the data and a schema URL — no need to embed or maintain the schema. Answers 'does my JSON conform to this published schema', 'validate this config against its official schema', 'why is my document invalid'.

Price$0.01per request
MethodPOST
Route/v1/dev/jsonschema-validate-remote
StatusLive
MIME typeapplication/json
Rate limit60/minute
Cache3600s public
devjson-schemavalidationajvschemaconformanceremotevalidate
API URLhttps://x402.hexl.dev/v1/dev/jsonschema-validate-remote
Integration docs
Example request
{
  "schemaUrl": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-funding.json",
  "document": {
    "github": "octocat"
  }
}
Example response
{
  "valid": true,
  "errorCount": 0,
  "errors": [],
  "schemaId": "https://json.schemastore.org/github-funding.json",
  "schemaUrl": "https://raw.githubusercontent.com/SchemaStore/schemastore/master/src/schemas/json/github-funding.json"
}
Input schema
{
  "type": "object",
  "required": [
    "schemaUrl",
    "document"
  ],
  "properties": {
    "schemaUrl": {
      "type": "string",
      "description": "Full http(s) URL to a JSON Schema."
    },
    "document": {
      "description": "The JSON value to validate against the schema."
    }
  }
}
Output schema
{
  "type": "object",
  "additionalProperties": true
}