/// <summary>
        /// Gets the rendered XPM markup
        /// </summary>
        /// <param name="localization">The context Localization.</param>
        /// <returns>The XPM markup.</returns>
        public override string GetXpmMarkup(Localization localization)
        {
            XpmRegion xpmRegion = SiteConfiguration.GetXpmRegion(Name, localization);

            if (xpmRegion == null)
            {
                return(string.Empty);
            }

            // TODO: obtain MinOccurs & MaxOccurs from regions.json
            return(string.Format(
                       _xpmRegionMarkup,
                       Name,
                       string.Join(", ", xpmRegion.ComponentTypes.Select(ct => string.Format(_xpmComponentTypeMarkup, ct.Schema, ct.Template))),
                       0));
        }