├── .github └── workflows │ ├── ci.yml │ └── release.yml ├── .gitignore ├── .rspec ├── Gemfile ├── Gemfile.lock ├── LICENSE.txt ├── README.md ├── RELEASE.md ├── Rakefile ├── bin ├── console ├── setup └── test ├── lib ├── ruby_llm │ ├── schema.rb │ └── schema │ │ ├── dsl.rb │ │ ├── dsl │ │ ├── complex_types.rb │ │ ├── primitive_types.rb │ │ ├── schema_builders.rb │ │ └── utilities.rb │ │ ├── errors.rb │ │ ├── helpers.rb │ │ ├── json_output.rb │ │ ├── validator.rb │ │ └── version.rb └── tasks │ └── release.rake ├── ruby_llm-schema.gemspec └── spec ├── ruby_llm └── schema │ ├── entry_points │ ├── class_inheritance_spec.rb │ ├── factory_spec.rb │ └── helpers_spec.rb │ ├── properties │ ├── any_of_spec.rb │ ├── arrays_spec.rb │ ├── booleans_spec.rb │ ├── definitions_reference_spec.rb │ ├── nested_schemas_spec.rb │ ├── null_spec.rb │ ├── numbers_spec.rb │ ├── objects_spec.rb │ ├── one_of_spec.rb │ └── strings_spec.rb │ └── robustness │ ├── comprehensive_scenarios_spec.rb │ ├── error_handling_spec.rb │ ├── instance_methods_spec.rb │ └── validation_spec.rb ├── spec_helper.rb └── support └── schema_builders.rb /.github/workflows/ci.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/.github/workflows/ci.yml -------------------------------------------------------------------------------- /.github/workflows/release.yml: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/.github/workflows/release.yml -------------------------------------------------------------------------------- /.gitignore: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/.gitignore -------------------------------------------------------------------------------- /.rspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/.rspec -------------------------------------------------------------------------------- /Gemfile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/Gemfile -------------------------------------------------------------------------------- /Gemfile.lock: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/Gemfile.lock -------------------------------------------------------------------------------- /LICENSE.txt: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/LICENSE.txt -------------------------------------------------------------------------------- /README.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/README.md -------------------------------------------------------------------------------- /RELEASE.md: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/RELEASE.md -------------------------------------------------------------------------------- /Rakefile: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/Rakefile -------------------------------------------------------------------------------- /bin/console: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/bin/console -------------------------------------------------------------------------------- /bin/setup: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/bin/setup -------------------------------------------------------------------------------- /bin/test: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/bin/test -------------------------------------------------------------------------------- /lib/ruby_llm/schema.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/dsl.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/dsl.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/dsl/complex_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/dsl/complex_types.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/dsl/primitive_types.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/dsl/primitive_types.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/dsl/schema_builders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/dsl/schema_builders.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/dsl/utilities.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/dsl/utilities.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/errors.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/errors.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/helpers.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/helpers.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/json_output.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/json_output.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/validator.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/validator.rb -------------------------------------------------------------------------------- /lib/ruby_llm/schema/version.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/ruby_llm/schema/version.rb -------------------------------------------------------------------------------- /lib/tasks/release.rake: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/lib/tasks/release.rake -------------------------------------------------------------------------------- /ruby_llm-schema.gemspec: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/ruby_llm-schema.gemspec -------------------------------------------------------------------------------- /spec/ruby_llm/schema/entry_points/class_inheritance_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/entry_points/class_inheritance_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/entry_points/factory_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/entry_points/factory_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/entry_points/helpers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/entry_points/helpers_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/any_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/any_of_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/arrays_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/arrays_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/booleans_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/booleans_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/definitions_reference_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/definitions_reference_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/nested_schemas_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/nested_schemas_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/null_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/null_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/numbers_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/numbers_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/objects_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/objects_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/one_of_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/one_of_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/properties/strings_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/properties/strings_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/robustness/comprehensive_scenarios_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/robustness/comprehensive_scenarios_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/robustness/error_handling_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/robustness/error_handling_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/robustness/instance_methods_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/robustness/instance_methods_spec.rb -------------------------------------------------------------------------------- /spec/ruby_llm/schema/robustness/validation_spec.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/ruby_llm/schema/robustness/validation_spec.rb -------------------------------------------------------------------------------- /spec/spec_helper.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/spec_helper.rb -------------------------------------------------------------------------------- /spec/support/schema_builders.rb: -------------------------------------------------------------------------------- https://raw.githubusercontent.com/danielfriis/ruby_llm-schema/HEAD/spec/support/schema_builders.rb --------------------------------------------------------------------------------