Esempio n. 1
0
    def get_metadata_schema(self):
        metadata_schema = get_base_schema()

        # ideally most of this be automatically determined from pynwb docvals
        metadata_schema['properties'][
            'SpatialSeries'] = get_schema_from_hdmf_class(SpatialSeries)
        required_fields = ['SpatialSeries']
        for field in required_fields:
            metadata_schema['required'].append(field)

        return metadata_schema
Esempio n. 2
0
    def get_metadata_schema(self):
        metadata_schema = get_base_schema()

        # ideally most of this be automatically determined from pynwb docvals
        metadata_schema["properties"][
            "TimeSeries"] = get_schema_from_hdmf_class(TimeSeries)
        metadata_schema["properties"][
            "DecompositionSeries"] = get_schema_from_hdmf_class(
                DecompositionSeries)
        required_fields = ["TimeSeries", "DecompositionSeries"]
        for field in required_fields:
            metadata_schema["required"].append(field)

        return metadata_schema
Esempio n. 3
0
 def get_metadata_schema(self):
     metadata_schema = get_base_schema()
     return metadata_schema