Skip to content

Instantly share code, notes, and snippets.

@franzwilding
Last active July 24, 2018 13:31
Show Gist options
  • Save franzwilding/5320ae1c9b9e512619728ee1756252a0 to your computer and use it in GitHub Desktop.
Save franzwilding/5320ae1c9b9e512619728ee1756252a0 to your computer and use it in GitHub Desktop.
unite cms blog domain schema example
{
"title": "Blog",
"identifier": "blog",
"content_types": [
{
"title": "Articles",
"identifier": "articles",
"content_label": "{headline}",
"fields": [
{
"title": "Headline",
"identifier": "headline",
"type": "text"
},
{
"title": "Image",
"identifier": "image",
"type": "image",
"settings": {
"bucket": {
"endpoint": "XXX",
"bucket": "XXX",
"key": "XXX",
"secret": "XXX"
}
}
},
{
"title": "Content",
"identifier": "content",
"type": "wysiwyg",
"settings": {
"heading": [ "h2", "h3", "p" ]
}
}
],
"views": [
{
"title": "All",
"identifier": "all",
"type": "table",
"settings": {
"columns": { "headline": "Headline", "created": "Created at" }
}
}
]
}
],
"setting_types": [
{
"title": "Website",
"identifier": "website",
"fields": [
{
"title": "Title",
"identifier": "title",
"type": "text"
},
{
"title": "Footer Text",
"identifier": "footer_text",
"type": "wysiwyg"
},
{
"title": "About Text",
"identifier": "about_text",
"type": "wysiwyg"
}
]
}
]
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment