{"id":16981719,"url":"https://github.com/mohsen1/json-schema-view","last_synced_at":"2025-03-17T08:38:12.639Z","repository":{"id":21550425,"uuid":"24870067","full_name":"mohsen1/json-schema-view","owner":"mohsen1","description":"An AngularJS directive for rendering JSON Schema in HTML","archived":false,"fork":false,"pushed_at":"2017-01-13T19:03:46.000Z","size":1117,"stargazers_count":49,"open_issues_count":2,"forks_count":8,"subscribers_count":4,"default_branch":"master","last_synced_at":"2024-04-14T14:51:09.318Z","etag":null,"topics":[],"latest_commit_sha":null,"homepage":"http://azimi.me/json-schema-view/demo/demo.html","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/mohsen1.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":"2014-10-06T23:56:46.000Z","updated_at":"2024-02-28T14:27:01.000Z","dependencies_parsed_at":"2022-08-21T19:21:12.934Z","dependency_job_id":null,"html_url":"https://github.com/mohsen1/json-schema-view","commit_stats":null,"previous_names":[],"tags_count":12,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohsen1%2Fjson-schema-view","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohsen1%2Fjson-schema-view/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohsen1%2Fjson-schema-view/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/mohsen1%2Fjson-schema-view/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/mohsen1","download_url":"https://codeload.github.com/mohsen1/json-schema-view/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":243725631,"owners_count":20337670,"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":[],"created_at":"2024-10-14T02:06:17.230Z","updated_at":"2025-03-17T08:38:12.177Z","avatar_url":"https://github.com/mohsen1.png","language":"JavaScript","funding_links":[],"categories":["JSON Schema Frontend components"],"sub_categories":[],"readme":"# JSON Schema View\n\n[![Build Status](https://travis-ci.org/mohsen1/json-schema-view.svg?branch=master)](https://travis-ci.org/mohsen1/json-schema-view)\n\n**An AngularJS directive for rendering JSON Schema in HTML.**\n\nJSON Schema is very verbose and hard to read in JSON. This directive helps rendering a JSON Schema in a user readable format.\n\nThe same module is also available in pure JavaScript with no dependencies. **Check it out [here](https://github.com/mohsen1/json-schema-view-js)**\n\n[Try it in action](http://azimi.me/json-schema-view/demo/demo.html)\n\n[![Screenshot](/images/screenshot.png?raw=true)](http://mohsenweb.com/json-schema-view/demo/demo.html)\n\n### Installation\n\nInstall via bower\n\n```shell\nbower install json-schema-view --save\n```\n\n### Usage\n\nAdd it as a dependency to your app and then use `\u003cjson-schema-view\u003e` in your HTML as following\n\n```js\nangular.module('myApp', ['...', 'mohsen1.json-schema-view']);\n```\n\n```html\n\u003cjson-schema-view schema=\"{properties: {value: {type: 'string'}}}\" open=\"2\"\u003e\u003c/json-schema-view\u003e\n```\n\n* **`schema`**(**required**) attribute will accepts a schema object \n* **`open`** attribute accepts a number that indicates how many levels deep the schema should be open\n\n### Development\n\nInstall Gulp via npm if you don't have it\n```shell\nnpm install -g gulp\n```\n\n#### Available commands\n\n* `gulp`: build and test the project\n* `gulp build`: build the project and make new files in`dist`\n* `gulp serve`: start a server to serve the demo page and launch a browser then watches for changes in `src` files to reload the page. It also runs tests and keep test browser open for development. Watches for changes in source and test files to re-run the tests\n* `gulp test`: run tests\n\n### License\nMIT\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohsen1%2Fjson-schema-view","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fmohsen1%2Fjson-schema-view","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fmohsen1%2Fjson-schema-view/lists"}