Picture of Adam Laird
Re: Specification of Adapt content format
by Adam Laird - Wednesday, 12 March 2014, 3:05 PM
 

The basic format is as below with added options depending on component type

"_id": "",
"_parentId": "",
"_type":"page/article/block/component",
"_component":"narrative/text/graphic/etc", (component only)
"_classes":"",
"_layout":"full", (component only)
"title": "",
"body":"",
"graphic": {
                    "src":"", "alt": "", "title": ""
                }

if the 'component' has items they are presented as

"items": [
            {"body":    "", "graphic": {"src":"", "alt": "", "title": ""},]

 

as a general rule

-------