cms-json
cms-json copied to clipboard
Define a field as a complex object
Currently, a field can only have a primitive type (string, string[], boolean). It should be possible to define some sub-objects and arrays of sub-objects and use them as field types eg:
{
pages: [
home: {
title: "Home Page",
seo: {
keywords: ["foo", "bar", "hux"],
canonicalUrl: "http://acme.com/home"
}
}
]
}