DocRouter Schema icon

DocRouter Schema

Manage schemas (structured output definitions) in DocRouter.ai

Validate

AI-generated

Summary

Validate JSON data against a specific schema revision in DocRouter.ai.

Inputs

  • Schema Revision ID (required) — The ID of the schema revision to validate against.
  • Data to Validate (required) — The JSON object that will be validated against the specified schema revision.

Output shape

a single JSON object containing the validation result from the DocRouter.ai API

The output includes whether the data conforms to the schema and may include details about validation errors if present. If validation fails due to an error, an error message is returned optionally depending on error handling settings.

Links

Discussion