Structured Output Schemas

July 29, 2025 ยท View on GitHub

JSON schemas for configuring AI agents that require structured output formats. This library provides reusable schema templates to save time when setting up AI agents with specific output requirements.

Purpose

When working with AI agents that need to produce structured, predictable output formats, defining the correct JSON schema can be time-consuming and error-prone. This repository contains battle-tested schemas for common use cases, allowing you to quickly configure your AI agents with proven output structures.

Usage

Each schema is designed to be used with AI frameworks that support structured output (such as OpenAI's function calling, Anthropic's tool use, or other structured generation systems). Simply reference the appropriate schema file when configuring your agent.

Schema Categories

Email & Communication

  • html-email-body.json - Gmail-compliant HTML email body generation

Schema Format

Each schema follows JSON Schema Draft 7 specification and includes:

  • Clear property descriptions
  • Type definitions
  • Required field specifications
  • Example values where helpful