{"id":15547782,"url":"https://github.com/jy95/ngx-json-schema-viewer","last_synced_at":"2026-03-02T07:32:01.473Z","repository":{"id":197313106,"uuid":"698420623","full_name":"jy95/ngx-json-schema-viewer","owner":"jy95","description":"JSON Schema Viewer in Angular","archived":false,"fork":false,"pushed_at":"2025-04-18T20:14:46.000Z","size":2233,"stargazers_count":2,"open_issues_count":0,"forks_count":0,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-04-19T08:16:34.479Z","etag":null,"topics":["angular","angular-library","angular-material","json","json-schema","json-schema-documentation","ngx"],"latest_commit_sha":null,"homepage":"https://master--65174c82cd070b9998efd7f6.chromatic.com/","language":"TypeScript","has_issues":true,"has_wiki":null,"has_pages":null,"mirror_url":null,"source_name":null,"license":"agpl-3.0","status":null,"scm":"git","pull_requests_enabled":true,"icon_url":"https://github.com/jy95.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":"2023-09-29T22:04:06.000Z","updated_at":"2025-04-18T20:13:38.000Z","dependencies_parsed_at":"2023-12-11T14:41:43.847Z","dependency_job_id":"661e155f-08c3-4686-bc10-e3af438446fe","html_url":"https://github.com/jy95/ngx-json-schema-viewer","commit_stats":{"total_commits":201,"total_committers":2,"mean_commits":100.5,"dds":0.3681592039800995,"last_synced_commit":"3fe7e3a26dcc2fefbbe2a4c227dd69a16c2f354c"},"previous_names":["jy95/ngx-json-schema-viewer"],"tags_count":0,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jy95%2Fngx-json-schema-viewer","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jy95%2Fngx-json-schema-viewer/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jy95%2Fngx-json-schema-viewer/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/jy95%2Fngx-json-schema-viewer/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/jy95","download_url":"https://codeload.github.com/jy95/ngx-json-schema-viewer/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":249709774,"owners_count":21313952,"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":["angular","angular-library","angular-material","json","json-schema","json-schema-documentation","ngx"],"created_at":"2024-10-02T13:10:21.762Z","updated_at":"2026-03-02T07:32:01.444Z","avatar_url":"https://github.com/jy95.png","language":"TypeScript","funding_links":["https://www.buymeacoffee.com/GPFR"],"categories":["Recently Updated","Third Party Components"],"sub_categories":["[Oct 12, 2024](/content/2024/10/12/README.md)","Viewers"],"readme":"\u003ch1 align=\"center\"\u003engx-json-schema-viewer\u003c/h1\u003e\n\n\u003cdiv align=\"center\"\u003e\n\u003cimg width=\"200\" src=\"https://raw.githubusercontent.com/jy95/ngx-json-schema-viewer/master/logo.svg\" /\u003e\n\u003c/div\u003e\n\n\u003cdiv align=\"center\"\u003e\n\nJSON Schema viewer in Angular\n\n\u003cimg src=\"https://img.shields.io/badge/dynamic/json?style=for-the-badge\u0026logo=meta\u0026color=blueviolet\u0026label=Angular\u0026query=peerDependencies%5B%22%40angular%2Fcore%22%5D\u0026url=https%3A%2F%2Fraw.githubusercontent.com%2Fjy95%2Fngx-json-schema-viewer%2Fmaster%2Fprojects%2Fngx-json-schema-viewer%2Fpackage.json\" /\u003e\n\u003cbr/\u003e\u003cbr/\u003e\n\n[![License: AGPL v3](https://img.shields.io/badge/License-AGPL_v3-blue.svg)](https://github.com/jy95/ngx-json-schema-viewer/blob/main/LICENSE) [![npm latest package](https://img.shields.io/npm/v/ngx-json-schema-viewer/latest.svg)] [![npm downloads](https://img.shields.io/npm/dm/ngx-json-schema-viewer.svg)] [![Codacy Badge](https://app.codacy.com/project/badge/Grade/43d9fa27054841f5a884afc88188ef01)](https://app.codacy.com/gh/jy95/ngx-json-schema-viewer/dashboard?utm_source=gh\u0026utm_medium=referral\u0026utm_content=\u0026utm_campaign=Badge_grade) [![PRs Welcome](https://img.shields.io/badge/PRs-welcome-brightgreen.svg)](https://github.com/jy95/ngx-json-schema-viewer/blob/main/CONTRIBUTING.md) [![prettier](https://img.shields.io/badge/code_style-prettier-ff69b4.svg)](https://github.com/prettier/prettier) \u003ca href=\"https://www.buymeacoffee.com/GPFR\" target=\"_blank\"\u003e\u003cimg src=\"https://cdn.buymeacoffee.com/buttons/v2/default-yellow.png\" height=\"41\" width=\"174\" alt=\"Buy Me A Coffee\" style=\"height: 41px !important;width: 174px !important;\" \u003e\u003c/a\u003e\n\u003cbr /\u003e\n\n\u003c/div\u003e\n\n\n---\n\n## Overview\n\nKey Features:\n\n- **Compatible:** Works with JSON Schema Draft-07 / Draft 2019-09 / Draft 2020-12\n- **Human-friendly** Make exploration of specs a delightful experience\n\nStorybook : https://master--65174c82cd070b9998efd7f6.chromatic.com/\n\n## Installation\n\n```bash\nnpm install ngx-json-schema-viewer\n```\n\n## Usage\n\n```ts\nimport { NgxJsonSchemaViewerComponent, JSV_OPTIONS } from \"ngx-json-schema-viewer\";\nimport { Component } from '@angular/core';\n\n@Component({\n  selector: 'app-root',\n  standalone: true,\n  imports: [NgxJsonSchemaViewerComponent],\n  providers: [\n    { \n      provide: JSV_OPTIONS, \n      useValue: {} \n    }\n  ],\n  template: `\n    \u003cdiv\u003e\n      \u003cngx-json-schema-viewer [schema]=\"jsonSchema\"\u003e\u003c/ngx-json-schema-viewer\u003e\n    \u003c/div\u003e\n  `\n})\nexport class AppComponent {\n  // Your JSON Schema here\n  jsonSchema = {\n    \"type\": \"array\",\n    \"items\": [\n        {\n            \"type\": \"integer\"\n        },\n        {\n            \"type\": \"string\"\n        }\n    ],\n    \"additionalItems\": false\n  };\n}\n```\n\n## Inputs\n\n|  Parameter   | Type   | Mandatory | Description |\n|-----------------|----------|-----------|-----------|\n| `schema` | JSON Schema | Yes         | The JSON schema object to be displayed |\n| `resolverOptions`    | `IResolveOpts`         | No         | Additional options for schema resolution. It accepts an object of type `IResolveOpts`. If not provided, the component will use default options. |\n\n**Note**: For more information on `IResolveOpts`, refer to the [GitHub page of @stoplight/json-ref-resolver](https://github.com/stoplightio/json-ref-resolver).\n\n## Providers\n\n### JSV_OPTIONS \n\n| Field Name                    | Description                                  | Type       | Default Value |\n|-------------------------------|----------------------------------------------|------------|---------------|\n| `showExamples`               | Controls whether to display \"examples.\"     | `boolean`  | `false`       |\n| `qualifierMessagesOrder`     | Defines the order of qualifier messages.    | `CheckKey[]` | Default order: `[\"nullable\", \"deprecated\", \"readOnly\", \"writeOnly\", \"enum\", \"stringLength\", \"objectProperties\", \"no-extra-properties\", \"arrayItems\", \"arrayContains\", \"no-extra-items\", \"number-range\", \"pattern\", \"multipleOf\", \"uniqueItems\", \"contentEncoding\", \"contentMediaType\", \"contentSchema\", \"default\", \"const\", \"examples\"]` |\n\n## Credits\n\nSpecial thanks to [docusaurus-json-schema-plugin](https://github.com/jy95/docusaurus-json-schema-plugin), which this project ported it to the Angular world.\n\n## Contributors\n\n\u003ca href=\"https://github.com/jy95/ngx-json-schema-viewer/graphs/contributors\"\u003e\n  \u003cimg src=\"https://contrib.rocks/image?repo=jy95/ngx-json-schema-viewer\" /\u003e\n\u003c/a\u003e\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjy95%2Fngx-json-schema-viewer","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fjy95%2Fngx-json-schema-viewer","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fjy95%2Fngx-json-schema-viewer/lists"}