Created
November 8, 2016 22:08
-
-
Save anonymous/03ac9abce23259b329bb9319dd08bcf6 to your computer and use it in GitHub Desktop.
A saved configuration for a schema form example, http://textalk.github.io/angular-schema-form/examples/bootstrap-example.html
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
[ | |
{ | |
"type": "help", | |
"helpvalue": "Complex keys are only supported with AngularJS version 1.3.x, see <a href=\"https://github.com/Textalk/angular-schema-form/blob/master/docs/knownlimitations.md\">known limitations</a> in the docs." | |
}, | |
"title", | |
"preference", | |
{ | |
"key": "shareholders", | |
"title": "Shareholders", | |
"items": [ | |
{ | |
"key": "name", | |
"title": "Shareholder name" | |
}, | |
{ | |
"key": "email", | |
"title": "Email address" | |
} | |
] | |
} | |
] |
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
{ | |
"array-key": [ | |
{ | |
"a'rr[\"l": "a", | |
"˙∆∂∞˚¬": "a" | |
}, | |
{} | |
], | |
"simple": { | |
"prøp": "sasd" | |
}, | |
"shareholder": [ | |
{} | |
], | |
"title": "moo", | |
"shareholders": [ | |
{}, | |
{} | |
], | |
"preference": { | |
"preferred": true | |
}, | |
"name": "James Skinner", | |
"email": "[email protected]" | |
} |
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
{ | |
"type": "object", | |
"title": "Complex Key Support", | |
"properties": { | |
"title": { | |
"type": "string" | |
}, | |
"preference": { | |
"type": "object", | |
"properties": { | |
"preferred": { | |
"type":"boolean" | |
}, | |
"multiplier": { | |
"type": "number" | |
}, | |
"required": [ | |
"preferred" | |
] | |
} | |
}, | |
"shareholders": { | |
"type": "array", | |
"items": { | |
"type": "object", | |
"properties": { | |
"name": { | |
"title": "Shareholder name", | |
"type": "string" | |
}, | |
"email": { | |
"title": "Email address", | |
"type": "string" | |
}, | |
"required": [ | |
"name", | |
"email" | |
] | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment