Creating profiles
This commit is contained in:
parent
b11a0f13cd
commit
d8901b4a82
|
@ -19,7 +19,7 @@
|
|||
<xs:complexType name="GRSFType">
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="srcField" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element type="SrcType" name="srcType" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element type="SrcType" name="srcType" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="mandatory" minOccurs="1" maxOccurs="1">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
|
|
|
@ -371,6 +371,196 @@
|
|||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>Domain</fieldName>
|
||||
<mandatory>true</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<groups>
|
||||
<group create="true">
|
||||
<fixedValue>stock-group</fixedValue>
|
||||
</group>
|
||||
</groups>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>null</srcField>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType maxOccur="*">Field</dstType>
|
||||
</dstTypes>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>GRSF UUID</fieldName>
|
||||
<mandatory>true</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>grsf_uuid</srcField>
|
||||
<srcType>
|
||||
<simpleType>Boolean</simpleType>
|
||||
</srcType>
|
||||
<mandatory>true</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield categoryref="stock_identity">
|
||||
<fieldName>Management Body/Authority</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>management_body_authorities</srcField>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>Geospatial</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>spatial</srcField>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield categoryref="stock_identity">
|
||||
<fieldName>Connected Record</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<maxOccurs>*</maxOccurs>
|
||||
<tags>
|
||||
<tag create="true">
|
||||
<how>onValue</how>
|
||||
</tag>
|
||||
</tags>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>connected</srcField>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType maxOccur="*">Field</dstType>
|
||||
</dstTypes>
|
||||
<comments>
|
||||
A list of URI of connected records.
|
||||
Example: [ "https://data.d4science.org/ctlg/GRSF_Admin/331e1999-c640-3482-a905-ee8a27ead94e", ...., "https://data.d4science.org/ctlg/GRSF_Admin/695c64b9-425c-3fb9-8c17-a1948f5d3f5f" ]
|
||||
It generate a Field for each element of the Array.
|
||||
</comments>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>Connections Indicator</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<tags>
|
||||
<tag create="true">
|
||||
<how>onValue</how>
|
||||
</tag>
|
||||
</tags>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>connections_indicator</srcField>
|
||||
<srcType>
|
||||
<vocabulary isMultiSelection="false">
|
||||
<vocabularyField>connected</vocabularyField>
|
||||
<vocabularyField>not connected</vocabularyField>
|
||||
</vocabulary>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
<comments>Used for tagging purpose only.</comments>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>Annotation</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>annotations</srcField>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>true</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
<comments>
|
||||
Exmaple: {"annotation_message":"checked together with Paula Anton","admin":"Aureliano Gentile","time":"2018-07-27 14:58:13 CET"}.
|
||||
the above example of from Record: https://data.d4science.org/ctlg/GRSF_Admin/22657fbf-41fb-3c10-90bd-6244b38d4e05
|
||||
</comments>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
|
||||
<metadatafield>
|
||||
<fieldName>Similarities Indicator</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<tags>
|
||||
<tag create="true">
|
||||
<how>onValue</how>
|
||||
</tag>
|
||||
</tags>
|
||||
<extra>
|
||||
<grsf>
|
||||
<srcField>similarities_indicator</srcField>
|
||||
<srcType>
|
||||
<vocabulary isMultiSelection="false">
|
||||
<vocabularyField>with similar records</vocabularyField>
|
||||
<vocabularyField>without similar records</vocabularyField>
|
||||
</vocabulary>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
<dstType>Field</dstType>
|
||||
</dstTypes>
|
||||
<comments>Used for tagging purpose only.</comments>
|
||||
</grsf>
|
||||
</extra>
|
||||
</metadatafield>
|
||||
|
||||
<!--
|
||||
<metadatafield categoryref="">
|
||||
<fieldName></fieldName>
|
||||
|
|
Loading…
Reference in New Issue