Improved GRSF profiles
This commit is contained in:
parent
615a19bf5d
commit
4762b53e40
|
@ -19,14 +19,7 @@
|
|||
<xs:complexType name="GRSFType">
|
||||
<xs:sequence>
|
||||
<xs:element type="xs:string" name="srcField" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element type="xs:string" name="srcType" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="containedFields" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="FieldType" name="field" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
<xs:element type="SrcType" name="srcType" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element type="xs:string" name="mandatory" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element type="xs:boolean" name="isSensitive" minOccurs="1" maxOccurs="1" />
|
||||
<xs:element name="dstTypes" minOccurs="1" maxOccurs="1">
|
||||
|
@ -62,5 +55,37 @@
|
|||
<xs:element type="xs:string" name="type" minOccurs="1" maxOccurs="1" />
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
|
||||
<xs:complexType name="SrcType">
|
||||
<xs:choice>
|
||||
<xs:sequence>
|
||||
<xs:element name="simpleType" minOccurs="1" maxOccurs="1">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="String"/>
|
||||
<xs:enumeration value="Boolean"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
<xs:sequence>
|
||||
<xs:element name="complexType" minOccurs="1" maxOccurs="1">
|
||||
<xs:simpleType>
|
||||
<xs:restriction base="xs:string">
|
||||
<xs:enumeration value="JsonArray"/>
|
||||
<xs:enumeration value="JsonObject"/>
|
||||
</xs:restriction>
|
||||
</xs:simpleType>
|
||||
</xs:element>
|
||||
<xs:element name="fields" minOccurs="0" maxOccurs="1">
|
||||
<xs:complexType>
|
||||
<xs:sequence>
|
||||
<xs:element type="FieldType" name="field" minOccurs="1" maxOccurs="unbounded"/>
|
||||
</xs:sequence>
|
||||
</xs:complexType>
|
||||
</xs:element>
|
||||
</xs:sequence>
|
||||
</xs:choice>
|
||||
</xs:complexType>
|
||||
|
||||
</xs:schema>
|
|
@ -19,7 +19,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>grsf_type</srcField>
|
||||
<srcType>String</srcType>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>true</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -39,7 +41,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>data_owner</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>true</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -58,21 +62,23 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>database_sources</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<containedFields>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>Description</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</containedFields>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
<fields>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>Description</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</fields>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -92,21 +98,23 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>source_of_information</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<containedFields>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>Description</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</containedFields>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
<fields>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>name</id>
|
||||
<type>Description</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</fields>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -126,17 +134,19 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>refers_to</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<containedFields>
|
||||
<field>
|
||||
<id>id</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</containedFields>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
<fields>
|
||||
<field>
|
||||
<id>id</id>
|
||||
<type>String</type>
|
||||
</field>
|
||||
<field>
|
||||
<id>url</id>
|
||||
<type>URL</type>
|
||||
</field>
|
||||
</fields>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -156,7 +166,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>short_name</srcField>
|
||||
<srcType>String</srcType>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -182,7 +194,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>sdg_flag</srcField>
|
||||
<srcType>String</srcType>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>true</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -209,7 +223,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>status_grsf_record</srcField>
|
||||
<srcType>String</srcType>
|
||||
<srcType>
|
||||
<simpleType>String</simpleType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -233,7 +249,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>catches</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>true</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -257,7 +275,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField>landings</srcField>
|
||||
<srcType>ArrayList</srcType>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>false</mandatory>
|
||||
<isSensitive>true</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -277,6 +297,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField></srcField>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
@ -296,6 +319,9 @@
|
|||
<extra>
|
||||
<grsf>
|
||||
<srcField></srcField>
|
||||
<srcType>
|
||||
<complexType>JsonArray</complexType>
|
||||
</srcType>
|
||||
<mandatory>aggregated</mandatory>
|
||||
<isSensitive>false</isSensitive>
|
||||
<dstTypes>
|
||||
|
|
Loading…
Reference in New Issue