Skip to content

DoomyTheFroomy/SchemaViewer

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

1 Commit
 
 
 
 
 
 

Repository files navigation

Schema Viewer

This projects helps to display the structure of json schemata (v4) and is based on docson as a CouchApp.

How to use

Just create a new widget html file, like:

<!-- schema.html -->
<!DOCTYPE html>
<html>
<head>
  <title>Schema view</title>
</head>
<body>
  <script src="./widget.js" data-schema="./schemata/schmema.json"></script>
</body>
</html>

And put all the required schema files under /_attachments/schemata/ folder.

After you have done this you can push the CouchApp, e.g. via erica

erica push http://username:pwd@127.0.0.1:5984/schemaViews

Then you can see your schema file in a nice formatted design, under:

http://127.0.0.1:5984/schemaViews/_design/schemaView/schema.html

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published