{"id":13880708,"url":"https://github.com/stoplightio/json-schema-viewer","last_synced_at":"2025-05-15T04:06:10.358Z","repository":{"id":34361991,"uuid":"163213637","full_name":"stoplightio/json-schema-viewer","owner":"stoplightio","description":"A JSON Schema viewer React component","archived":false,"fork":false,"pushed_at":"2025-04-09T07:50:05.000Z","size":8052,"stargazers_count":201,"open_issues_count":41,"forks_count":42,"subscribers_count":17,"default_branch":"master","last_synced_at":"2025-05-14T17:12:57.639Z","etag":null,"topics":["json-schema","json-schema-viewer","react","stoplightio","storybook"],"latest_commit_sha":null,"homepage":null,"language":"TypeScript","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/stoplightio.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":null,"support":null,"governance":null,"roadmap":null,"authors":null,"dei":null,"publiccode":null,"codemeta":null,"zenodo":null}},"created_at":"2018-12-26T20:03:18.000Z","updated_at":"2025-04-30T22:40:42.000Z","dependencies_parsed_at":"2023-01-15T06:45:53.620Z","dependency_job_id":"a0b859e8-f551-431c-a12d-99bbf3344a23","html_url":"https://github.com/stoplightio/json-schema-viewer","commit_stats":{"total_commits":316,"total_committers":31,"mean_commits":"10.193548387096774","dds":0.490506329113924,"last_synced_commit":"0ea66e281b244606bc6d4a431a67d5ec489d2eeb"},"previous_names":[],"tags_count":156,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fjson-schema-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fjson-schema-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fjson-schema-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/stoplightio%2Fjson-schema-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/stoplightio","download_url":"https://codeload.github.com/stoplightio/json-schema-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":254270646,"owners_count":22042859,"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-schema","json-schema-viewer","react","stoplightio","storybook"],"created_at":"2024-08-06T08:03:24.858Z","updated_at":"2025-05-15T04:06:05.324Z","avatar_url":"https://github.com/stoplightio.png","language":"TypeScript","readme":"# @stoplight/json-schema-viewer\n\nA JSON Schema viewer React component\n\n- Explore the components: [Storybook](https://stoplightio.github.io/json-schema-viewer)\n- View the changelog: [Releases](https://github.com/stoplightio/json-schema-viewer/releases)\n\n### Features\n\n- Full JSON Schema Draft 4 support, including `oneOf` and `anyOf` combiner properties\n- Renders complicated nested objects to any depth\n- Renders validation properties and markdown descriptions\n- Capable of linking resolved \\$refs\n- Theme-able\n- Collapsible\n\n### Installation\n\nSupported in modern browsers and node.\n\n```bash\n# latest stable\nyarn add @stoplight/json-schema-viewer\n```\n\n### Usage\n\n```jsx\n// index.jsx\nimport { JsonSchemaViewer } from \"@stoplight/json-schema-viewer\";\n\n\u003cJsonSchemaViewer\n  name=\"Todos Model\"\n  schema={schema}\n  expanded={true}\n  hideTopBar={false}\n  emptyText=\"No schema defined\"\n  defaultExpandedDepth={0}\n/\u003e;\n```\n\nMore examples can be find in the [Storybook stories](./src/__stories__/JsonSchemaViewer.tsx).\n\n### Contributing\n\n1. Clone repo.\n2. Create / checkout `feature/{name}`, `chore/{name}`, or `fix/{name}` branch.\n3. Install deps: `yarn`.\n4. Make your changes.\n5. Run tests: `yarn test.prod`.\n6. Stage relevant files to git.\n7. Commit: `yarn commit`. _NOTE: Commits that don't follow the [conventional](https://github.com/marionebl/commitlint/tree/master/%40commitlint/config-conventional) format will be rejected. `yarn commit` creates this format for you, or you can put it together manually and then do a regular `git commit`._\n8. Push: `git push`.\n9. Open PR targeting the `develop` branch.\n","funding_links":[],"categories":["TypeScript"],"sub_categories":[],"project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fjson-schema-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fstoplightio%2Fjson-schema-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fstoplightio%2Fjson-schema-viewer/lists"}