Improved profile schema version 5

This commit is contained in:
Luca Frosini 2023-03-21 11:38:17 +01:00
parent 1f18f1f95f
commit bfc83b99ba
1 changed files with 23 additions and 3 deletions

View File

@ -7,6 +7,15 @@
<xs:complexType>
<xs:sequence>
<xs:element type="ExtendedMetadataFieldType" name="metadatafield" minOccurs="0" maxOccurs="unbounded" />
<xs:element type="ExtraMetadataFormatType" name="extra" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Any additional tag in this 'extra' tag.
This tag and its content are ignored by the validators.
They are used by any external tools producing/consuming the profile definition and instances.
</xs:documentation>
</xs:annotation>
</xs:element>
</xs:sequence>
<xs:attribute type="NotEmpty" use="required" name="type">
<xs:annotation>
@ -178,7 +187,16 @@
</xs:sequence>
<xs:attribute type="xs:boolean" name="isMultiSelection"/>
</xs:complexType>
<xs:complexType name="Extra">
<xs:complexType name="ExtraMetadataFieldType">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip">
<xs:annotation>
<xs:documentation>Any tags are allowed</xs:documentation>
</xs:annotation>
</xs:any>
</xs:sequence>
</xs:complexType>
<xs:complexType name="ExtraMetadataFormatType">
<xs:sequence>
<xs:any minOccurs="0" maxOccurs="unbounded" processContents="skip">
<xs:annotation>
@ -191,10 +209,12 @@
<xs:complexContent>
<xs:extension base="MetadataFieldType">
<xs:sequence>
<xs:element type="Extra" name="extra" minOccurs="0" maxOccurs="1">
<xs:element type="ExtraMetadataFieldType" name="extra" minOccurs="0" maxOccurs="1">
<xs:annotation>
<xs:documentation>
Any 'metadataField' definition can include any additional attribute in this 'extra' tag. This tag and its content are ignored by the validators. They are used by any external tools producing/consuming the profile definition and instances.
Any additional tag in this 'extra' tag.
This tag and its content are ignored by the validators.
They are used by any external tools producing/consuming the profile definition and instances.
</xs:documentation>
</xs:annotation>
</xs:element>