{"id":25950358,"url":"https://github.com/jtannas/katachi","last_synced_at":"2026-04-20T04:32:33.577Z","repository":{"id":280530427,"uuid":"942293763","full_name":"jtannas/katachi","owner":"jtannas","description":"A tool for describing and validating objects as intuitively as possible.","archived":false,"fork":false,"pushed_at":"2026-01-29T19:11:53.000Z","size":603,"stargazers_count":0,"open_issues_count":11,"forks_count":0,"subscribers_count":1,"default_branch":"main","last_synced_at":"2026-01-30T07:49:15.272Z","etag":null,"topics":["definitions","minitest-assertions","rspec","ruby","schema","validation"],"latest_commit_sha":null,"homepage":"https://jtannas.github.io/katachi/","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"mit","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jtannas.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE.txt","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null,"notice":null,"maintainers":null,"copyright":null,"agents":null,"dco":null,"cla":null}},"created_at":"2025-03-03T22:05:22.000Z","updated_at":"2026-01-29T19:11:56.000Z","dependencies_parsed_at":"2025-12-31T11:04:59.336Z","dependency_job_id":null,"html_url":"https://github.com/jtannas/katachi","commit_stats":null,"previous_names":["jtannas/katachi"],"tags_count":6,"template":false,"template_full_name":null,"purl":"pkg:github/jtannas/katachi","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtannas%2Fkatachi","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtannas%2Fkatachi/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtannas%2Fkatachi/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtannas%2Fkatachi/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jtannas","download_url":"https://codeload.github.com/jtannas/katachi/tar.gz/refs/heads/main","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jtannas%2Fkatachi/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":32032679,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-04-20T00:18:06.643Z","status":"online","status_checked_at":"2026-04-20T02:00:06.527Z","response_time":94,"last_error":null,"robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":true,"can_crawl_api":true,"host_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub","repositories_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories","repository_names_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repository_names","owners_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners"}},"keywords":["definitions","minitest-assertions","rspec","ruby","schema","validation"],"created_at":"2025-03-04T12:54:32.704Z","updated_at":"2026-04-20T04:32:33.567Z","avatar_url":"https://github.com/jtannas.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"![Gem Version](https://img.shields.io/gem/v/katachi)\n[![Coverage Status](https://coveralls.io/repos/github/jtannas/katachi/badge.svg?branch=main)](https://coveralls.io/github/jtannas/katachi?branch=main)\n![CodeRabbit Pull Request Reviews](https://img.shields.io/coderabbit/prs/github/jtannas/katachi)\n\n# Katachi\n\nA tool for describing and validating objects as intuitively as possible.\n\n```ruby\nKatachi.compare(\n    value: {name: 'John', age: 30},\n    shape: {name: String, age: Integer}\n).match? # =\u003e true\n```\n\nFind out more at [jtannas.github.io/katachi](https://jtannas.github.io/katachi/).\n\n## Installation\n\nInstall the gem and add to the application's Gemfile by executing:\n\n```bash\n$ bundle add katachi\n```\n\nIf bundler is not being used to manage dependencies, install the gem by executing:\n\n```bash\n$ gem install katachi\n```\n\n## Future Features Under Consideration\n\n- [ ] More shapes (e.g. `:$email`, `:$url`, `:$iso_8601`)\n- [ ] More \"matching modifiers\" (e.g. `all_of`, `one_of`, `none_of`)\n- [ ] More output formats (e.g. `to_json`, `to_hash`, etc...)\n- [ ] Custom shape codes (e.g. `:email_is_invalid`)\n- [ ] Rails integration (e.g. `validates_shape_of`)\n- [ ] Shape-to-TypeScript conversion\n- [ ] Shape-to-Zod conversion\n- [ ] Shape-to-OpenAPI conversion\n- [ ] `katachi-rspec-api` for testing+documenting APIs in a way inspired by [RSwag](https://github.com/rswag/rswag)\n\n## Development and Contributing\n\nSee [CONTRIBUTING.md](./docs/Contributing/Contributing.md) for information on how to contribute to Katachi.\nAlternatively, you can check out the [Contributing](https://jtannas.github.io/katachi/docs/Contributing) section on the documentation site.\n\n## License\n\nThe gem is available as open source under the terms of the [MIT License](https://opensource.org/licenses/MIT).\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtannas%2Fkatachi","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjtannas%2Fkatachi","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjtannas%2Fkatachi/lists"}