schematist
A simple and clean Ruby DSL for creating JSON schemas.
File Explorer
- _gitleaks.yml
- _lint.yml
- _test-matrix.yml
- main.yml
- pr.yml
- release-compat.yml
- release.yml
- console
- gitleaks-staged
- setup
- test
- schema.rb
- README.md
- ruby_llm-schema.gemspec
- complex_types.rb
- conditional_builder.rb
- conditional_context.rb
- conditionals.rb
- primitive_types.rb
- schema_builders.rb
- utilities.rb
- dsl.rb
- errors.rb
- helpers.rb
- json_output.rb
- schema.rb
- validator.rb
- version.rb
- release.rake
- schematist.rb
- class_inheritance_spec.rb
- factory_spec.rb
- helpers_spec.rb
- all_of_spec.rb
- any_of_spec.rb
- array_validation_keywords_spec.rb
- arrays_spec.rb
- boolean_and_raw_schemas_spec.rb
- booleans_spec.rb
- conditionals_spec.rb
- content_annotations_spec.rb
- core_keywords_spec.rb
- definitions_reference_spec.rb
- metadata_annotations_spec.rb
- nested_schemas_spec.rb
- none_of_spec.rb
- null_spec.rb
- numbers_spec.rb
- object_validation_keywords_spec.rb
- objects_spec.rb
- one_of_spec.rb
- self_schema_spec.rb
- strings_spec.rb
- unevaluated_spec.rb
- comprehensive_scenarios_spec.rb
- error_handling_spec.rb
- instance_methods_spec.rb
- runtime_values_spec.rb
- validation_spec.rb
- compat_alias_spec.rb
- file_layout_spec.rb
- json_output_spec.rb
- schema_builders.rb
- simplecov_configuration.rb
- spec_helper.rb
- .gitignore
- .gitleaks.toml
- .overcommit.yml
- .rspec
- .rubocop.yml
- codecov.yml
- CONTRIBUTING.md
- Gemfile
- LICENSE
- Rakefile
- README.md
- RELEASE.md
- schematist.gemspec
# Use via CDN
jsDelivrjsDelivr serves any public GitHub repository as a CDN with zero setup. Pick a version and a file to get a ready-to-paste link and snippet.
Command Glossary
Commands referenced in this DOCs, explained below.
bundle
View Details ▼
bundle
Dependency manager for the Ruby programming language.
bundle install
Install all gems defined in the `Gemfile` expected in the working directory:
bundle exec {{command}} {{arguments}}
Execute a command in the context of the current bundle:
bundle update
Update all gems by the rules defined in the `Gemfile` and regenerate `Gemfile.lock`:
gem
View Details ▼
gem
A package manager for the Ruby programming language.
gem search {{regex}} {{[-a|--all]}}
Search for remote gem(s) and show all available versions:
gem install {{gem_name}}
Install the latest version of a gem:
gem install {{gem_name}} {{[-v|--version]}} {{1.0.0}}
Install a specific version of a gem:
then
View Details ▼
then
This shell keyword is used in combination with `if` and `elif` to separate branches and branch conditions.
tldr if
View documentation for `if` command:
