Created
January 23, 2014 09:27
-
-
Save przeor/8575581 to your computer and use it in GitHub Desktop.
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
{ | |
"_id" : ObjectId("52de6f60e02208603ea67dea"), | |
"collection" : "components", | |
"fields" : [ | |
{ | |
"label" : "Title", | |
"field" : "title", | |
"type" : "text", | |
"required" : true | |
}, | |
{ | |
"label" : "Description", | |
"field" : "description", | |
"type" : "html", | |
"required" : false | |
}, | |
{ | |
"label" : "Other Metadata", | |
"field" : "otherMetadata", | |
"type" : "html", | |
"required" : false | |
}, | |
{ | |
"label" : "Type", | |
"field" : "type", | |
"type" : "text", | |
"required" : true | |
}, | |
{ | |
"field" : "articles", | |
"label" : "Articles", | |
"type" : "nested", | |
"fields" : [ | |
{ | |
"required" : true, | |
"type" : "text", | |
"label" : "Title", | |
"field" : "title" | |
}, | |
{ | |
"required" : true, | |
"type" : "text", | |
"label" : "Class", | |
"field" : "class" | |
}, | |
{ | |
"required" : true, | |
"type" : "nested", | |
"label" : "Sections", | |
"field" : "sections", | |
"maxCount" : 3, | |
"minCount" : 3, | |
"fields" : [ | |
{ | |
"type" : "text", | |
"label" : "Title", | |
"field" : "title", | |
"required" : true | |
}, | |
{ | |
"type" : "text", | |
"label" : "Class", | |
"field" : "class", | |
"required" : true | |
}, | |
{ | |
"required" : true, | |
"type" : "nested", | |
"label" : "Subsections", | |
"field" : "subsections", | |
"fields" : [ | |
{ | |
"type" : "text", | |
"field" : "text", | |
"label" : "Text", | |
"required" : false | |
}, | |
{ | |
"type" : "text", | |
"field" : "explanation", | |
"label" : "Explanation", | |
"required" : false | |
}, | |
{ | |
"type" : "text", | |
"field" : "class", | |
"label" : "Class", | |
"required" : false | |
} | |
] | |
} | |
] | |
} | |
] | |
} | |
], | |
"templateHtml" : "template/toc.html", | |
"templateName" : "toc" | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment