{
  "$schema": "http://json-schema.org/draft-07/schema",
  "definitions": {
    "commonAttributes": {
      "type": "object",
      "properties": {
        "appendClassWhenInViewport": {
          "type": "string",
          "title": "appendClassWhenInViewport",
          "description": "This applies the provided value as a class name while the component is visible and removes the class name when the component is not visible."
        },
        "customClass": {
          "type": "string",
          "title": "customClass",
          "description": "customClass can contain one or more custom CSS classes separated by spaces."
        },
        "customStyle": {
          "type": "string",
          "title": "customStyle",
          "description": "Contains a list of CSS style rules."
        },
        "debug": {
          "type": "boolean",
          "title": "debug",
          "description": "The default value is false. Used to get useful developer-related information about component behavior."
        },
        "noShowType": {
          "type": "string",
          "title": "noShowType",
          "description": "This property reflects the type of the visibility of the item. See the 'data-ch5-noshow-type' custom HTML attribute for further information.",
          "enum": [
            "visibility",
            "display",
            "remove"
          ]
        },
        "role": {
          "type": "string",
          "title": "role",
          "description": "This is an accessibility attribute implemented by all ch5-components and added automatically if not set by the user. Where possible, it represents the closest supported type for a ch5-component. The default value for this ch5-component can be overridden via this property."
        },
        "receiveStateCustomClass": {
          "type": "string",
          "title": "receiveStateCustomClass",
          "description": "The value of this signal will be applied as an equivalent property on 'customClass'. This change will remove the prior value and apply the new value.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "receiveStateCustomStyle": {
          "type": "string",
          "title": "receiveStateCustomStyle",
          "description": "The value of this signal will be applied as an equivalent property on 'styleClass'. This change will remove the prior value and apply the new value.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "receiveStateEnable": {
          "type": "string",
          "title": "receiveStateEnable",
          "description": "When true, the Boolean value of the signal determines if the component is enabled. Note that the signal name is provided, and the value of the signal has the opposite convention of the 'disabled' attribute. This is to provide consistency with current programming practices.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "receiveStateShow": {
          "type": "string",
          "title": "receiveStateShow",
          "description": "When true, the Boolean value of the signal determines if the component is visible.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "receiveStateShowPulse": {
          "type": "string",
          "title": "receiveStateShowPulse",
          "description": "On transition from false to true, this signal directs the component to become visible.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "receiveStateHidePulse": {
          "type": "string",
          "title": "receiveStateHidePulse",
          "description": "On transition from false to true, this signal will direct if the component is no longer visible.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "sendEventOnShow": {
          "type": "string",
          "title": "sendEventOnShow",
          "description": "This has a Boolean value of true when the component is visible and false when not visible. Note that even if component is completely covered by other visible elements, it is still considered visible.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        }
      }
    },
    "data-ch5-*": {
      "type": "object",
      "properties": {
        "data-ch5-show": {
          "type": "string",
          "title": "data-ch5-show",
          "description": "Specifies whether or not an element is visible based upon the value of the state. Works with standard HTML elements. The data-ch5-noshow-type attribute can be supplied to set how an HTML element will be hidden from view.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-noshow-type": {
          "type": "string",
          "title": "data-ch5-noshow-type",
          "description": "The 'data-ch5-noshow-type' custom attribute is related to the HTML custom attribute 'data-ch5-show' and overrides the way in which a Component is made invisible. The Crestron Components library will default the 'noshow' type based upon the element type.",
          "enum": [
            "visibility",
            "display",
            "remove"
          ]
        },
        "data-ch5-appendclass": {
          "type": "string",
          "title": "data-ch5-appendclass",
          "description": "The 'data-ch5-appendclass' custom HTML attribute appends the value of a signal to the 'class' attribute on a standard HTML element. A change in signal value will remove the prior value of the signal and append the new value.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-innerhtml": {
          "type": "string",
          "title": "data-ch5-innerhtml",
          "description": "The 'data-ch5-innerhtml' custom HTML attribute allows for dynamic HTML content to be applied to standard HTML elements such as <div>. This is a very powerful construct that, when used incorrecly, can lead to functional and performance issues if used to inject badly-formed HTML. The attribute value is signalScript as described in the ch5.subscribeStateScript utility function description.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-showpulse": {
          "type": "string",
          "title": "data-ch5-showpulse",
          "description": "Works similarly to data-ch5-show, but does not offer toggle functionality (can only make the elements visible). Works with standard HTML elements. The data-ch5-noshow-type attribute can be supplied to set how an HTML element will be hidden from view.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-textcontent": {
          "type": "string",
          "title": "data-ch5-textcontent",
          "description": "The 'data-ch5-textcontent' custom HTML attribute allows for dynamic text content to be applied to standard HTML elements such as <p> and <h1-6>. The attribute value is signalScript as described in the ch5.subscribeStateScript utility function description.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-appendstyle": {
          "type": "string",
          "title": "data-ch5-appendstyle",
          "description": "The 'data-ch5-appendstyle' custom HTML attribute appends the value of a signal to the 'style' attribute on a standard HTML element. A signal value change will remove the prior value of the signal and append the new value.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-hidepulse": {
          "type": "string",
          "title": "data-ch5-hidepulse",
          "description": "Works similarly to data-ch5-show, but does not offer toggle functionality (can only hide the elements). Works with standard HTML elements. The data-ch5-noshow-type attribute can be supplied to set how an HTML element will be hidden from view.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-keep-sig-subscription": {
          "type": "string",
          "title": "data-ch5-keep-sig-subscription",
          "description": "Keeps the state subscription key generated by hidepulse, showpulse, or show custom attributes.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        },
        "data-ch5-i18n": {
          "type": "string",
          "title": "data-ch5-i18n",
          "description": "The 'data-ch5-i18n' custom HTML attribute allows for text content translation to be applied to standard HTML elements.",
          "pattern": "^[a-zA-Z0-9_.-]{1,100}$"
        }
      }
    }
  },
  "default": {},
  "type": "object",
  "title": "Project Configuration",
  "description": "This document is used to configure the themes, content, and navigation in the project. Any pages or widgets can be added or removed via the project configuration.",
  "required": [
    "projectName",
    "projectType",
    "version",
    "faviconPath",
    "menuOrientation",
    "selectedTheme",
    "defaultLanguage",
    "forceDeviceXPanel",
    "useWebXPanel",
    "themes",
    "header",
    "content",
    "customSignals",
    "footer"
  ],
  "properties": {
    "projectName": {
      "title": "Project Name",
      "description": "A meaningful name for the project.",
      "pattern": "^(?:@(?:[a-z0-9-*~][a-z0-9-*._~]*)?\/)?[a-z0-9-~][a-z0-9-._~]*$",
      "type": "string",
      "minLength": 1,
      "maxLength": 214
    },
    "projectType": {
      "default": "shell-template",
      "title": "Project Type",
      "description": "The template chosen for the type of project.",
      "enum": [
        "ZoomRoomControl",
        "zoomroomcontrol",
        "shell-template"
      ],
      "type": "string"
    },
    "version": {
      "default": "0.0.1",
      "title": "Version",
      "description": "The version of the project configuration.",
      "pattern": "^[^\\s]+$",
      "type": "string"
    },
    "faviconPath": {
      "default": "",
      "title": "favicon",
      "description": "A well-designed favicon to match the logo or theme of your project. The preferred format for favicon icon is '.ico' and preferred sizes are 16x16, 32x32 or 48x48.",
      "type": "string",
      "pattern": "^[^\\s]+$"
    },
    "menuOrientation": {
      "default": "horizontal",
      "title": "Menu Orientation",
      "description": "The type of navigation menu to display in the layout. The 'horizontal' menu displays navigation items in the footer, the 'vertical' menu has a toggle icon in the header bar and option 'none' will not display any navigation menu. In the configuration, the header display value should not be set to false when you set menuOrientation as 'vertical'.",
      "enum": [
        "horizontal",
        "vertical",
        "none"
      ],
      "type": "string"
    },
    "selectedTheme": {
      "title": "Default Theme Name",
      "description": "The default CH5 theme to be applied for the project. The theme name should match with one of the names in the themes configuration array.",
      "type": "string"
    },
    "defaultLanguage": {
      "title": "Default Language Name",
      "description": "The default language file name to load when the project is launched. The value should match a file in app/project/assets/data/translation or app/template/assets/data/translation.",
      "type": "string",
      "pattern": "^[^\\s]+$"
    },
    "useWebXPanel": {
      "default": false,
      "type": "boolean",
      "description": "Use useWebXPanel in the CH5 Project to connect with the CS.",
      "title": "Use WebXPanel"
    },
    "forceDeviceXPanel": {
      "default": false,
      "type": "boolean",
      "description": "Use forceDeviceXPanel in the CH5 Project to connect with the CS as a browser based WebXPanel project.",
      "title": "Force Device XPanel"
    },
    "themes": {
      "default": [],
      "description": "A list of CH5 themes that are used in the project.",
      "title": "CH5 Themes List",
      "additionalItems": false,
      "items": {
        "anyOf": [
          {
            "default": {},
            "description": "An item from the themes list.",
            "required": [
              "name"
            ],
            "title": "Theme item",
            "properties": {
              "name": {
                "description": "A theme name for your styles.",
                "title": "Theme Name",
                "type": "string"
              },
              "brandLogo": {
                "$id": "#/properties/themes/items/anyOf/0/properties/brandLogo",
                "type": "object",
                "title": "Brand Logo",
                "description": "The url path for the logo. Supports web image formats. The logo can match your selected theme color.",
                "required": [
                  "url"
                ],
                "examples": [
                  {
                    "url": "",
                    "alt": "Logo",
                    "receiveStateUrl": ""
                  }
                ],
                "properties": {
                  "url": {
                    "$id": "#/properties/themes/items/anyOf/0/properties/brandLogo/properties/url",
                    "type": "string",
                    "title": "Image URL",
                    "description": "The path to the brand logo image.",
                    "pattern": "^(.*?(svg|gif|png|jpe|jpg|jpeg|jfif))$"
                  },
                  "alt": {
                    "$id": "#/properties/themes/items/anyOf/0/properties/brandLogo/properties/alt",
                    "type": "string",
                    "title": "Alt text for an Image",
                    "description": "Specifies alternate text for the image, if the image for some reason cannot be displayed."
                  },
                  "receiveStateUrl": {
                    "$id": "#/properties/themes/items/anyOf/0/properties/brandLogo/properties/receiveStateUrl",
                    "type": "string",
                    "title": "receiveStateUrl",
                    "description": "The value of this signal, when defined, will set the url attribute."
                  }
                },
                "additionalProperties": false
              }
            },
            "additionalProperties": false
          }
        ]
      }
    },
    "config": {
      "$id": "#/properties/config",
      "type": "object",
      "title": "Config",
      "description": "The configuration information of the Control System.",
      "default": {
        "controlSystem": {
          "host": "",
          "port": 49200,
          "roomId": "",
          "ipId": "",
          "tokenSource": "",
          "tokenUrl": ""
        }
      },
      "properties": {
        "controlSystem": {
          "default": {
            "host": "",
            "port": 49200,
            "roomId": "",
            "ipId": "",
            "tokenSource": "",
            "tokenUrl": ""
          },
          "description": "The details of Control system to connect.",
          "title": "ControlSystem",
          "properties": {
            "host": {
              "default": "",
              "type": "string",
              "description": "Processor hostname or address.",
              "title": "host",
              "pattern": "^(?!\\s*$).+"
            },
            "port": {
              "default": 49200,
              "type": "integer",
              "title": "port",
              "description": "Processor port.",
              "minimum": 1,
              "maximum": 64000
            },
            "roomId": {
              "default": "",
              "type": "string",
              "description": "The Room Id",
              "title": "roomId",
              "pattern": "^(?!\\s*$).+"
            },
            "ipId": {
              "default": "0x03",
              "type": "string",
              "description": "IP table identifier. Developers and end users should reference IP id as a hexadecimal value. It should not be interpreted as base 10 values, it should only be interpreted as hexadecimal value.",
              "title": "ipId",
              "pattern": "^(?!\\s*$).+"
            },
            "tokenUrl": {
              "default": "",
              "type": "string",
              "title": "tokenUrl",
              "description": "URL to identity provider REST API that provides security token to allow access to the control system.",
              "pattern": "^(?!\\s*$).+"
            },
            "tokenSource": {
              "default": "",
              "type": "string",
              "title": "tokenSource",
              "description": "Crestron provided code of the identity provider that provides security token",
              "pattern": "^(?!\\s*$).+"
            }
          },
          "additionalProperties": false
        }
      },
      "additionalProperties": false
    },
    "customSignals": {
      "$id": "#/properties/customSignals",
      "type": "object",
      "title": "Custom Signals",
      "description": "The configuration information of custom signals of the shell template",
      "default": {
        "receiveStateTheme": "templateTheme",
        "sendEventTheme": "templateTheme",
        "receiveStateLanguage": "templateLanguage",
        "sendEventLanguage": "templateLanguage"
      },
      "required": [
        "receiveStateTheme",
        "sendEventTheme",
        "receiveStateLanguage",
        "sendEventLanguage"
      ],
      "properties": {
        "receiveStateTheme": {
          "$id": "#/properties/customSignals/properties/receiveStateTheme",
          "default": "templateTheme",
          "type": "string",
          "description": "join to receive and select a string theme name from the control system.",
          "title": "receiveStateTheme"
        },
        "sendEventTheme": {
          "$id": "#/properties/customSignals/properties/sendEventTheme",
          "default": "templateTheme",
          "type": "string",
          "description": "join to send a string theme name to the control system.",
          "title": "sendEventTheme"
        },
        "receiveStateLanguage": {
          "$id": "#/properties/customSignals/properties/receiveStateLanguage",
          "default": "templateLanguage",
          "type": "string",
          "description": "join to receive and select a string language name from the control system.",
          "title": "receiveStateLanguage"
        },
        "sendEventLanguage": {
          "$id": "#/properties/customSignals/properties/sendEventLanguage",
          "default": "templateLanguage",
          "type": "string",
          "description": "join to send a string language name to the control system.",
          "title": "sendEventLanguage"
        }
      },
      "additionalProperties": false
    },
    "header": {
      "$id": "#/properties/header",
      "default": {},
      "description": "The header bar for the layout can be configured here.",
      "required": [
        "display",
        "displayInfo",
        "displayTheme",
        "$component"
      ],
      "title": "Layout Header Bar",
      "properties": {
        "display": {
          "$id": "#/properties/header/properties/display",
          "default": true,
          "type": "boolean",
          "description": "Shows or hides the header bar.",
          "title": "Display Property"
        },
        "displayInfo": {
          "$id": "#/properties/header/properties/displayInfo",
          "default": true,
          "type": "boolean",
          "description": "Shows or hides the information icon on the header bar. The displayInfo is only applicable when the display is set to true.\nNOTE: Not applicable for custom template.",
          "title": "displayInfo Property"
        },
        "displayTheme": {
          "$id": "#/properties/header/properties/displayTheme",
          "default": true,
          "type": "boolean",
          "description": "Shows or hides the Theme icon on the header bar. The displayTheme is only applicable when the display is set to true.\nNOTE: Not applicable for custom template.",
          "title": "displayTheme Property"
        },
        "diagnostics": {
          "$id": "#/properties/header/properties/diagnostics",
          "type": "object",
          "properties": {
            "logs": {
              "type": "object",
              "properties": {
                "logAfterProjectLoad": {
                  "type": "boolean",
                  "default": true,
                  "description": "Log diagnostic information after project loads. This diagnostic information will be helpful to analyze the project load time and performance.",
                  "title": "Log on Project load"
                },
                "receiveStateLogDiagnostics": {
                  "type": "string",
                  "default": "",
                  "description": "Accepts join or contract name to log diagnostics when the event is received",
                  "title": "Log on Project load"
                },
                "logDiagnostics": {
                  "type": "string",
                  "default": "none",
                  "description": "Select a frequency to log the diagnostics ",
                  "title": "Log frequency",
                  "enum": [
                    "hourly",
                    "daily",
                    "weekly",
                    "none"
                  ]
                }
              },
              "required": [
                "logAfterProjectLoad",
                "receiveStateLogDiagnostics",
                "logDiagnostics"
              ]
            }
          },
          "required": [
            "logs"
          ]
        },
        "$component": {
          "$id": "#/properties/header/properties/$component",
          "default": "",
          "type": "string",
          "title": "Component reference",
          "description": "$component refers to a pageName from the pages array. This page should not have a navigation menu, and the standAloneView property of the page should be set to true."
        }
      },
      "additionalProperties": false
    },
    "footer": {
      "$id": "#/properties/footer/properties/%24component",
      "default": {
        "display": false,
        "$component": "#footer"
      },
      "description": "The footer bar for the layout can be configured here.",
      "required": [
        "display",
        "$component"
      ],
      "title": "Layout Footer Bar",
      "properties": {
        "display": {
          "default": false,
          "type": "boolean",
          "description": "Shows or hides the footer bar.",
          "title": "Display Property"
        },
        "$component": {
          "type": "string",
          "description": "$component refers to a pageName from the pages array. This page should not have a navigation menu, and the standAloneView property of the page should be set to true.",
          "title": "Custom footer"
        }
      },
      "additionalProperties": false
    },
    "content": {
      "default": {},
      "description": "The content area consists of pages and widgets.",
      "required": [
        "$defaultView",
        "pages"
      ],
      "title": "Content Information",
      "properties": {
        "$defaultView": {
          "type": "string",
          "description": "The $defaultView refers to a pageName from the pages array. The standAloneView property of the page should be false.",
          "title": "$defaultView"
        },
        "triggerViewProperties": {
          "default": {},
          "title": "triggerViewProperties",
          "description": "The properties, send and receive states for triggerview can be set here.",
          "anyOf": [
            {
              "$ref": "#/definitions/commonAttributes"
            },
            {
              "properties": {
                "gestureable": {
                  "type": "boolean",
                  "title": "gestureable",
                  "description": "The default value is false. When set to true, gesturing will be supported. Adding this will change the behavior inside of the component. Refer to Gesture - Use Cases for more information."
                },
                "endless": {
                  "type": "boolean",
                  "title": "endless",
                  "description": "The default value is false. The nextChildView method can be called on the last ChildView to open the first-child."
                },
                "sendEventShowChildIndex": {
                  "type": "string",
                  "title": "sendEventShowChildIndex",
                  "description": "Sends the numeric value of the currently visible state, based on 0-based numbering."
                },
                "receiveStateShowChildIndex": {
                  "type": "string",
                  "title": "receiveStateShowChildIndex",
                  "description": "The receipt of the numeric value of this state will make the 0-based index of views in the component become visible."
                },
                "disableAnimation": {
                  "default": false,
                  "type": "boolean",
                  "title": "disableAnimation",
                  "description": "The default value is false. When set to true. This will enable or disable the animation for the pages."
                }
              }
            }
          ],
          "additionalProperties": true
        },
        "pages": {
          "default": [],
          "title": "Pages List",
          "description": "The pages are loaded as a triggerView child. If navigation is used, then the menu item will be displayed as per the menu orientation.",
          "additionalItems": false,
          "items": {
            "anyOf": [
              {
                "default": {},
                "title": "Page Item",
                "description": "This consists of the page item.",
                "examples": [
                  {
                    "pageName": "page1",
                    "fullPath": "./app/project/components/pages/page1/",
                    "fileName": "page1.html",
                    "triggerViewChildProperties": {},
                    "cachePage": false,
                    "preloadPage": false,
                    "navigation": {
                      "sequence": 1,
                      "label": "page1",
                      "isI18nLabel": false,
                      "iconClass": "",
                      "iconUrl": "./app/project/assets/img/navigation/ok.svg",
                      "iconPosition": "bottom"
                    },
                    "animation": {
                      "transitionIn": "",
                      "transitionOut": "",
                      "transitionDuration": "",
                      "transitionDelay": ""
                    }
                  }
                ],
                "required": [
                  "pageName",
                  "fullPath",
                  "fileName",
                  "standAloneView",
                  "cachePage",
                  "preloadPage"
                ],
                "properties": {
                  "pageName": {
                    "type": "string",
                    "title": "Page Name",
                    "description": "Page Name for HTML page.",
                    "pattern": "^[a-zA-Z][a-zA-Z0-9-_ $]*$"
                  },
                  "fullPath": {
                    "type": "string",
                    "title": "fullPath",
                    "description": "The full path of the HTML page.",
                    "examples": [
                      "./app/project/components/pages/page1/"
                    ]
                  },
                  "fileName": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/fileName",
                    "type": "string",
                    "title": "fileName",
                    "description": "The filename of the HTML page.",
                    "pattern": "\\.html$"
                  },
                  "standAloneView": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/standAloneView",
                    "type": "boolean",
                    "title": "standAloneView",
                    "default": false,
                    "description": "The standAloneView pages will not be a part of the triggerview content (slide). The navigation node takes preference over standAloneView when it is specified for the page.\nThere are two instances where the standAloneView does not contain a navigation node:\n1. When standAloneView is set to false.\n* The pages will not be a part of the content triggerview (slide).\n* These pages can be used to include specific HTML content as required (for example, Header and Footer).\n\r2. When standAloneView is set to true.\n* The pages will not be a part of the content triggerview (slide).\n* This page will be automatically added as ch5-import-htmlsnippet in the index.html page.\n* These pages can be used for full screen pop-ups or page loading views.\n"
                  },
                  "cachePage": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/cachePage",
                    "type": "boolean",
                    "title": "cachePage",
                    "default": false,
                    "description": "The cachePage property will cache the page in Shell Template"
                  },
                  "preloadPage": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/preloadPage",
                    "type": "boolean",
                    "title": "preloadPage",
                    "default": true,
                    "description": "The preloadPage property will preload the page in Shell Template "
                  },
                  "triggerViewChildProperties": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/triggerViewChildProperties",
                    "type": "object",
                    "title": "ch5-triggerview Child properties",
                    "description": "The properties, receive and send states of ch5 triggerview child.",
                    "default": {},
                    "examples": [
                      {
                        "sendEventOnShow": "",
                        "receiveStateCustomClass": "",
                        "receiveStateCustomStyle": "",
                        "receiveStateShow": "",
                        "receiveStateShowPulse": "",
                        "receiveStateHidePulse": "",
                        "receiveStateEnable": ""
                      }
                    ],
                    "anyOf": [
                      {
                        "$ref": "#/definitions/commonAttributes"
                      }
                    ],
                    "additionalProperties": true
                  },
                  "navigation": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation",
                    "type": "object",
                    "title": "Navigation Menu",
                    "description": "The navigation menu items.",
                    "default": {},
                    "examples": [
                      {
                        "sequence": 1,
                        "label": "page1",
                        "isI18nLabel": false,
                        "iconClass": "",
                        "iconUrl": "./app/project/assets/img/navigation/ok.svg",
                        "iconPosition": "bottom"
                      }
                    ],
                    "required": [
                      "sequence",
                      "label",
                      "isI18nLabel"
                    ],
                    "properties": {
                      "sequence": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/sequence",
                        "type": "integer",
                        "title": "Navigation Sequence",
                        "description": "The navigation sequence of the menu items that are displayed.",
                        "default": 0,
                        "examples": [
                          1
                        ]
                      },
                      "label": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/label",
                        "type": "string",
                        "title": "label",
                        "description": "The label for the navigation menu item."
                      },
                      "isI18nLabel": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/isI18nLabel",
                        "type": "boolean",
                        "title": "isI18nLabel",
                        "description": "This flag indicates if the label has to be fetched from the user defined i18n language file."
                      },
                      "iconClass": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/iconClass",
                        "type": "string",
                        "title": "Icon Class",
                        "description": "The icon class for the navigation menu item."
                      },
                      "iconUrl": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/iconUrl",
                        "type": "string",
                        "title": "Icon URL",
                        "description": "The icon URL for the navigation menu item."
                      },
                      "iconPosition": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/navigation/properties/iconPosition",
                        "type": "string",
                        "title": "Icon Position",
                        "description": "The icon position for the navigation menu item.",
                        "enum": [
                          "",
                          "first",
                          "last",
                          "top",
                          "bottom"
                        ]
                      }
                    },
                    "additionalProperties": false
                  },
                  "animation": {
                    "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/animation",
                    "type": "object",
                    "title": "Animation Object",
                    "description": "Animation for the page",
                    "default": {},
                    "examples": [
                      {
                        "transitionIn": "",
                        "transitionOut": "",
                        "transitionDuration": "1s",
                        "transitionDelay": "0s"
                      }
                    ],
                    "required": [],
                    "properties": {
                      "transitionIn": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/animation/properties/transitionIn",
                        "type": "string",
                        "title": "Transition in",
                        "description": "The animation for the page entry into the viewport."
                      },
                      "transitionOut": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/animation/properties/transitionOut",
                        "type": "string",
                        "title": "Transition out",
                        "description": "The animation for the page exit from the viewport."
                      },
                      "transitionDuration": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/animation/properties/transitionDuration",
                        "type": "string",
                        "title": "Transition duration",
                        "description": "The animation duration."
                      },
                      "transitionDelay": {
                        "$id": "#/properties/content/properties/pages/items/anyOf/0/properties/animation/properties/transitionDelay",
                        "type": "string",
                        "title": "Transition delay",
                        "description": "The animation delay."
                      }
                    },
                    "additionalProperties": false
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        },
        "widgets": {
          "$id": "#/properties/content/properties/widgets",
          "type": "array",
          "title": "Widgets Schema",
          "description": "The schema for widgets used on the page.",
          "default": [],
          "examples": [
            [
              {
                "widgetName": "pagedisplay",
                "fullPath": "./app/project/components/widgets/pagedisplay/",
                "fileName": "pagedisplay.html"
              }
            ]
          ],
          "additionalItems": false,
          "items": {
            "$id": "#/properties/content/properties/widgets/items",
            "anyOf": [
              {
                "$id": "#/properties/content/properties/widgets/items/anyOf/0",
                "type": "object",
                "default": {},
                "examples": [
                  {
                    "widgetName": "",
                    "fullPath": "",
                    "fileName": ""
                  }
                ],
                "required": [
                  "widgetName",
                  "fullPath",
                  "fileName"
                ],
                "properties": {
                  "widgetName": {
                    "default": "",
                    "description": "Name for widget.",
                    "title": "widgetName",
                    "pattern": "^[a-zA-Z][a-zA-Z0-9-_.$]*$"
                  },
                  "fullPath": {
                    "description": "Adds a full path for the widget.",
                    "pattern": "/$",
                    "title": "fullPath of the Widget"
                  },
                  "fileName": {
                    "description": "The filename of the widget.",
                    "title": "fileName",
                    "pattern": "\\.html$"
                  }
                },
                "additionalProperties": false
              }
            ]
          }
        }
      },
      "additionalProperties": false
    }
  },
  "additionalProperties": false
}