Creating Profiles

This commit is contained in:
Luca Frosini 2023-03-20 16:47:42 +01:00
parent f36572cfca
commit f4801eb3d0
1 changed files with 193 additions and 11 deletions

View File

@ -18,6 +18,7 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>grsf_type</srcField> <srcField>grsf_type</srcField>
@ -40,6 +41,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>*</maxOccurs> <maxOccurs>*</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>data_owner</srcField> <srcField>data_owner</srcField>
@ -48,6 +50,7 @@
</srcType> </srcType>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<isSensitive>true</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType maxOccur="*">Field</dstType> <dstType maxOccur="*">Field</dstType>
</dstTypes> </dstTypes>
@ -63,6 +66,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>database_sources</srcField> <srcField>database_sources</srcField>
@ -104,6 +108,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>source_of_information</srcField> <srcField>source_of_information</srcField>
@ -144,6 +149,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>refers_to</srcField> <srcField>refers_to</srcField>
@ -183,6 +189,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>short_name</srcField> <srcField>short_name</srcField>
@ -215,6 +222,7 @@
</ifFieldValueMatch> </ifFieldValueMatch>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>sdg_flag</srcField> <srcField>sdg_flag</srcField>
@ -243,6 +251,7 @@
<vocabularyField>Hidden</vocabularyField> <vocabularyField>Hidden</vocabularyField>
<vocabularyField>Merged</vocabularyField> <vocabularyField>Merged</vocabularyField>
</vocabulary> </vocabulary>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>status_grsf_record</srcField> <srcField>status_grsf_record</srcField>
@ -278,6 +287,7 @@
<fixedValue>catch-group</fixedValue> <fixedValue>catch-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>catches</srcField> <srcField>catches</srcField>
@ -286,6 +296,7 @@
</srcType> </srcType>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<isSensitive>true</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>TimeSeries</dstType> <dstType>TimeSeries</dstType>
</dstTypes> </dstTypes>
@ -308,6 +319,7 @@
<fixedValue>landing-group</fixedValue> <fixedValue>landing-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>landings</srcField> <srcField>landings</srcField>
@ -316,6 +328,7 @@
</srcType> </srcType>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<isSensitive>true</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>TimeSeries</dstType> <dstType>TimeSeries</dstType>
</dstTypes> </dstTypes>
@ -338,6 +351,7 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>species</srcField> <srcField>species</srcField>
@ -358,6 +372,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>*</maxOccurs> <maxOccurs>*</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>similar_grsf_records</srcField> <srcField>similar_grsf_records</srcField>
@ -383,6 +398,7 @@
<fixedValue>stock-group</fixedValue> <fixedValue>stock-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>null</srcField> <srcField>null</srcField>
@ -400,6 +416,7 @@
<mandatory>true</mandatory> <mandatory>true</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>1</maxOccurs> <maxOccurs>1</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>grsf_uuid</srcField> <srcField>grsf_uuid</srcField>
@ -419,6 +436,7 @@
<fieldName>Management Body/Authority</fieldName> <fieldName>Management Body/Authority</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>management_body_authorities</srcField> <srcField>management_body_authorities</srcField>
@ -438,6 +456,7 @@
<fieldName>Geospatial</fieldName> <fieldName>Geospatial</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>spatial</srcField> <srcField>spatial</srcField>
@ -463,6 +482,7 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>connected</srcField> <srcField>connected</srcField>
@ -516,6 +536,7 @@
<fieldName>Annotation</fieldName> <fieldName>Annotation</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>annotations</srcField> <srcField>annotations</srcField>
@ -524,6 +545,7 @@
</srcType> </srcType>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<isSensitive>true</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>Field</dstType> <dstType>Field</dstType>
</dstTypes> </dstTypes>
@ -535,7 +557,6 @@
</extra> </extra>
</metadatafield> </metadatafield>
<metadatafield> <metadatafield>
<fieldName>Similarities Indicator</fieldName> <fieldName>Similarities Indicator</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
@ -569,6 +590,7 @@
<fieldName>Citation</fieldName> <fieldName>Citation</fieldName>
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>citation</srcField> <srcField>citation</srcField>
@ -591,6 +613,7 @@
<fieldName>GRSF Stock Name</fieldName> <fieldName>GRSF Stock Name</fieldName>
<mandatory>true</mandatory> <mandatory>true</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>stock_name</srcField> <srcField>stock_name</srcField>
@ -614,6 +637,7 @@
<fieldName>GRSF Semantic Identifier</fieldName> <fieldName>GRSF Semantic Identifier</fieldName>
<mandatory>true</mandatory> <mandatory>true</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>grsf_semantic_identifier</srcField> <srcField>grsf_semantic_identifier</srcField>
@ -642,6 +666,7 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>assessment_area</srcField> <srcField>assessment_area</srcField>
@ -666,6 +691,7 @@
<mandatory>false</mandatory> <mandatory>false</mandatory>
<dataType>String</dataType> <dataType>String</dataType>
<maxOccurs>*</maxOccurs> <maxOccurs>*</maxOccurs>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>exploiting_fishery</srcField> <srcField>exploiting_fishery</srcField>
@ -694,14 +720,16 @@
<fixedValue>assessment-method-group</fixedValue> <fixedValue>assessment-method-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>assessment_methods</srcField> <srcField>assessment_methods</srcField>
<srcType> <srcType>
<complexType>JsonArray</complexType> <complexType>JsonArray</complexType>
</srcType> </srcType>
<mandatory>aggregated</mandatory> <mandatory>false</mandatory>
<isSensitive>false</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>Field</dstType> <dstType>Field</dstType>
<dstType>Resource</dstType> <dstType>Resource</dstType>
@ -722,17 +750,18 @@
<fixedValue>abundance-level-firms-standard-group</fixedValue> <fixedValue>abundance-level-firms-standard-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>firms_standard_abundance_level</srcField> <srcField>firms_standard_abundance_level</srcField>
<srcType> <srcType>
<complexType>JsonArray</complexType> <complexType>JsonArray</complexType>
</srcType> </srcType>
<mandatory>aggregated</mandatory> <mandatory>false</mandatory>
<isSensitive>false</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>Field</dstType> <dstType>TimeSeries</dstType>
<dstType>Resource</dstType>
</dstTypes> </dstTypes>
<comments> <comments>
Example: "firms_standard_abundance_level" : [{"year":2014, "value":"low abundance"}, {"year":2015, "value":"intermediate abundance"}, ...] Example: "firms_standard_abundance_level" : [{"year":2014, "value":"low abundance"}, {"year":2015, "value":"intermediate abundance"}, ...]
@ -751,17 +780,18 @@
<fixedValue>abundance-level-group</fixedValue> <fixedValue>abundance-level-group</fixedValue>
</group> </group>
</groups> </groups>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField>abundance_level</srcField> <srcField>abundance_level</srcField>
<srcType> <srcType>
<complexType>JsonArray</complexType> <complexType>JsonArray</complexType>
</srcType> </srcType>
<mandatory>aggregated</mandatory> <mandatory>false</mandatory>
<isSensitive>false</isSensitive> <isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes> <dstTypes>
<dstType>Field</dstType> <dstType>TimeSeries</dstType>
<dstType>Resource</dstType>
</dstTypes> </dstTypes>
<comments> <comments>
Example: "abundance_level": [{"year":2014, "value":"low abundance", "unit": "..."}, {"year":2015, "value":"intermediate abundance", "unit": "..."}, ...] Example: "abundance_level": [{"year":2014, "value":"low abundance", "unit": "..."}, {"year":2015, "value":"intermediate abundance", "unit": "..."}, ...]
@ -770,6 +800,94 @@
</extra> </extra>
</metadatafield> </metadatafield>
<metadatafield categoryref="stock_data">
<fieldName>Biomass</fieldName>
<mandatory>false</mandatory>
<dataType>String</dataType>
<maxOccurs>*</maxOccurs>
<groups>
<group create="true" propagateUp="false">
<fixedValue>biomass-group</fixedValue>
</group>
</groups>
<remove>false</remove>
<extra>
<grsf>
<srcField>biomass</srcField>
<srcType>
<complexType>JsonArray</complexType>
</srcType>
<mandatory>false</mandatory>
<isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes>
<dstType>TimeSeries</dstType>
</dstTypes>
<comments>
Example: "biomass": [{"year":2014, "value": 123, "unit": "..."}, {"year":2015, "value": 172, "unit": "..."}, ...]
</comments>
</grsf>
</extra>
</metadatafield>
<metadatafield categoryref="stock_data">
<fieldName>Fishing Pressure (FIRMS Standard)</fieldName>
<mandatory>false</mandatory>
<dataType>String</dataType>
<groups>
<group create="true" propagateUp="false">
<fixedValue>fishing-pressure-firms-standard-group</fixedValue>
</group>
</groups>
<remove>false</remove>
<extra>
<grsf>
<srcField>firms_standard_fishing_pressure</srcField>
<srcType>
<complexType>JsonArray</complexType>
</srcType>
<mandatory>false</mandatory>
<isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes>
<dstType>TimeSeries</dstType>
</dstTypes>
<comments>
Example: "firms_standard_fishing_pressure" : [{"year":2014, "value":"..."}, {"year":2015, "value":"..."}, ...]
</comments>
</grsf>
</extra>
</metadatafield>
<metadatafield categoryref="stock_data">
<fieldName>Fishing Pressure</fieldName>
<mandatory>false</mandatory>
<dataType>String</dataType>
<groups>
<group create="true" propagateUp="false">
<fixedValue>fishing-pressure-group</fixedValue>
</group>
</groups>
<remove>false</remove>
<extra>
<grsf>
<srcField>fishing_pressure</srcField>
<srcType>
<complexType>JsonArray</complexType>
</srcType>
<mandatory>false</mandatory>
<isSensitive>true</isSensitive>
<!-- Set remove tag to true in GRSF Public VRE -->
<dstTypes>
<dstType>TimeSeries</dstType>
</dstTypes>
<comments>
Example: "fishing_pressure" : [{"year":2014, "value":"..."}, {"year":2015, "value":"..."}, ...]
</comments>
</grsf>
</extra>
</metadatafield>
<!-- <!--
<metadatafield categoryref="stock_data"> <metadatafield categoryref="stock_data">
<fieldName></fieldName> <fieldName></fieldName>
@ -781,6 +899,7 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField></srcField> <srcField></srcField>
@ -811,6 +930,69 @@
<how>onValue</how> <how>onValue</how>
</tag> </tag>
</tags> </tags>
<remove>false</remove>
<extra>
<grsf>
<srcField></srcField>
<srcType>
<complexType>JsonArray</complexType>
</srcType>
<mandatory>aggregated</mandatory>
<isSensitive>false</isSensitive>
<dstTypes>
<dstType maxOccur="*">Field</dstType>
</dstTypes>
<comments>
</comments>
</grsf>
</extra>
</metadatafield>
-->
<!--
<metadatafield categoryref="stock_data">
<fieldName></fieldName>
<mandatory>false</mandatory>
<dataType>String</dataType>
<maxOccurs>*</maxOccurs>
<tags>
<tag create="true">
<how>onValue</how>
</tag>
</tags>
<remove>false</remove>
<extra>
<grsf>
<srcField></srcField>
<srcType>
<complexType>JsonArray</complexType>
</srcType>
<mandatory>aggregated</mandatory>
<isSensitive>false</isSensitive>
<dstTypes>
<dstType maxOccur="*">Field</dstType>
</dstTypes>
<comments>
</comments>
</grsf>
</extra>
</metadatafield>
-->
<!--
<metadatafield categoryref="stock_data">
<fieldName></fieldName>
<mandatory>false</mandatory>
<dataType>String</dataType>
<maxOccurs>*</maxOccurs>
<tags>
<tag create="true">
<how>onValue</how>
</tag>
</tags>
<remove>false</remove>
<extra> <extra>
<grsf> <grsf>
<srcField></srcField> <srcField></srcField>