@amplience/dynamic-content-accelerators
Version:
Amplience DC Frontend modules, using HTML Service
54 lines • 1.17 kB
JSON
{
"$schema": "http://bigcontent.io/cms/schema/v1/schema#",
"id": "{CONTENT_TYPE_BASEPATH}/splitblock.json",
"title": "Split block",
"description": "Split block accelerator",
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/core#/definitions/content"
}
],
"type": "object",
"properties": {
"content": {
"type": "array",
"items": {
"allOf": [
{
"$ref": "http://bigcontent.io/cms/schema/v1/core#/definitions/content-link"
},
{
"properties": {
"contentType": {
"enum": [
"{CONTENT_TYPE_BASEPATH}/image.json",
"{CONTENT_TYPE_BASEPATH}/video.json",
"{CONTENT_TYPE_BASEPATH}/text.json"
]
}
}
}
]
},
"minItems": 2,
"maxItems": 2,
"title": "Content"
},
"split": {
"type": "string",
"enum": [
"50/50",
"70/30",
"30/70"
],
"title": "Split ratio"
}
},
"propertyOrder": [
"content",
"split"
],
"required": [
"split"
]
}