Last active
July 24, 2018 13:31
-
-
Save franzwilding/5320ae1c9b9e512619728ee1756252a0 to your computer and use it in GitHub Desktop.
unite cms blog domain schema example
This file contains hidden or 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
{ | |
"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