Ecosyste.ms: Awesome

An open API service indexing awesome lists of open source software.

Awesome Lists | Featured Topics | Projects

https://github.com/openethicsai/schable

A JavaScript tool to visualize JSON Schema as HTML Table
https://github.com/openethicsai/schable

javascript-library json json-schema json-schema-visualization json-schemas schema-design

Last synced: 13 days ago
JSON representation

A JavaScript tool to visualize JSON Schema as HTML Table

Awesome Lists containing this project

README

        

# Schable
Schable: Schema into Table

A JavaScript tool to visualize JSON Schema as HTML Table.

To test, install `node.js` if not yet installed, navigate to the repo folder and launch `server.js`.

1. Add JS and CSS in the header

```html

```

2. Call schable(), specifying the div class. Set `proxy = true` when using on `localhost`.

```html

const jsonSchemaUrl = "https://openethics.ai/schema/oedp/oedp.passport.schema.json";
schable(jsonSchemaUrl, ".oedp", captions = true, proxy = false, max_depth = 12);


```