/install datagate
DataGate
Validate any JSON payload against a JSON Schema.
Start the server
uvicorn datagate.app:app --port 8004
Validate data
curl -s -X POST http://localhost:8004/v1/validate \
-H "Content-Type: application/json" \
-d '{
"json_schema": {
"type": "object",
"properties": {"name": {"type": "string"}, "age": {"type": "integer", "minimum": 0}},
"required": ["name", "age"]
},
"payload": {"name": "Alice", "age": 30}
}' | jq
Returns valid (true/false), error_count, and errors (each with path pointing to the exact field and message explaining the violation).
Handles invalid schemas too
If you send a broken schema, DataGate catches it and returns an error pointing to $schema with a clear message. No crashes.
Use case
Agents passing data between services can validate payloads before sending. Non-Python agents get Pydantic-grade validation via a simple API call.
- Make sure OpenClaw is installed (local or Docker)
- Run the install command in chat:
/install datagate - After installation, invoke the skill by name or use
/datagate - Provide required inputs per the skill's parameter spec and get structured output
What is Datagate?
Validate JSON data against a JSON Schema (Draft 2020-12). Post a schema and payload, get back whether it's valid plus detailed error paths and messages for e... It is an AI Agent Skill for Claude Code / OpenClaw, with 104 downloads so far.
How do I install Datagate?
Run "/install datagate" in the OpenClaw or Claude Code chat to install it in one step — no extra setup required.
Is Datagate free?
Yes, Datagate is completely free, licensed under MIT-0. You can download, install and use it at no cost.
Which platforms does Datagate support?
Datagate is cross-platform and runs anywhere OpenClaw / Claude Code is available (cross-platform).
Who created Datagate?
It is built and maintained by mirni (@mirni); the current version is v1.0.0.