Refs #13079: Add the create/update/delete operation in Profile Collection in gCat
Task-Url: https://support.d4science.org/issues/13079 git-svn-id: https://svn.d4science.research-infrastructures.eu/gcube/trunk/data-catalogue/gcubedatacatalogue-metadata-discovery@176280 82a268e6-3cf1-43bd-a215-b396298e98cf
This commit is contained in:
parent
b35a74cc3e
commit
8b8ffd1c15
|
@ -61,7 +61,7 @@ public class TestDataCatalogueMetadataFormatReader {
|
|||
}
|
||||
|
||||
|
||||
public static String PROFILE_EXAMPLE_FILENAME = "profileExample.xml";
|
||||
public static String PROFILE_EXAMPLE_FILENAME = "profileExample.xml";
|
||||
|
||||
@Test
|
||||
public void validateAgainstProfileSchema() throws Exception {
|
||||
|
|
|
@ -4,63 +4,42 @@
|
|||
<mandatory>false</mandatory>
|
||||
<dataType>GeoJSON</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<defaultValue />
|
||||
<note>Insert a geoJSON characterising the spatial coverage of the
|
||||
dataset.
|
||||
</note>
|
||||
<vocabulary />
|
||||
<validator />
|
||||
<tagging create="false" />
|
||||
<grouping create="false" />
|
||||
</metadatafield>
|
||||
<metadatafield>
|
||||
<fieldName>timeField</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>Time</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<defaultValue />
|
||||
<note>Insert a time value characterising the temporal coverage of the
|
||||
dataset.
|
||||
</note>
|
||||
<vocabulary />
|
||||
<validator />
|
||||
<tagging create="false" />
|
||||
<grouping create="false" />
|
||||
</metadatafield>
|
||||
<metadatafield>
|
||||
<fieldName>timeIntervalField</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>Time_Interval</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<defaultValue />
|
||||
<note>Insert a time interval value characterising the temporal
|
||||
coverage of the dataset.
|
||||
</note>
|
||||
<vocabulary />
|
||||
<validator />
|
||||
<tagging create="false" />
|
||||
<grouping create="false" />
|
||||
</metadatafield>
|
||||
<metadatafield>
|
||||
<fieldName>timeListField</fieldName>
|
||||
<mandatory>false</mandatory>
|
||||
<dataType>Times_ListOf</dataType>
|
||||
<maxOccurs>1</maxOccurs>
|
||||
<defaultValue />
|
||||
<note>Insert a time list characterising the temporal coverage of the
|
||||
dataset.
|
||||
</note>
|
||||
<vocabulary />
|
||||
<validator />
|
||||
<tagging create="false" />
|
||||
<grouping create="false" />
|
||||
</metadatafield>
|
||||
<metadatafield>
|
||||
<fieldName>GACSTerms</fieldName>
|
||||
<mandatory>true</mandatory>
|
||||
<dataType>String</dataType>
|
||||
<maxOccurs>*</maxOccurs>
|
||||
<defaultValue />
|
||||
<note>Select one or more terms</note>
|
||||
<vocabulary isMultiSelection="true">
|
||||
<vocabularyField>GACS.Term1</vocabularyField>
|
||||
|
@ -73,8 +52,6 @@
|
|||
<vocabularyField>GACS.Term8</vocabularyField>
|
||||
<vocabularyField>GACS.Term9</vocabularyField>
|
||||
</vocabulary>
|
||||
<validator />
|
||||
<tagging create="true">onValue</tagging>
|
||||
<grouping create="false" />
|
||||
</metadatafield>
|
||||
</metadataformat>
|
Loading…
Reference in New Issue