SoilPulse / MetadataGenerator

The metadata generator guides researchers to the creation of reusable data sets in a webapp.
GNU General Public License v3.0
0 stars 0 forks source link

define container attributes to be displayed #58

Open jonaslenz opened 2 months ago

jonaslenz commented 2 months ago

Define lists of container attributes a data feeder can display, shall modify and can modify. – This is likely up to myself... But maybe there is a way to get all container types at once from soilpulse? o E.g.

         [{‘containertype‘: ‘table‘,
                   ‘display‘: [‘name‘]
                    ‘mandatoryAttributes‘: [],
                    ‘obligatoryAttributes‘: [‘concept‘, ‘separator‘, ‘decimalseparator‘,‘encoding‘]
                  },
          {‘containertype‘: ‘column‘,
                   ‘display‘: [‘name‘]
                    ‘mandatoryAttributes‘: [‘concept‘, ‘unit‘, ‘method‘],
                    ‘obligatoryAttributes‘: [‘separator‘, ‘decimalseparator‘]
                  },
          {‘containertype‘: ‘json‘,
                   ‘display‘: [‘name‘]
                    ‘mandatoryAttributes‘: [],
                    ‘obligatoryAttributes‘: [‘content‘]
                 }
          ]