Skip to content

Decide Draft 2020-12 output contract#57

Open
crmne wants to merge 1 commit into
issue-27-runtime-schema-valuesfrom
issue-32-draft-output-contract
Open

Decide Draft 2020-12 output contract#57
crmne wants to merge 1 commit into
issue-27-runtime-schema-valuesfrom
issue-32-draft-output-contract

Conversation

@crmne

@crmne crmne commented Jun 6, 2026

Copy link
Copy Markdown
Owner

Closes #32

Summary

  • Make to_json_schema return a pure Draft 2020-12 JSON Schema document
  • Add to_json_schema_document as an alias for the pure output
  • Keep the old RubyLLM/provider envelope available as to_ruby_llm_schema
  • Map schema names to JSON Schema title when no explicit root title exists
  • Omit provider-only strict from pure output and stringify keys for JSON compatibility
  • Document the migration path

Verification

  • bundle exec rake

@crmne crmne linked an issue Jun 8, 2026 that may be closed by this pull request
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

Decide Draft 2020-12 output contract

1 participant