{
    "schema": {
        "type": "object",
        "properties": {
            "docDscr": {
                "$ref": "schema_timeseries.json#/properties/doc_desc"
            },
            "stdyDscr": {
                "$ref": "schema_timeseries.json#/properties/study_desc"
            },
            "fileDscr": {
                "$ref": "schema_timeseries.json#/properties/data_files/items"
            },
            "variables": {
                "$ref": "schema_timeseries.json#/properties/series/items"
            }
        }
    },
    "form": [{
            "key": "docDscr",
            "type": "fieldset",
            "title": "Document Description",
            "expandable": false,
            "expanded": true,
            "items": [{
                "key": "citation",
                "type": "fieldset",
                "id": "1.1",
                "title": "Citation",
                "isVirtual": true,
                "expandable": true,
                "items": [{
                        "key": "docDscr.title",
                        "id": "1.1.1",
                        "title": "Document title",
                        "exportKey": ""
                    },
                    {
                        "key": "docDscr.idno",
                        "id": "1.1.2",
                        "title": "Unique ID number for the document",
                        "exportKey": ""
                    },
                    {
                        "key": "docDscr.producers",
                        "exportKey": "",
                        "title": "Producers",
                        "type": "table",
                        "required": true,
                        "id": "1.1.3",
                        "expandable": false,
                        "items": [{
                                "key": "docDscr.producers[].name",
                                "exportKey": "#",
                                "title": "Name"
                            },
                            {
                                "key": "docDscr.producers[].abbr",
                                "title": "Abbreviation"
                            },
                            {
                                "key": "docDscr.producers[].affiliation",
                                "title": "Affiliation"
                            },
                            {
                                "key": "docDscr.producers[].role",
                                "title": "Role"
                            }
                        ]
                    },
                    {
                        "key": "docDscr.prod_date",
                        "title": "Date of Production",
                        "id": "1.1.4",
                        "exportKey": ""
                    },
                    {
                        "key": "docDscr.version",
                        "title": "Document version",
                        "type": "textarea",
                        "id": "1.1.5",
                        "exportKey": ""
                    }
                ]
            }]
        },
        {
            "key": "stdyDscr",
            "type": "fieldset",
            "title": "Study Description",
            "expandable": false,
            "expanded": true,
            "id": "2",
            "items": [{
                    "key": "stdyDscr.title",
                    "title": "Title",
                    "id": "2.1",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.abbreviation",
                    "title": "Abbreviation/Acronym",
                    "id": "2.2",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.authoring_entity",
                    "title": "Authoring entity",
                    "id": "2.3",
                    "exportKey": "",
                    "type": "table",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.authoring_entity[].name",
                            "exportKey": "#",
                            "title": "Agency Name"
                        },
                        {
                            "key": "stdyDscr.authoring_entity[].role",
                            "title": "Role"
                        },
                        {
                            "key": "stdyDscr.authoring_entity[].affiliation",
                            "title": "Affiliation"
                        },
                        {
                            "key": "stdyDscr.authoring_entity[].abbreviation",
                            "title": "Abbreviation"
                        },
                        {
                            "key": "stdyDscr.authoring_entity[].email",
                            "title": "Email"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.abstract",
                    "title": "Abstract",
                    "id": "2.4",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.url",
                    "title": "Dataset URL",
                    "id": "2.5",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.type",
                    "title": "Dataset type",
                    "id": "2.6",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.doi",
                    "title": "DOI",
                    "id": "2.7",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.date_created",
                    "title": "Date of creation",
                    "id": "2.8",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.revision_dates",
                    "title": "Dates of revisions",
                    "id": "2.9",
                    "exportKey": "",
                    "type": "table",
                    "expandable": false,
                    "required": true,
                    "items": [{
                            "key": "stdyDscr.revision_dates[].date",
                            "exportKey": "#",
                            "title": "Date",
                            "type": "date"
                        },
                        {
                            "key": "stdyDscr.revision_dates[].revision",
                            "title": "Revision"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.date_published",
                    "title": "Dataset published date",
                    "id": "2.10",
                    "type": "date",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.version",
                    "title": "Version Statement",
                    "exportKey": "",
                    "type": "fieldset",
                    "id": "2.11",
                    "isVirtual": true,
                    "expandable": true,
                    "items": [{
                            "key": "stdyDscr.version.version",
                            "title": "Version",
                            "id": "2.11.1",
                            "exportKey": ""
                        },
                        {
                            "key": "stdyDscr.date",
                            "title": "Version Date",
                            "id": "2.11.2",
                            "type": "date",
                            "exportKey": ""
                        },
                        {
                            "key": "stdyDscr.responsibility",
                            "title": "Version Responsibility Statement",
                            "id": "2.11.3",
                            "exportKey": ""
                        },
                        {
                            "key": "stdyDscr.notes",
                            "title": "Version Notes",
                            "id": "2.11.4",
                            "exportKey": ""
                        }
                    ]
                },
                {
                    "key": "stdyDscr.update_frequency",
                    "title": "Frequency of update",
                    "id": "2.12",
                    "exportKey": ""
                },
                {
                    "key": "stdyDscr.update_schedule",
                    "title": "Schedule of updates",
                    "id": "2.13",
                    "exportKey": "",
                    "type": "table",
                    "items": [{
                        "key": "stdyDscr.update_schedule[].identifier",
                        "title": "Schedule date (YYYY-MM-DD)",
                        "type": "date"
                    }]
                },
                {
                    "key": "stdyDscr.time_coverage",
                    "id": "2.14",
                    "exportKey": "",
                    "type": "table",
                    "expandable": false,
                    "required": true,
                    "title": "Range of dates covered by the dataset",
                    "items": [{
                            "key": "stdyDscr.time_coverage[].start",
                            "title": "Start date"
                        },
                        {
                            "key": "stdyDscr.time_coverage[].end",
                            "title": "End date"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.periodicity",
                    "title": "Periodicity of series",
                    "id": "2.15",
                    "exportKey": "",
                    "type": "table",
                    "items": [{
                        "key": "stdyDscr.periodicity[].period",
                        "exportKey": "#",
                        "title": "Period",
                        "type": "select"
                    }]
                },
                {
                    "key": "stdyDscr.topics",
                    "title": "Topic Classification",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.16",
                    "required": true,
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.topics[].topic",
                            "exportKey": "#",
                            "title": "Topic"
                        },
                        {
                            "key": "stdyDscr.topics[].vocabulary",
                            "title": "Vocabulary"
                        },
                        {
                            "key": "stdyDscr.topics[].uri",
                            "exportKey": "@.vocabURI",
                            "title": "Vocabulary URI"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.keywords",
                    "title": "Keywords",
                    "id": "2.17",
                    "exportKey": "",
                    "type": "table",
                    "items": [{
                            "key": "stdyDscr.keywords[].keyword",
                            "exportKey": "",
                            "title": "Keyword"
                        },
                        {
                            "key": "stdyDscr.keywords[].uri",
                            "exportKey": "",
                            "title": "URI"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.geographic_units",
                    "title": "Geographic locations",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.18",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.geographic_units[].name",
                            "exportKey": "",
                            "title": "Location name"
                        },
                        {
                            "key": "stdyDscr.geographic_units[].code",
                            "exportKey": "",
                            "title": "Location code"
                        },
                        {
                            "key": "stdyDscr.geographic_units[].type",
                            "exportKey": "",
                            "title": "Type"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.geogphic_coverage_note",
                    "title": "Geographic Coverage notes",
                    "type": "textarea",
                    "exportKey": "stdyDscr.stdyInfo.sumDscr.geogCover.#",
                    "id": "2.19"
                },
                {
                    "key": "stdyDscr.bbox",
                    "title": "Geographic bounding box",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.20",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.bbox[].west",
                            "exportKey": "westBL",
                            "title": "West"
                        },
                        {
                            "key": "stdyDscr.bbox[].east",
                            "exportKey": "eastBL",
                            "title": "East"
                        },
                        {
                            "key": "stdyDscr.bbox[].south",
                            "exportKey": "southBL",
                            "title": "South"
                        },
                        {
                            "key": "stdyDscr.bbox[].north",
                            "exportKey": "northBL",
                            "title": "North"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.geographic_granularity",
                    "title": "Granularity of geographic coverage",
                    "exportKey": "",
                    "id": "2.21",
                    "type": "autocomplete"
                },
                {
                    "key": "stdyDscr.geographic_area_count",
                    "title": "Number of geographic areas",
                    "exportKey": "",
                    "id": "2.22"
                },
                {
                    "key": "stdyDscr.sponsors",
                    "title": "Sponsor/Funding Agency",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.23",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.sponsors[].name",
                            "title": "Funding Agency/Sponsor"
                        },
                        {
                            "key": "stdyDscr.sponsors[].abbreviation",
                            "title": "Abbreviation"
                        },
                        {
                            "key": "stdyDscr.sponsors[].role",
                            "title": "Role"
                        },
                        {
                            "key": "stdyDscr.sponsors[].grant",
                            "title": "Grant"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.languages",
                    "title": "Supported languages",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.24",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.languages[].name",
                            "title": "Name"
                        },
                        {
                            "key": "stdyDscr.languages[].code",
                            "title": "Code"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.contacts",
                    "title": "Contacts",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.25",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.contacts[].name",
                            "title": "Funding Agency/Sponsor"
                        },
                        {
                            "key": "stdyDscr.contacts[].role",
                            "title": "Role"
                        },
                        {
                            "key": "stdyDscr.contacts[].affiliation",
                            "title": "Affiliation"
                        },
                        {
                            "key": "stdyDscr.sponcontactssors[].email",
                            "title": "Email"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.access_options",
                    "title": "Access options",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.26",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.access_options[].type",
                            "title": "Access type"
                        },
                        {
                            "key": "stdyDscr.access_options[].uri",
                            "title": "URI"
                        },
                        {
                            "key": "stdyDscr.access_options[].note",
                            "title": "Note"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.license",
                    "title": "License",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.27",
                    "expandable": false,
                    "items": [{
                            "key": "stdyDscr.license[].type",
                            "title": "Type"
                        },
                        {
                            "key": "stdyDscr.license[].uri",
                            "title": "URI"
                        },
                        {
                            "key": "stdyDscr.license[].note",
                            "title": "Note"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.citation",
                    "title": "Citation",
                    "exportKey": "",
                    "id": "2.28"
                },
                {
                    "key": "stdyDscr.notes",
                    "title": "Notes",
                    "exportKey": "",
                    "id": "2.29"
                },
                {
                    "key": "stdyDscr.acknowledgments",
                    "exportKey": "",
                    "type": "table",
                    "id": "2.30",
                    "htmlClass": "table",
                    "title": "Other Acknowledgments",
                    "items": [{
                            "key": "stdyDscr.acknowledgments[].name",
                            "exportKey": "#",
                            "title": "Name",
                            "htmlClass": "col-xs-3",
                            "fieldHtmlClass": "form-control"
                        },
                        {
                            "key": "stdyDscr.acknowledgments[].affiliation",
                            "title": "Affiliation",
                            "htmlClass": "col-xs-3",
                            "fieldHtmlClass": "form-control"
                        },
                        {
                            "key": "stdyDscr.acknowledgments[].role",
                            "title": "Role",
                            "htmlClass": "col-xs-3",
                            "fieldHtmlClass": "form-control"
                        }
                    ]
                },
                {
                    "key": "stdyDscr.disclaimer",
                    "title": "Disclaimer",
                    "type": "textarea",
                    "exportKey": "",
                    "id": "2.31"
                },
                {
                    "key": "stdyDscr.copyright",
                    "title": "Copyright",
                    "type": "textarea",
                    "exportKey": "",
                    "id": "2.32"
                }
            ]
        },
        {
            "key": "fileDscr",
            "type": "fieldset",
            "exportKey": "fileDscr",
            "title": "File Description",
            "expandable": false,
            "id": "3",
            "expanded": true,
            "items": [{
                    "key": "fileDscr.description",
                    "exportKey": "fileDscr.description",
                    "title": "File description",
                    "id": "3.1"
                },
                {
                    "key": "fileDscr.producer",
                    "exportKey": "fileDscr.producer",
                    "title": "File producer",
                    "id": "3.2"
                },
                {
                    "key": "fileDscr.data_checks",
                    "exportKey": "fileDscr.data_checks",
                    "title": "Processing checks",
                    "id": "3.3"
                },
                {
                    "key": "fileDscr.version",
                    "exportKey": "fileDscr.version",
                    "title": "Version",
                    "id": "3.4"
                },
                {
                    "key": "fileDscr.notes",
                    "exportKey": "fileDscr.notes",
                    "title": "File notes",
                    "id": "3.5"
                }
            ]
        },
        {
            "key": "variables",
            "type": "fieldset",
            "title": "Variables",
            "expandable": false,
            "expanded": true,
            "items": [{
                "key": "variablesInfo",
                "type": "fieldset",
                "id": "4.1",
                "title": "Description",
                "isVirtual": true,
                "expandable": true,
                "expanded": true,
                "items": [{
                        "key": "variables.aliases",
                        "title": "Notes",
                        "exportKey": "",
                        "id": "4.1.2",
                        "type": "table",
                        "htmlClass": "table",
                        "items": [{
                            "key": "variables.aliases[].alias",
                            "exportKey": "#",
                            "title": "Alias",
                            "fieldHtmlClass": "form-control"
                        }]
                    },
                    {
                        "key": "variables.measurement_unit",
                        "title": "Series unit of measure",
                        "exportKey": "",
                        "id": "4.1.3"
                    },
                    {
                        "key": "variables.periodicity",
                        "title": "Periodicity of data",
                        "exportKey": "",
                        "id": "4.1.4"
                    },
                    {
                        "key": "variables.base_period",
                        "title": "Base Period",
                        "exportKey": "",
                        "id": "4.1.5"
                    },
                    {
                        "key": "variables.definition_short",
                        "title": "Definition Short",
                        "exportKey": "",
                        "id": "4.1.6"
                    },
                    {
                        "key": "variables.definition_long",
                        "title": "Definition Long",
                        "exportKey": "",
                        "id": "4.1.7"
                    },
                    {
                        "key": "variables.definition_references",
                        "title": "Definition references",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.9",
                        "required": true,
                        "expandable": false,
                        "items": [{
                                "key": "variables.definition_references[].source",
                                "exportKey": "#",
                                "title": "Source"
                            },
                            {
                                "key": "variables.definition_references[].uri",
                                "title": "URI"
                            },
                            {
                                "key": "variables.definition_references[].note",
                                "title": "Note"
                            }
                        ]
                    },
                    {
                        "key": "variables.related_concepts",
                        "title": "Related Concepts",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.10",
                        "required": true,
                        "expandable": false,
                        "items": [{
                                "key": "variables.related_concepts[].name",
                                "exportKey": "#",
                                "title": "Name"
                            },
                            {
                                "key": "variables.related_concepts[].definition",
                                "title": "Definition"
                            }
                        ]
                    },
                    {
                        "key": "variables.methodology",
                        "title": "Methodology",
                        "exportKey": "",
                        "id": "4.1.11"
                    },
                    {
                        "key": "variables.imputation",
                        "title": "Imputation",
                        "exportKey": "",
                        "id": "4.1.12"
                    },
                    {
                        "key": "variables.quality_checks",
                        "title": "Quality control methods",
                        "exportKey": "",
                        "id": "4.1.13"
                    },
                    {
                        "key": "variables.quality_note",
                        "title": "Note on data quality",
                        "exportKey": "",
                        "id": "4.1.14"
                    },
                    {
                        "key": "variables.series_break",
                        "title": "Breaks in series",
                        "exportKey": "",
                        "id": "4.1.15"
                    },
                    {
                        "key": "variables.statistical_concept",
                        "title": "Statistical concept",
                        "exportKey": "",
                        "id": "4.1.16"
                    },
                    {
                        "key": "variables.limitation",
                        "title": "Limitations  and exceptions",
                        "exportKey": "",
                        "id": "4.1.17"
                    },
                    {
                        "key": "variables.topics",
                        "title": "Topics covered by the indicator",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.18",
                        "required": true,
                        "expandable": false,
                        "items": [{
                                "key": "variables.topics[].topic",
                                "exportKey": "#",
                                "title": "Topic"
                            },
                            {
                                "key": "variables.topics[].vocabulary",
                                "title": "Vocabulary"
                            },
                            {
                                "key": "variables.topics[].uri",
                                "title": "Vocabulary URI"
                            }
                        ]
                    },
                    {
                        "key": "variables.relevance",
                        "title": "Relevance",
                        "exportKey": "",
                        "id": "4.1.19"
                    },
                    {
                        "key": "variables.series_dates",
                        "title": "Series dates",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.20",
                        "expandable": false,
                        "items": [{
                                "key": "variables.series_dates[].start",
                                "exportKey": "#",
                                "title": "Start"
                            },
                            {
                                "key": "variables.series_dates[].end",
                                "title": "End"
                            }
                        ]
                    },
                    {
                        "key": "variables.geographic_units",
                        "title": "Geographic locations",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.21",
                        "required": true,
                        "expandable": false,
                        "items": [{
                                "key": "variables.geographic_units[].name",
                                "exportKey": "#",
                                "title": "Location Name"
                            },
                            {
                                "key": "variables.geographic_units[].code",
                                "title": "Location Code"
                            },
                            {
                                "key": "variables.geographic_units[].type",
                                "title": "Type"
                            }
                        ]
                    },
                    {
                        "key": "variables.aggregation_method",
                        "title": "Aggregation method",
                        "exportKey": "",
                        "id": "4.1.22"
                    },
                    {
                        "key": "variables.ser_access_license",
                        "title": "Access licence",
                        "exportKey": "",
                        "type": "fieldset",
                        "isVirtual": true,
                        "expandable": true,
                        "id": "4.1.23",
                        "items": [{
                                "key": "variables.ser_access_license.type",
                                "title": "License type",
                                "exportKey": "",
                                "id": "4.1.23.1"
                            },
                            {
                                "key": "variables.ser_access_license.uri",
                                "title": "URI",
                                "exportKey": "",
                                "id": "4.1.23.2"
                            }
                        ]
                    },
                    {
                        "key": "variables.confidentiality",
                        "title": "Confidentiality statement",
                        "exportKey": "",
                        "id": "4.1.24"
                    },
                    {
                        "key": "variables.confidentiality_status",
                        "title": "Confidentiality status",
                        "exportKey": "",
                        "id": "4.1.25"
                    },
                    {
                        "key": "variables.confidentiality_note",
                        "title": "Confidentiality note",
                        "exportKey": "",
                        "id": "4.1.26"
                    },
                    {
                        "key": "variables.series_links",
                        "title": "Series links",
                        "exportKey": "",
                        "type": "table",
                        "id": "4.1.27",
                        "expandable": false,
                        "items": [{
                                "key": "variables.series_links[].type",
                                "exportKey": "#",
                                "title": "Link Type"
                            },
                            {
                                "key": "variables.series_links[].description",
                                "title": "Description"
                            },
                            {
                                "key": "variables.series_links[].url",
                                "title": "Link URL"
                            }
                        ]
                    },
                    {
                        "key": "variables.source",
                        "title": "Original source",
                        "exportKey": "",
                        "id": "4.1.28"
                    },
                    {
                        "key": "variables.source_note",
                        "title": "Notes form original source",
                        "exportKey": "",
                        "id": "4.1.29"
                    },
                    {
                        "key": "variables.keywords",
                        "title": "Keywords",
                        "exportKey": "",
                        "id": "4.1.30",
                        "type": "table",
                        "expandable": false,
                        "items": [{
                                "key": "variables.keywords[].keyword",
                                "exportKey": "#",
                                "title": "Keyword"
                            },
                            {
                                "key": "variables.keywords[].uri",
                                "title": "URI"
                            }
                        ]
                    },
                    {
                        "key": "variables.notes",
                        "title": "Notes",
                        "exportKey": "",
                        "id": "4.1.31"
                    },
                    {
                        "key": "variables.related_indicators",
                        "title": "Related Indicators",
                        "exportKey": "",
                        "id": "4.1.32",
                        "type": "table",
                        "expandable": false,
                        "items": [{
                                "key": "variables.related_indicators[].idno",
                                "exportKey": "#",
                                "title": "Indicator ID"
                            },
                            {
                                "key": "variables.related_indicators[].title",
                                "title": "Indicator Title"
                            },
                            {
                                "key": "variables.related_indicators[].uri",
                                "title": "URIs"
                            }
                        ]
                    },
                    {
                        "key": "variables.compliance",
                        "title": "Compliance with international resolution",
                        "exportKey": "",
                        "type": "fieldset",
                        "isVirtual": true,
                        "expandable": true,
                        "id": "4.1.33",
                        "items": [{
                                "key": "variables.compliance.value",
                                "title": "Resolution",
                                "exportKey": "",
                                "id": "4.1.33.1"
                            },
                            {
                                "key": "variables.compliance.uri",
                                "title": "URI",
                                "exportKey": "",
                                "id": "4.1.33.2"
                            },
                            {
                                "key": "variables.compliance.org",
                                "title": "Organization name",
                                "exportKey": "",
                                "id": "4.1.33.3"
                            }
                        ]
                    },
                    {
                        "key": "variables.series_groups",
                        "title": "Series groups",
                        "exportKey": "",
                        "type": "fieldset",
                        "isVirtual": true,
                        "expandable": true,
                        "id": "4.1.34",
                        "items": [{
                                "key": "variables.series_groups.name",
                                "title": "Name",
                                "exportKey": "",
                                "id": "4.1.34.1"
                            },
                            {
                                "key": "variables.series_groups.uri",
                                "title": "URI",
                                "exportKey": "",
                                "id": "4.1.34.2"
                            },
                            {
                                "key": "variables.series_groups.version",
                                "title": "Version",
                                "exportKey": "",
                                "id": "4.1.34.3"
                            }
                        ]
                    }
                ]
            }]
        }
    ]
}