{"id":25818984,"url":"https://github.com/ahx/jsonapi_schema","last_synced_at":"2026-06-08T01:31:01.016Z","repository":{"id":56879493,"uuid":"176908220","full_name":"ahx/jsonapi_schema","owner":"ahx","description":"https://jsonapi.org/schema packed in a rubygem","archived":false,"fork":false,"pushed_at":"2020-02-29T16:55:50.000Z","size":26,"stargazers_count":0,"open_issues_count":1,"forks_count":0,"subscribers_count":0,"default_branch":"master","last_synced_at":"2026-05-21T10:48:05.116Z","etag":null,"topics":["json-api","jsonapi"],"latest_commit_sha":null,"homepage":"","language":"Ruby","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/ahx.png","metadata":{"files":{"readme":"README.md","changelog":"CHANGELOG.md","contributing":null,"funding":null,"license":null,"code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":null,"support":null}},"created_at":"2019-03-21T09:05:01.000Z","updated_at":"2019-07-06T23:51:48.000Z","dependencies_parsed_at":"2022-08-20T23:40:11.311Z","dependency_job_id":null,"html_url":"https://github.com/ahx/jsonapi_schema","commit_stats":null,"previous_names":["ivx/jsonapi_schema"],"tags_count":2,"template":false,"template_full_name":null,"purl":"pkg:github/ahx/jsonapi_schema","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahx%2Fjsonapi_schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahx%2Fjsonapi_schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahx%2Fjsonapi_schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahx%2Fjsonapi_schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/ahx","download_url":"https://codeload.github.com/ahx/jsonapi_schema/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/ahx%2Fjsonapi_schema/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":34044919,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-05-26T15:22:16.424Z","status":"online","status_checked_at":"2026-06-07T02:00:07.652Z","response_time":124,"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":["json-api","jsonapi"],"created_at":"2025-02-28T08:14:18.899Z","updated_at":"2026-06-08T01:31:00.995Z","avatar_url":"https://github.com/ahx.png","language":"Ruby","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JsonapiSchema\n\n[![Build Status](https://travis-ci.org/ahx/jsonapi_schema.svg?branch=master)](https://travis-ci.org/ahx/jsonapi_schema)\n\nThis is the [JSON:API JSON Schema](http://jsonapi.org/schema) packaged as a rubygem.\nUse this to validate a HTTP response body according to [JSON:API](http://jsonapi.org).\n\n## Installation\n\nAdd this line to your application's Gemfile:\n\n```ruby\ngroup :test, :development do\n  gem 'jsonapi_schema'\nend\n```\n\nAnd then execute:\n\n    $ bundle\n\n## Usage\n\n```ruby\nJsonapiSchema.schema_path # returns path to the schema file, a String\n\nJsonapiSchema::MEDIA_TYPE # alias: JsonapiSchema::CONTENT_TYPE\n# =\u003e 'application/vnd.api+json'\n\nJsonapiSchema.schema # returns the parsed object, a Hash\n```\n\nValidate your response using [json_schemer](http://rubygems.org/gems/json_schemer) (not part of this gem):\n\n```ruby\nrequire 'json_schemer'\n\nschemer = JSONSchemer.schema(JsonapiSchema.schema)\nschemer.valid?(JSON.parse(last_response.body))\n# =\u003e true/false\n```\n\n## Development\n\nAfter checking out the repo, run `bin/setup` to install dependencies. Then, run `rake spec` to run the tests. You can also run `bin/console` for an interactive prompt that will allow you to experiment.\n\nTo install this gem onto your local machine, run `bundle exec rake install`. To release a new version, update the version number in `version.rb`, and then run `bundle exec rake release`, which will create a git tag for the version, push git commits and tags, and push the `.gem` file to [rubygems.org](https://rubygems.org).\n\n## Contributing\n\nBug reports and pull requests are welcome on GitHub at https://github.com/ahx/jsonapi_schema.\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahx%2Fjsonapi_schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fahx%2Fjsonapi_schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fahx%2Fjsonapi_schema/lists"}