Skip to content

Instantly share code, notes, and snippets.

@rudyrigot
Created Mar 28, 2014
Embed
What would you like to do?
JSON mask for the "staff" content type in the front-end-only example
{
"Main" : {
"name" : {
"fieldset" : "Full name",
"type" : "StructuredText",
"config" : {
"single" : "heading1"
}
},
"title" : {
"fieldset" : "Title",
"type" : "StructuredText",
"config" : {
"single" : "heading2"
}
},
"image" : {
"fieldset" : "Photo",
"type" : "Image"
},
"quote" : {
"fieldset" : "Quote",
"type" : "StructuredText"
},
"mail" : {
"fieldset" : "Email address",
"type" : "Text"
},
"twitter" : {
"fieldset" : "Twitter URL",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"facebook" : {
"fieldset" : "Facebook URL",
"type" : "Link",
"config" : {
"select" : "web"
}
},
"linkedin" : {
"fieldset" : "LinkedIn URL",
"type" : "Link",
"config" : {
"select" : "web"
}
}
}
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment