GSA / json-schema-web-component

DEPRECATED πŸ›‘ - Now part of Code.gov front-end

Home Page:https://gsa.github.io/json-schema-web-component/

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

DEPRECATED

This project repo is no longer being maintained. The front end of code.gov is now located at code-gov-front-end.

json-schema-web-component

Web Component that Displays a JSON Schema

beta

⚠️ This is in beta. Please find bugs, submit issues, and provide example JSON Schemas, so we can improve it!

demo

https://gsa.github.io/json-schema-web-component/

usage

Copy the index.js file and put it in a script tag and then create an instance of the web component by <json-schema url='THE URL TO YOUR SCHEMA JSON' />.

<!DOCTYPE html>
<html style="background: darkblue;">
  <head>
    <title>JSON Schema Web Component Demo</title>
    <script src="./index.js"></script>
  </head>
  <body>
    <div>
      <json-schema url="./example-schema.json" />
    </div>
  </body>
</html>

screenshot

screenshot

contributing

Please see the file CONTRIBUTING.md

contact

code@gsa.gov

About

DEPRECATED πŸ›‘ - Now part of Code.gov front-end

https://gsa.github.io/json-schema-web-component/


Languages

Language:JavaScript 96.9%Language:HTML 3.1%