Improved profiles schemas
This commit is contained in:
parent
3c05b571c9
commit
7cebe2beb5
|
@ -2,10 +2,16 @@ This project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.htm
|
|||
|
||||
# Changelog for gCube Catalogue (gCat) Service
|
||||
|
||||
|
||||
## [v2.5.3-SNAPSHOT]
|
||||
|
||||
- Improved profile schema #26471
|
||||
|
||||
|
||||
## [v2.5.2]
|
||||
|
||||
- Enforce private to a rejected item to avoid issue #26391
|
||||
- Added profiel validation (i.e. regex validity and default value conformity) #26142
|
||||
- Added profile validation (i.e. regex validity and default value conformity) #26142
|
||||
|
||||
|
||||
## [v2.5.1]
|
||||
|
|
2
pom.xml
2
pom.xml
|
@ -12,7 +12,7 @@
|
|||
<groupId>org.gcube.data-catalogue</groupId>
|
||||
<artifactId>gcat</artifactId>
|
||||
<packaging>war</packaging>
|
||||
<version>2.5.2</version>
|
||||
<version>2.5.3-SNAPSHOT</version>
|
||||
<name>gCube Catalogue (gCat) Service</name>
|
||||
<description>
|
||||
This service allows any client to publish on the gCube Catalogue.
|
||||
|
|
|
@ -7,7 +7,6 @@
|
|||
<xs:element name="metadatafield" minOccurs="0" maxOccurs="unbounded">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="fieldId" minOccurs="0"/>
|
||||
<xs:element type="xs:string" name="fieldName" />
|
||||
<xs:element type="xs:boolean" name="mandatory"
|
||||
minOccurs="0" maxOccurs="1" />
|
||||
|
@ -22,7 +21,6 @@
|
|||
<xs:enumeration value="Boolean" />
|
||||
<xs:enumeration value="Number" />
|
||||
<xs:enumeration value="GeoJSON" />
|
||||
<xs:enumeration value="File" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
|
@ -32,22 +30,24 @@
|
|||
minOccurs="0" maxOccurs="1" />
|
||||
<xs:element type="xs:string" name="note" minOccurs="0"
|
||||
maxOccurs="1" />
|
||||
<xs:element name="vocabulary" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="vocabularyField"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:boolean" name="isMultiSelection" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="validator" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="regularExpression" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element name="vocabulary" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="vocabularyField"
|
||||
minOccurs="1" maxOccurs="unbounded" />
|
||||
</xs:sequence>
|
||||
<xs:attribute type="xs:boolean" name="isMultiSelection" />
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element name="validator" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="regularExpression" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:element name="tagging" type="TaggingType"
|
||||
minOccurs="0" maxOccurs="1">
|
||||
</xs:element>
|
||||
|
@ -92,4 +92,4 @@
|
|||
<xs:minLength value="1" />
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:schema>
|
||||
</xs:schema>
|
|
@ -128,14 +128,16 @@
|
|||
<xs:element type="xs:string" name="defaultValue" minOccurs="0"
|
||||
maxOccurs="1"/>
|
||||
<xs:element type="xs:string" name="note" minOccurs="0" maxOccurs="1"/>
|
||||
<xs:element type="VocabularyType" name="vocabulary" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="validator" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="regularExpression"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:choice>
|
||||
<xs:element type="VocabularyType" name="vocabulary" minOccurs="0" maxOccurs="1" />
|
||||
<xs:element name="validator" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="regularExpression"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:choice>
|
||||
<xs:choice>
|
||||
<xs:element name="tags" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
|
|
Loading…
Reference in New Issue