{
    "_comment": "This JSON file contains mandatory structure|information to be contained in  C3S NetCDF files - Seasonal",
    "_author": "C.Bergeron",
    "_source": "",


    "mandatory_cf_convention"		: "CF-1.6",
    "mandatory_netcdf_format"		: "NETCDF4_CLASSIC",
    "mandatory_number_datavariable_per_netcdf": 1,
    "mandatory_dimensions" 			: ["lat", "lon", "time", "height", "realization_dim", "str_length"],


    "mandatory_variablenames": {
        "Cfcoordinatevar"	: ["lon", "lat", "time", "height"],
        "Cfauxiliarycoordinatevar"	: ["forecast_period", "forecast_reference_time"]
    },

    "mandatory_standardnames": {
        "Cfcoordinatevar"	: ["time", "latitude", "longitude"],
        "Cfauxiliarycoordinatevar"	: ["forecast_period", "forecast_reference_time"]
    },

    "mandatory_attributes_per_variablename": {
        "time"	: ["axis", "bounds", "units", "standard_name", "calendar", "long_name"],
        "lat"	: ["axis", "bounds", "units", "standard_name", "long_name"],
        "lon"	: ["axis", "bounds", "units", "standard_name", "long_name"],
        "plev"	: ["axis", "bounds", "units", "positive", "standard_name", "long_name"],
        "realization"	: ["units", "standard_name"],
        "leadtime"	: ["units", "long_name", "standard_name"],
        "forecast_period"	: ["bounds", "units", "long_name", "standard_name"],
        "forecast_period_time"	: ["units", "standard_name", "calendar", "long_name"]
    },


    "mandatory_attributes_per_standardname": {
        "time"	: ["axis", "bounds", "units", "calendar", "long_name"],
        "latitude"	: ["axis", "bounds", "units", "long_name"],
        "longitude"	: ["axis", "bounds", "units", "long_name"],
        "height"	: ["axis", "bounds", "units", "positive", "long_name"],
        "realization"	: ["units"],
        "leadtime"	: ["units", "long_name"],
        "forecast_period"	: ["bounds", "units", "long_name"],
        "forecast_period_time"	: ["units", "calendar", "long_name"]
    },


    "mandatory_attributes_per_variabletype": {
        "Cfcoordinatevar"	: {
            "All": ["axis", "bounds", "units", "standard_name", "long_name"],
            "T": ["calendar"],
            "Y": [],
            "X": [],
            "Z": ["positive"]
        },
        "Cfauxiliarycoordinatevar"	: {
            "T": ["bounds", "units", "standard_name", "long_name"]
        },
        "Cfdatavar"			: {
            "All": ["_FillValue", "standard_name", "long_name", "coordinates", "cell_measures"]
        }
    },


    "mandatory_attributes_values": {
        "calendar" 	: ["gregorian"]
    },

    "mandatory_attributes_values_per_standardname": {
        "air_temperature"	: {
            "unit": ["K"]
        },
        "y_wind"	: {
            "frequency": ["12h"]
        }
    },


    "mandatory_global_attributes": ["Conventions", "References", "comments", "source", "Institution", "forecast_type",
                                    "forecast_reference_time", "startdate", "realization", "contact", "creation_date",
                                    "experiment_id", "frequency", "initialisation_method", "initialisation_description",
                                    "institute_id", "model_id", "modelling_realm", "physics_description", "physics_version",
                                    "project_id", "table_id", "title", "tracking_id"],

    "mandatory_global_attributes_values": {
        "forecast_type" 	: ["forecast", "reforecast"]
    }

}
