All Projects → NikolaySav → nova-json-schema-field

NikolaySav / nova-json-schema-field

Licence: other
Laravel Nova field for displaying JSON schema data

Programming Languages

Vue
7211 projects
PHP
23972 projects - #3 most used programming language
javascript
184084 projects - #8 most used programming language
CSS
56736 projects

Projects that are alternatives of or similar to nova-json-schema-field

Nova Filemanager
A Filemanager tool for Laravel Nova
Stars: ✭ 189 (+600%)
Mutual labels:  nova
checkout
Laravel Cart, Checkout, Orders and Coupons API with Nova Management
Stars: ✭ 36 (+33.33%)
Mutual labels:  nova
nova-phone-number
A Laravel Nova field to format and validate phone numbers.
Stars: ✭ 60 (+122.22%)
Mutual labels:  nova
Nova Tags Field
A tags field to use in your Nova apps
Stars: ✭ 204 (+655.56%)
Mutual labels:  nova
AsyncOpenStackClient
Asyncio wrapper to OpenStack API
Stars: ✭ 17 (-37.04%)
Mutual labels:  nova
nova-money-field
Money Field for Laravel Nova
Stars: ✭ 71 (+162.96%)
Mutual labels:  nova
Laravel Nova Nested Form
This package allows you to include your nested relationships' forms into a parent form.
Stars: ✭ 169 (+525.93%)
Mutual labels:  nova
nova-file-upload-field
The easiest drag-and-drop file uploading field for Laravel Nova.
Stars: ✭ 53 (+96.3%)
Mutual labels:  nova
nova-froala-field
A Laravel Nova Froala WYSIWYG Editor Field.
Stars: ✭ 110 (+307.41%)
Mutual labels:  nova
nova-algolia-card
A Laravel Nova card for Algolia
Stars: ✭ 22 (-18.52%)
Mutual labels:  nova
Nova Colors
Single source of truth to consume Nova color values
Stars: ✭ 217 (+703.7%)
Mutual labels:  nova
jupyterlab-starters
Starter notebooks and directories in JupyterLab
Stars: ✭ 32 (+18.52%)
Mutual labels:  jsonschema
nova-permissions
Add Permissions based authorization for your Nova installation via User-based Roles and Permissions. Roles are defined in the database whereas Permissions are defined in the code base.
Stars: ✭ 115 (+325.93%)
Mutual labels:  nova
Skeleton Nova Tool
A skeleton repository for Spatie's Nova Packages
Stars: ✭ 191 (+607.41%)
Mutual labels:  nova
nova-chartjs
A Chart JS component for Laravel Nova
Stars: ✭ 47 (+74.07%)
Mutual labels:  nova
Nova Impersonate
A Laravel Nova field allows you to authenticate as your users.
Stars: ✭ 182 (+574.07%)
Mutual labels:  nova
nova-relationship-selector
Laravel Nova - Relationship Selector
Stars: ✭ 26 (-3.7%)
Mutual labels:  nova
typeconv
Convert between JSON Schema, TypeScript, GraphQL, Open API and SureType
Stars: ✭ 229 (+748.15%)
Mutual labels:  jsonschema
nova-select-plus
A Laravel Nova Select Field
Stars: ✭ 67 (+148.15%)
Mutual labels:  nova
arrest
Swagger REST framework for Node.js, with support for MongoDB and JSON-Schema
Stars: ✭ 17 (-37.04%)
Mutual labels:  jsonschema

JSON schema field for Laravel Nova

Packagist

Laravel Nova field for displaying JSON schema data

screenshot at sep 06 15-11-54

Installation

You can install the package into a Laravel app that uses Nova via composer:

composer require nsavinov/nova-json-schema-field

Usage

Inside the resource:

use Nsavinov\NovaJsonSchemaField\NovaJsonSchemaField;

public function fields(Request $request)
{
    return [
        // ...
        NovaJsonSchemaField::make('Settings', $this->schema())
                        ->listClass('list-reset'), // optional style class for detailed component
    ];
}

private function schema(): array
{
    return [
        // your schema
    ];
}

Schema example:

{
	"type": "object",
	"required": [
		"foo",
		"bar"
	],
	"properties": {
		"bar": {
			"type": "integer"
		},
		"foo": {
			"type": "integer",
			"description": "foo"
		}
	}
}
Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].