{"id":15013034,"url":"https://github.com/nikolaysav/nova-json-schema-field","last_synced_at":"2025-04-12T04:20:58.262Z","repository":{"id":57028968,"uuid":"147579484","full_name":"NikolaySav/nova-json-schema-field","owner":"NikolaySav","description":"Laravel Nova field for displaying JSON schema data","archived":false,"fork":false,"pushed_at":"2018-09-27T08:57:57.000Z","size":44,"stargazers_count":26,"open_issues_count":3,"forks_count":1,"subscribers_count":1,"default_branch":"master","last_synced_at":"2025-03-25T23:51:18.034Z","etag":null,"topics":["json","jsonschema","laravel","nova","vue"],"latest_commit_sha":null,"homepage":"https://novapackages.com/packages/nsavinov/nova-json-schema-field","language":"Vue","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/NikolaySav.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":"2018-09-05T21:06:01.000Z","updated_at":"2024-05-21T08:13:58.000Z","dependencies_parsed_at":"2022-08-23T17:40:48.937Z","dependency_job_id":null,"html_url":"https://github.com/NikolaySav/nova-json-schema-field","commit_stats":null,"previous_names":[],"tags_count":3,"template":false,"template_full_name":null,"repository_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikolaySav%2Fnova-json-schema-field","tags_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikolaySav%2Fnova-json-schema-field/tags","releases_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikolaySav%2Fnova-json-schema-field/releases","manifests_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/repositories/NikolaySav%2Fnova-json-schema-field/manifests","owner_url":"https://repos.ecosyste.ms/api/v1/hosts/GitHub/owners/NikolaySav","download_url":"https://codeload.github.com/NikolaySav/nova-json-schema-field/tar.gz/refs/heads/master","host":{"name":"GitHub","url":"https://github.com","kind":"github","repositories_count":248514395,"owners_count":21116952,"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","jsonschema","laravel","nova","vue"],"created_at":"2024-09-24T19:43:38.202Z","updated_at":"2025-04-12T04:20:58.233Z","avatar_url":"https://github.com/NikolaySav.png","language":"Vue","funding_links":[],"categories":[],"sub_categories":[],"readme":"# JSON schema field for Laravel Nova\n\n[![Packagist](https://img.shields.io/packagist/dt/nsavinov/nova-json-schema-field.svg)](https://packagist.org/packages/nsavinov/nova-json-schema-field)\n\nLaravel Nova field for displaying [JSON schema](https://json-schema.org/) data \n\n\u003cimg width=\"1144\" alt=\"screenshot at sep 06 15-11-54\" src=\"https://user-images.githubusercontent.com/13363510/45156555-4059f880-b1e7-11e8-8f08-3289166c6df3.png\"\u003e\n\n## Installation\n\nYou can install the package into a Laravel app that uses [Nova](https://nova.laravel.com) via composer:\n\n```bash\ncomposer require nsavinov/nova-json-schema-field\n```\n\n## Usage\nInside the resource:\n\n```php\nuse Nsavinov\\NovaJsonSchemaField\\NovaJsonSchemaField;\n\npublic function fields(Request $request)\n{\n    return [\n        // ...\n        NovaJsonSchemaField::make('Settings', $this-\u003eschema())\n                        -\u003elistClass('list-reset'), // optional style class for detailed component\n    ];\n}\n\nprivate function schema(): array\n{\n    return [\n        // your schema\n    ];\n}\n\n```\n\nSchema example:\n\n```json\n{\n\t\"type\": \"object\",\n\t\"required\": [\n\t\t\"foo\",\n\t\t\"bar\"\n\t],\n\t\"properties\": {\n\t\t\"bar\": {\n\t\t\t\"type\": \"integer\"\n\t\t},\n\t\t\"foo\": {\n\t\t\t\"type\": \"integer\",\n\t\t\t\"description\": \"foo\"\n\t\t}\n\t}\n}\n```\n","project_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaysav%2Fnova-json-schema-field","html_url":"https://awesome.ecosyste.ms/projects/github.com%2Fnikolaysav%2Fnova-json-schema-field","lists_url":"https://awesome.ecosyste.ms/api/v1/projects/github.com%2Fnikolaysav%2Fnova-json-schema-field/lists"}