Contents
Overview
Different kind of properties can be defined for samples in the region config file SampleMetadataSchema.xml.
They can have different value types like the predefined string, double or dataTime but also custom value types.
Config
<?xml version="1.0" encoding="UTF-8"?> <sampleMetadataSchema xmlns="http://www.wldelft.nl/fews" xmlns:xsi="http://www.w3.org/2001/XMLSchema-instance" xsi:schemaLocation="http://www.wldelft.nl/fews http://fews.wldelft.nl/schemas/version1.0/sampleMetadataSchema.xsd"> <valueTypes> <string id="TEXT"/> <enumerationsCsvFile> <file>Bron.csv</file> <id>SOURCE</id> <code>%BRON%</code> <label>%NAME%</label> </enumerationsCsvFile> </valueTypes> <properties> <propertiesCsvFile> <file>SampleProperties.csv</file> <charset>UTF-8</charset> <id>%id%</id> <name>%name%</name> <valueTypeId>%valueTypeId%</valueTypeId> </propertiesCsvFile> </properties> </sampleMetadataSchema>