{"id":14965896,"url":"https://github.com/eugene-matvejev/schema-battleship","last_synced_at":"2026-01-21T03:32:49.150Z","repository":{"id":102757733,"uuid":"101048328","full_name":"eugene-matvejev/schema-battleship","owner":"eugene-matvejev","description":"JSON schemas of the responses|requests for the battleship-game-api","archived":false,"fork":false,"pushed_at":"2019-10-28T13:06:47.000Z","size":73,"stargazers_count":1,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2026-01-12T22:51:40.567Z","etag":null,"topics":["composer-package","jest","json","json-schema","npm-package","yarn-packages"],"latest_commit_sha":null,"homepage":null,"language":"JavaScript","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/eugene-matvejev.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,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null}},"created_at":"2017-08-22T09:53:09.000Z","updated_at":"2019-10-28T13:06:45.000Z","dependencies_parsed_at":"2023-11-02T07:15:14.183Z","dependency_job_id":null,"html_url":"https://github.com/eugene-matvejev/schema-battleship","commit_stats":{"total_commits":62,"total_committers":2,"mean_commits":31.0,"dds":"0.25806451612903225","last_synced_commit":"174fdce7bf9765192c93408ff9162f18329d931c"},"previous_names":[],"tags_count":4,"template":false,"template_full_name":null,"purl":"pkg:github/eugene-matvejev/schema-battleship","repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-matvejev%2Fschema-battleship","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-matvejev%2Fschema-battleship/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-matvejev%2Fschema-battleship/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-matvejev%2Fschema-battleship/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/eugene-matvejev","download_url":"https://codeload.github.com/eugene-matvejev/schema-battleship/tar.gz/refs/heads/master","sbom_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/eugene-matvejev%2Fschema-battleship/sbom","scorecard":null,"host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":286080680,"owners_count":28434110,"icon_url":"https://github.com/github.png","version":null,"created_at":"2022-05-30T11:31:42.601Z","updated_at":"2026-01-14T18:57:19.464Z","status":"ssl_error","status_checked_at":"2026-01-14T18:52:48.501Z","response_time":107,"last_error":"SSL_connect returned=1 errno=0 peeraddr=140.82.121.6:443 state=error: unexpected eof while reading","robots_txt_status":"success","robots_txt_updated_at":"2025-07-24T06:49:26.215Z","robots_txt_url":"https://github.com/robots.txt","online":false,"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":["composer-package","jest","json","json-schema","npm-package","yarn-packages"],"created_at":"2024-09-24T13:35:32.099Z","updated_at":"2026-01-21T03:32:49.134Z","avatar_url":"https://github.com/eugene-matvejev.png","language":"JavaScript","funding_links":[],"categories":[],"sub_categories":[],"readme":"[circle.ci-master-badge]: https://circleci.com/gh/eugene-matvejev/schema-battleship/tree/master.svg?style=svg\n[circle.ci-master-link]: https://circleci.com/gh/eugene-matvejev/schema-battleship/tree/master\n\n|                     | master\n|---                  |---\n| __stub validation__ |\n| _\u003c Circle CI \u003e_     | [![build][circle.ci-master-badge]][circle.ci-master-link]\n\n\n# Battleship Game API responses/requests JSON schemas\nthe purpose of this repository is to store JSON schemas for the API responses|requests of the [battleship-game-api](https://github.com/eugene-matvejev/battleship-game-api) as well as some stubs which represets business logic _as schema can't always represent business logic_\n\nso whenever you're testing front-end or back-end you can relay on schemas and stub - instead of using real back-end for request/receive data\n\n_every JSON file is stored in_ '__PRETTY' format__\n\nstubs are validated against schemas on every Pull Request | Commit\n\n## THIS IS SPARE TIME PROJECT, WORK IN PROGRESS! HIGHLY EXPERIMENTAL!!!\n## used technologies\n * node.js\n * jest\n * npm\n * yarn\n * composer\n * json\n * json schema\n\n## how to install\n * php, composer\n composer provides opportunity to checkout [additional sources of the packages](https://getcomposer.org/doc/05-repositories.md#loading-a-package-from-a-vcs-repository)\n add another source into your __composer.json__:\n ```\n repositories\": [\n     { \"type\": \"vcs\", \"url\": \"https://github.com/eugene-matvejev/battleship-game-api-json-schema\" }\n ],\n ```\n `$ composer install eugene-matvejev/battleship-game-api-json-schema` consider use `--dev` flag to add in _devDependencies_ section\n * node.js, npm|yarn\n  WIP\n\n## how to run tests\n * `$ npm test`\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-matvejev%2Fschema-battleship","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Feugene-matvejev%2Fschema-battleship","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Feugene-matvejev%2Fschema-battleship/lists"}