{"id":13822116,"url":"https://github.com/json-patch/json-patch-tests","last_synced_at":"2025-05-16T15:32:47.857Z","repository":{"id":5762929,"uuid":"6975976","full_name":"json-patch/json-patch-tests","owner":"json-patch","description":"Tests for implementations of json-patch","archived":false,"fork":true,"pushed_at":"2020-05-04T18:06:19.000Z","size":49,"stargazers_count":68,"open_issues_count":8,"forks_count":21,"subscribers_count":16,"default_branch":"master","last_synced_at":"2024-11-11T18:52:33.722Z","etag":null,"topics":["ietf","json","json-patch","spec-tests"],"latest_commit_sha":null,"homepage":null,"language":null,"has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":"mikemccabe/json-patch-tests","license":null,"status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/json-patch.png","metadata":{"files":{"readme":"README.md","changelog":null,"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":"2012-12-03T03:16:03.000Z","updated_at":"2024-07-18T12:18:40.000Z","dependencies_parsed_at":null,"dependency_job_id":null,"html_url":"https://github.com/json-patch/json-patch-tests","commit_stats":null,"previous_names":[],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json-patch%2Fjson-patch-tests","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json-patch%2Fjson-patch-tests/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json-patch%2Fjson-patch-tests/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/json-patch%2Fjson-patch-tests/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/json-patch","download_url":"https://codeload.github.com/json-patch/json-patch-tests/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":225436530,"owners_count":17474162,"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":["ietf","json","json-patch","spec-tests"],"created_at":"2024-08-04T08:01:43.694Z","updated_at":"2024-11-19T22:32:20.107Z","avatar_url":"https://github.com/json-patch.png","language":null,"readme":"JSON Patch Tests\n================\n\nThese are test cases for implementations of [IETF JSON Patch (RFC6902)](http://tools.ietf.org/html/rfc6902).\n\nSome implementations can be found at [jsonpatch.com](http://jsonpatch.com).\n\n\nTest Format\n-----------\n\nEach test file is a JSON document that contains an array of test records. A\ntest record is an object with the following members:\n\n- doc: The JSON document to test against\n- patch: The patch(es) to apply\n- expected: The expected resulting document, OR\n- error: A string describing an expected error\n- comment: A string describing the test\n- disabled: True if the test should be skipped\n\nAll fields except 'doc' and 'patch' are optional. Test records consisting only\nof a comment are also OK.\n\n\nFiles\n-----\n\n- tests.json: the main test file\n- spec_tests.json: tests from the RFC6902 spec\n\n\nWriting Tests\n-------------\n\nAll tests should have a descriptive comment.  Tests should be as\nsimple as possible - just what's required to test a specific piece of\nbehavior.  If you want to test interacting behaviors, create tests for\neach behavior as well as the interaction.\n\nIf an 'error' member is specified, the error text should describe the\nerror the implementation should raise - *not* what's being tested.\nImplementation error strings will vary, but the suggested error should\nbe easily matched to the implementation error string.  Try to avoid\ncreating error tests that might pass because an incorrect error was\nreported.\n\nPlease feel free to contribute!\n\n\nCredits\n-------\n\nThe seed test set was adapted from Byron Ruth's\n[jsonpatch-js](https://github.com/bruth/jsonpatch-js/blob/master/test.js) and\nextended by [Mike McCabe](https://github.com/mikemccabe).\n\n\nLicense\n-------\n\n   Copyright 2014 The Authors\n\n   Licensed under the Apache License, Version 2.0 (the \"License\");\n   you may not use this file except in compliance with the License.\n   You may obtain a copy of the License at\n\n       http://www.apache.org/licenses/LICENSE-2.0\n\n   Unless required by applicable law or agreed to in writing, software\n   distributed under the License is distributed on an \"AS IS\" BASIS,\n   WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n   See the License for the specific language governing permissions and\n   limitations under the License.\n\n","funding_links":[],"categories":["Others"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson-patch%2Fjson-patch-tests","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjson-patch%2Fjson-patch-tests","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjson-patch%2Fjson-patch-tests/lists"}