OneAI
Docs
AJVValidationStable renderers

Reference: Schemas

Schemas define what valid output looks like.

Why schemas

They protect your UI and your automation layer.

  • Front-end can render without guessing types
  • Retries happen automatically on invalid outputs
  • Errors return issues[] for debugging