Last active
August 29, 2015 14:13
-
-
Save jessevondoom/f471efa218a7ce78fa13 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
{ | |
"type":"element", | |
"subtype":"uniquetypename", | |
"lastupdated":"Jan 1, 2014", | |
"version":1, | |
"author":"CASH Music", | |
"url":"http://cashmusic.org/", | |
"license":"AGPL", | |
"details":{ | |
"en":{ | |
"name":"Element Name", | |
"description":"Short description of the element.", | |
"longdescription":"Longer, more detailed description of the element.", | |
"instructions":"Instructions that explain how to set up element.", | |
} | |
}, | |
"options":{ | |
"main":{ | |
"group_label":{ | |
"en":"Main settings" | |
}, | |
"description":{ | |
"en":"Instructions or clarifications that should appear with this group." | |
}, | |
"data":{ | |
"email_list_id":{ | |
"label":{ | |
"en":"A dropdown populated automatically by CASH platform core" | |
}, | |
"helptext":{ | |
"en":"Helptext will be displayed during initial setup and always available on the edit page." | |
}, | |
"type":"select", | |
"values":"people_lists", | |
"required":true, | |
"displaysize":"small" | |
}, | |
"text_dropdown":{ | |
"label":{ | |
"en":"A dropdown list of prepopulated choices" | |
}, | |
"helptext":{ | |
"en":"Helptext will be displayed during initial setup and always available on the edit page." | |
}, | |
"type":"select", | |
"values":{ | |
"1":"Display text for first value", | |
"two":"Display text for second value", | |
"The third value":"The third value" | |
}, | |
"required":true, | |
"displaysize":"small" | |
}, | |
"boolean":{ | |
"label":{ | |
"en":"A simple on/off checkbox" | |
}, | |
"type":"boolean", | |
"default":true, | |
"displaysize":"small" | |
}, | |
"number":{ | |
"label":{ | |
"en":"A valid numeric value" | |
}, | |
"type":"number", | |
"default":"3", | |
"displaysize":"small" | |
} | |
} | |
}, | |
"second group":{ | |
"group_label":{ | |
"en":"A second group of options" | |
}, | |
"description":{ | |
"en":"Instructions or clarifications that should appear with this group." | |
}, | |
"data":{ | |
"short_text":{ | |
"label":{ | |
"en":"A short bit of plain text" | |
}, | |
"helptext":{ | |
"en":"Helptext will be displayed during initial setup and always available on the edit page." | |
}, | |
"placeholder":{ | |
"en":"A placeholder for empty values." | |
}, | |
"type":"text", | |
"default":{ | |
"en":"This is a sentence or any other text." | |
}, | |
"required":true, | |
"displaysize":"medium" | |
}, | |
"long_text":{ | |
"label":{ | |
"en":"Plain text, but intended for big stuff. Think textarea instead of text." | |
}, | |
"type":"text", | |
"default":{ | |
"en":"This could get big..." | |
}, | |
"displaysize":"large" | |
}, | |
"some_markup":{ | |
"label":{ | |
"en":"Some markup. This will be rendered instead of dumped, otherwise identical to text." | |
}, | |
"type":"markup", | |
"default":{ | |
"en":"Use all the HTML you want" | |
}, | |
"displaysize":"medium" | |
} | |
} | |
} | |
} | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment