{
    "$schema": "http://json-schema.org/draft-04/schema#",
    "description": "",
    "type": "object",
    "properties": {
        "options": {
            "type": "object",
            "properties": {
                "bookmarkThumbHeight": {
                    "type": "number"
                },
                "bookmarkThumbWidth": {
                    "type": "number"
                },
                "leftPanelEnabled": {
                    "type": "boolean"
                },
                "limitLocales": {
                    "type": "boolean"
                },
                "minWidthBreakPoint": {
                    "type": "number"
                },
                "navigatorEnabled": {
                    "type": "boolean"
                },
                "openTemplate": {
                    "type": "string",
                    "minLength": 1
                },
                "overrideFullScreen": {
                    "type": "boolean"
                },
                "pagingEnabled": {
                    "type": "boolean"
                },
                "pessimisticAccessControl": {
                    "type": "boolean"
                },
                "preserveViewport": {
                    "type": "boolean"
                },
                "rightPanelEnabled": {
                    "type": "boolean"
                },
                "saveUserSettings": {
                    "type": "boolean"
                },
                "searchWithinEnabled": {
                    "type": "boolean"
                },
                "theme": {
                    "type": "string",
                    "minLength": 1
                },
                "useArrowKeysToNavigate": {
                    "type": "boolean"
                }
            },
            "required": [
                "bookmarkThumbHeight",
                "bookmarkThumbWidth",
                "leftPanelEnabled",
                "limitLocales",
                "minWidthBreakPoint",
                "navigatorEnabled",
                "openTemplate",
                "overrideFullScreen",
                "pagingEnabled",
                "pessimisticAccessControl",
                "preserveViewport",
                "rightPanelEnabled",
                "saveUserSettings",
                "searchWithinEnabled",
                "theme",
                "useArrowKeysToNavigate"
            ]
        },
        "modules": {
            "type": "object",
            "properties": {
                "dialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "close": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "close"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                },
                "downloadDialogue": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "confinedImageSize": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "confinedImageSize"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "currentViewAsJpg": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "download": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "editSettings": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "entireDocument": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "entireFileAsOriginal": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "noneAvailable": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "pagingNote": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "preview": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "wholeImageHighRes": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "wholeImageLowResAsJpg": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "currentViewAsJpg",
                                "download",
                                "editSettings",
                                "entireDocument",
                                "entireFileAsOriginal",
                                "noneAvailable",
                                "pagingNote",
                                "preview",
                                "title",
                                "wholeImageHighRes",
                                "wholeImageLowResAsJpg"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "embedDialogue": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "embedTemplate": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "embedTemplate"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "customSize": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "height": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "instructions": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "width": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "customSize",
                                "height",
                                "instructions",
                                "title",
                                "width"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "footerPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "bookmarkEnabled": {
                                    "type": "boolean"
                                },
                                "downloadEnabled": {
                                    "type": "boolean"
                                },
                                "embedEnabled": {
                                    "type": "boolean"
                                },
                                "fullscreenEnabled": {
                                    "type": "boolean"
                                },
                                "minimiseButtons": {
                                    "type": "boolean"
                                },
                                "openEnabled": {
                                    "type": "boolean"
                                }
                            },
                            "required": [
                                "bookmarkEnabled",
                                "downloadEnabled",
                                "embedEnabled",
                                "fullscreenEnabled",
                                "minimiseButtons",
                                "openEnabled"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "bookmark": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "download": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "embed": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "exitFullScreen": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "fullScreen": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "open": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "bookmark",
                                "download",
                                "embed",
                                "exitFullScreen",
                                "fullScreen",
                                "open"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "genericDialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "emptyValue": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "invalidNumber": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "noMatches": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "ok": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "pageNotFound": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "refresh": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "emptyValue",
                                "invalidNumber",
                                "noMatches",
                                "ok",
                                "pageNotFound",
                                "refresh"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                },
                "helpDialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "text": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "text",
                                "title"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                },
                "moreInfoRightPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "displayOrder": {
                                    "type": "string"
                                },
                                "exclude": {
                                    "type": "string"
                                },
                                "panelAnimationDuration": {
                                    "type": "number"
                                },
                                "panelCollapsedWidth": {
                                    "type": "number"
                                },
                                "panelExpandedWidth": {
                                    "type": "number"
                                },
                                "panelOpen": {
                                    "type": "boolean"
                                },
                                "textLimit": {
                                    "type": "number"
                                },
                                "textLimitType": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "displayOrder",
                                "exclude",
                                "panelAnimationDuration",
                                "panelCollapsedWidth",
                                "panelExpandedWidth",
                                "panelOpen",
                                "textLimit",
                                "textLimitType"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "attribution": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "collapse": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "collapseFull": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "description": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "expand": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "expandFull": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "holdingText": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "less": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "license": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "logo": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "more": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "noData": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "attribution",
                                "collapse",
                                "collapseFull",
                                "description",
                                "expand",
                                "expandFull",
                                "holdingText",
                                "less",
                                "license",
                                "logo",
                                "more",
                                "noData",
                                "title"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "pagingHeaderPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "imageSelectionBoxEnabled": {
                                    "type": "boolean"
                                },
                                "localeToggleEnabled": {
                                    "type": "boolean"
                                },
                                "pageModeEnabled": {
                                    "type": "boolean"
                                },
                                "pagingToggleEnabled": {
                                    "type": "boolean"
                                }
                            },
                            "required": [
                                "imageSelectionBoxEnabled",
                                "localeToggleEnabled",
                                "pageModeEnabled",
                                "pagingToggleEnabled"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "close": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "emptyValue": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "first": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "firstImage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "firstPage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "folio": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "go": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "help": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "image": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "last": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "lastImage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "lastPage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "next": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "nextImage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "nextPage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "of": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "oneUp": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "page": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "previous": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "previousImage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "previousPage": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "settings": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "twoUp": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "close",
                                "emptyValue",
                                "first",
                                "firstImage",
                                "firstPage",
                                "folio",
                                "go",
                                "help",
                                "image",
                                "last",
                                "lastImage",
                                "lastPage",
                                "next",
                                "nextImage",
                                "nextPage",
                                "of",
                                "oneUp",
                                "page",
                                "previous",
                                "previousImage",
                                "previousPage",
                                "settings",
                                "twoUp"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "seadragonCenterPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "animationTime": {
                                    "type": "number"
                                },
                                "autoHideControls": {
                                    "type": "boolean"
                                },
                                "blendTime": {
                                    "type": "number"
                                },
                                "constrainDuringPan": {
                                    "type": "boolean"
                                },
                                "controlsFadeAfterInactive": {
                                    "type": "number"
                                },
                                "controlsFadeDelay": {
                                    "type": "number"
                                },
                                "controlsFadeLength": {
                                    "type": "number"
                                },
                                "defaultZoomLevel": {
                                    "type": "number"
                                },
                                "immediateRender": {
                                    "type": "boolean"
                                },
                                "maxZoomLevel": {
                                    "type": "number"
                                },
                                "navigatorPosition": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "pageGap": {
                                    "type": "number"
                                },
                                "showHomeControl": {
                                    "type": "boolean"
                                },
                                "trimAttributionCount": {
                                    "type": "number"
                                },
                                "visibilityRatio": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "animationTime",
                                "autoHideControls",
                                "blendTime",
                                "constrainDuringPan",
                                "controlsFadeAfterInactive",
                                "controlsFadeDelay",
                                "controlsFadeLength",
                                "defaultZoomLevel",
                                "immediateRender",
                                "maxZoomLevel",
                                "navigatorPosition",
                                "pageGap",
                                "showHomeControl",
                                "trimAttributionCount",
                                "visibilityRatio"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "acknowledgements": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "goHome": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "imageUnavailable": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "next": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "previous": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "rotateRight": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "zoomIn": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "zoomOut": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "acknowledgements",
                                "goHome",
                                "imageUnavailable",
                                "next",
                                "previous",
                                "rotateRight",
                                "zoomIn",
                                "zoomOut"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "searchFooterPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "elideDetailsTermsCount": {
                                    "type": "number"
                                },
                                "elideResultsTermsCount": {
                                    "type": "number"
                                },
                                "pageModeEnabled": {
                                    "type": "boolean"
                                }
                            },
                            "required": [
                                "elideDetailsTermsCount",
                                "elideResultsTermsCount",
                                "pageModeEnabled"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "clearSearch": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "defaultLabel": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "displaying": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "enterKeyword": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "image": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "imageCaps": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "instanceFound": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "instancesFound": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "nextResult": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "page": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "pageCaps": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "previousResult": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "resultFoundFor": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "resultsFoundFor": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "searchWithin": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "clearSearch",
                                "defaultLabel",
                                "displaying",
                                "enterKeyword",
                                "image",
                                "imageCaps",
                                "instanceFound",
                                "instancesFound",
                                "nextResult",
                                "page",
                                "pageCaps",
                                "previousResult",
                                "resultFoundFor",
                                "resultsFoundFor",
                                "searchWithin"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "settingsDialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "locale": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "navigatorEnabled": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "pagingEnabled": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "preserveViewport": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "website": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "locale",
                                "navigatorEnabled",
                                "pagingEnabled",
                                "preserveViewport",
                                "title",
                                "website"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                },
                "treeViewLeftPanel": {
                    "type": "object",
                    "properties": {
                        "options": {
                            "type": "object",
                            "properties": {
                                "elideCount": {
                                    "type": "number"
                                },
                                "expandFullEnabled": {
                                    "type": "boolean"
                                },
                                "galleryThumbHeight": {
                                    "type": "number"
                                },
                                "galleryThumbWidth": {
                                    "type": "number"
                                },
                                "oneColThumbHeight": {
                                    "type": "number"
                                },
                                "oneColThumbWidth": {
                                    "type": "number"
                                },
                                "pageModeEnabled": {
                                    "type": "boolean"
                                },
                                "panelAnimationDuration": {
                                    "type": "number"
                                },
                                "panelCollapsedWidth": {
                                    "type": "number"
                                },
                                "panelExpandedWidth": {
                                    "type": "number"
                                },
                                "panelOpen": {
                                    "type": "boolean"
                                },
                                "tabOrder": {
                                    "type": "string"
                                },
                                "thumbsEnabled": {
                                    "type": "boolean"
                                },
                                "thumbsExtraHeight": {
                                    "type": "number"
                                },
                                "thumbsImageFadeInDuration": {
                                    "type": "number"
                                },
                                "thumbsLoadRange": {
                                    "type": "number"
                                },
                                "treeEnabled": {
                                    "type": "boolean"
                                },
                                "twoColThumbHeight": {
                                    "type": "number"
                                },
                                "twoColThumbWidth": {
                                    "type": "number"
                                }
                            },
                            "required": [
                                "elideCount",
                                "expandFullEnabled",
                                "galleryThumbHeight",
                                "galleryThumbWidth",
                                "oneColThumbHeight",
                                "oneColThumbWidth",
                                "pageModeEnabled",
                                "panelAnimationDuration",
                                "panelCollapsedWidth",
                                "panelExpandedWidth",
                                "panelOpen",
                                "tabOrder",
                                "thumbsEnabled",
                                "thumbsExtraHeight",
                                "thumbsImageFadeInDuration",
                                "thumbsLoadRange",
                                "treeEnabled",
                                "twoColThumbHeight",
                                "twoColThumbWidth"
                            ]
                        },
                        "content": {
                            "type": "object",
                            "properties": {
                                "collapse": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "collapseFull": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "date": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "expand": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "expandFull": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "index": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "sortBy": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "thumbnails": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "title": {
                                    "type": "string",
                                    "minLength": 1
                                },
                                "volume": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "collapse",
                                "collapseFull",
                                "date",
                                "expand",
                                "expandFull",
                                "index",
                                "sortBy",
                                "thumbnails",
                                "title",
                                "volume"
                            ]
                        }
                    },
                    "required": [
                        "options",
                        "content"
                    ]
                },
                "clickThroughDialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "viewTerms": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "viewTerms"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                },
                "loginDialogue": {
                    "type": "object",
                    "properties": {
                        "content": {
                            "type": "object",
                            "properties": {
                                "login": {
                                    "type": "string",
                                    "minLength": 1
                                }
                            },
                            "required": [
                                "login"
                            ]
                        }
                    },
                    "required": [
                        "content"
                    ]
                }
            },
            "required": [
                "dialogue",
                "downloadDialogue",
                "embedDialogue",
                "footerPanel",
                "genericDialogue",
                "helpDialogue",
                "moreInfoRightPanel",
                "pagingHeaderPanel",
                "seadragonCenterPanel",
                "searchFooterPanel",
                "settingsDialogue",
                "treeViewLeftPanel",
                "clickThroughDialogue",
                "loginDialogue"
            ]
        },
        "localisation": {
            "type": "object",
            "properties": {
                "label": {
                    "type": "string",
                    "minLength": 1
                },
                "locales": {
                    "type": "array",
                    "_uniqueItems": true,
                    "minItems": 1,
                    "items": {
                        "required": [
                            "name",
                            "label"
                        ],
                        "properties": {
                            "name": {
                                "type": "string",
                                "minLength": 1
                            },
                            "label": {
                                "type": "string",
                                "minLength": 1
                            }
                        }
                    }
                }
            },
            "required": [
                "label",
                "locales"
            ]
        },
        "content": {
            "type": "object",
            "properties": {
                "authCORSError": {
                    "type": "string",
                    "minLength": 1
                },
                "canvasIndexOutOfRange": {
                    "type": "string",
                    "minLength": 1
                },
                "degradedResourceMessage": {
                    "type": "string",
                    "minLength": 1
                },
                "degradedResourceLogin": {
                    "type": "string",
                    "minLength": 1
                }
            },
            "required": [
                "authCORSError",
                "canvasIndexOutOfRange",
                "degradedResourceMessage",
                "degradedResourceLogin"
            ]
        }
    },
    "required": [
        "options",
        "modules",
        "localisation",
        "content"
    ]
}