This repository has been archived by the owner on Mar 5, 2024. It is now read-only.
forked from jsonform/jsonform
-
Notifications
You must be signed in to change notification settings - Fork 1
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Filled in README, LICENSE and package.json files
- Loading branch information
Showing
4 changed files
with
67 additions
and
0 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,7 @@ | ||
Copyright (c) 2012 Joshfire | ||
|
||
Permission is hereby granted, free of charge, to any person obtaining a copy of this software and associated documentation files (the "Software"), to deal in the Software without restriction, including without limitation the rights to use, copy, modify, merge, publish, distribute, sublicense, and/or sell copies of the Software, and to permit persons to whom the Software is furnished to do so, subject to the following conditions: | ||
|
||
The above copyright notice and this permission notice shall be included in all copies or substantial portions of the Software. | ||
|
||
THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,33 @@ | ||
JSON Form | ||
========= | ||
|
||
The JSON Form library is a JavaScript client-side library that takes a | ||
structured data model defined as a [JSON Schema](http://json-schema.org/) as | ||
input and returns a [Bootstrap](http://twitter.github.com/bootstrap/)-friendly | ||
HTML form that matches the schema. | ||
|
||
The layout of the generated HTML form may be fine-tuned and completed through | ||
a simple declarative mechanism. The generated HTML form includes client-side | ||
validation logic that provides direct inline feedback to the user upon form | ||
submission. | ||
|
||
|
||
Documentation | ||
------------- | ||
Reference documentation for the JSON Form library is available on the | ||
[Joshfire Developer Web site](http://developer.joshfire.com/doc/dev/ref/jsonform) | ||
|
||
|
||
Dependencies | ||
------------ | ||
The JSON Form library depends on: | ||
- [jQuery](http://jquery.com/) (the library should also work with | ||
[Zepto.js](http://zeptojs.com/)) | ||
- The [Underscore.js](http://documentcloud.github.com/underscore/) utility belt | ||
- The [JSON Schema Validator](https://github.com/garycourt/JSV) for validation | ||
purpose (optional) | ||
|
||
|
||
License | ||
------- | ||
The JSON Form library is licensed under the [MIT license](LICENSE). |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
{ | ||
"name" : "JSON Form", | ||
"version" : "1.0.0", | ||
"main" : "./lib/jsonform.js", | ||
"user" : "Joshfire", | ||
"domain": "joshfire.com", | ||
"description": "HTML Form generator from a structured data model expressed using a JSON schema, possibly completed by a form layout description", | ||
"keywords": [ | ||
"JSON", | ||
"schema", | ||
"HTML5", | ||
"form" | ||
], | ||
"maintainers": [ | ||
{ | ||
"name": "Joshfire", | ||
"email": "[email protected]", | ||
"web": "http://www.joshfire.com" | ||
} | ||
], | ||
"licenses": [ | ||
{ | ||
"type": "MIT", | ||
"url": "LICENSE" | ||
} | ||
] | ||
} |