{"id":13579272,"url":"https://github.com/opis/json-schema","last_synced_at":"2025-04-29T21:22:51.530Z","repository":{"id":37549551,"uuid":"112801482","full_name":"opis/json-schema","owner":"opis","description":"JSON Schema validator for PHP","archived":false,"fork":false,"pushed_at":"2025-03-05T20:05:44.000Z","size":611,"stargazers_count":584,"open_issues_count":7,"forks_count":61,"subscribers_count":16,"default_branch":"master","last_synced_at":"2025-04-29T17:47:09.361Z","etag":null,"topics":["json-pointer","json-schema","opis","php"],"latest_commit_sha":null,"homepage":"https://opis.io/json-schema","language":"PHP","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"apache-2.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/opis.png","metadata":{"files":{"readme":"README.md","changelog":null,"contributing":null,"funding":null,"license":"LICENSE","code_of_conduct":null,"threat_model":null,"audit":null,"citation":null,"codeowners":null,"security":"SECURITY.md","support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-12-02T01:02:24.000Z","updated_at":"2025-04-11T03:58:15.000Z","dependencies_parsed_at":"2025-01-07T18:06:15.243Z","dependency_job_id":"b3f620fb-4592-44f5-8ddd-e40aacbe0030","html_url":"https://github.com/opis/json-schema","commit_stats":{"total_commits":175,"total_committers":16,"mean_commits":10.9375,"dds":0.2571428571428571,"last_synced_commit":"c48df6d7089a45f01e1c82432348f2d5976f9bfb"},"previous_names":[],"tags_count":29,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opis%2Fjson-schema","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opis%2Fjson-schema/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opis%2Fjson-schema/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/opis%2Fjson-schema/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/opis","download_url":"https://codeload.github.com/opis/json-schema/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":251583769,"owners_count":21612901,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2022-07-04T15:15:14.044Z","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-pointer","json-schema","opis","php"],"created_at":"2024-08-01T15:01:37.927Z","updated_at":"2025-04-29T21:22:51.512Z","avatar_url":"https://github.com/opis.png","language":"PHP","funding_links":[],"categories":["PHP","Who Uses the Test Suite"],"sub_categories":["PHP"],"readme":"Opis JSON Schema\n====================\n[![Tests](https://github.com/opis/json-schema/workflows/Tests/badge.svg)](https://github.com/opis/json-schema/actions)\n[![Packagist Version](https://img.shields.io/packagist/v/opis/json-schema?label=Version)](https://packagist.org/packages/opis/json-schema)\n[![Packagist Downloads](https://img.shields.io/packagist/dt/opis/json-schema?label=Downloads)](https://packagist.org/packages/opis/json-schema)\n[![Packagist License](https://img.shields.io/packagist/l/opis/json-schema?color=teal\u0026label=License)](https://packagist.org/packages/opis/json-schema)\n\nValidate JSON documents\n-----------\n\n**Opis JSON Schema** is a PHP implementation for the [JSON Schema] standard (draft-2020-12, draft-2019-09, draft-07 and draft-06), that\nwill help you validate all sorts of JSON documents, whether they are configuration files or a set \nof data sent to a RESTful API endpoint.\n\n\n**The library's key features:**\n\n- Supports all keywords from all drafts (draft-2020-12 down to draft-06)\n- Support for custom errors inside schema using [`$error` keyword](https://opis.io/json-schema/2.x/errors.html)\n- Support for custom PHP filters using [`$filters` keyword](https://docs.opis.io/json-schema/2.x/filters.html)\n- Advanced schema reuse using [`$map` keyword](https://docs.opis.io/json-schema/2.x/mappers.html)\n- Intuitive schema composition using [slots](https://docs.opis.io/json-schema/2.x/slots.html)\n- Support for absolute \u0026 relative [json pointers](https://docs.opis.io/json-schema/2.x/pointers.html)\n- Support for [URI templates](https://docs.opis.io/json-schema/2.x/uri-template.html)\n- Support for [`$data` keyword](https://docs.opis.io/json-schema/2.x/data-keyword.html)\n- Support for [casting](https://docs.opis.io/json-schema/2.x/pragma.html#cast)\n- Support for custom [formats](https://docs.opis.io/json-schema/2.x/php-format.html) and [media types](https://docs.opis.io/json-schema/2.x/php-media-type.html)\n\n### Documentation\n\nThe full documentation for this library can be found [here][documentation].\nWe provide documentation for both [JSON Schema] standard itself as well as for\nthe library's own API. \n\n### License\n\n**Opis JSON Schema** is licensed under the [Apache License, Version 2.0][apache_license].\n\n### Requirements\n\n* PHP ^7.4 || ^8.0\n\n## Installation\n\n**Opis JSON Schema** is available on [Packagist] and it can be installed from a \ncommand line interface by using [Composer]. \n\n```bash\ncomposer require opis/json-schema\n```\n\nOr you could directly reference it into your `composer.json` file as a dependency\n\n```json\n{\n    \"require\": {\n        \"opis/json-schema\": \"^2.4\"\n    }\n}\n```\n\n[documentation]: https://opis.io/json-schema\n[apache_license]: https://www.apache.org/licenses/LICENSE-2.0 \"Apache License\"\n[Packagist]: https://packagist.org/packages/opis/json-schema \"Packagist\"\n[Composer]: https://getcomposer.org \"Composer\"\n[JSON Schema]: http://json-schema.org/ \"JSON Schema\"\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopis%2Fjson-schema","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fopis%2Fjson-schema","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fopis%2Fjson-schema/lists"}