diff --git a/src/test/resources/profile_schemas/grsf_profile.xsd b/src/test/resources/profile_schemas/grsf_profile.xsd index 7685f10..b4d77cf 100644 --- a/src/test/resources/profile_schemas/grsf_profile.xsd +++ b/src/test/resources/profile_schemas/grsf_profile.xsd @@ -5,15 +5,30 @@ vc:minVersion="1.1"> - + - + + + + + + + + + + + + + + + + @@ -32,9 +47,10 @@ - + - + + diff --git a/src/test/resources/profile_schemas/profile5.xsd b/src/test/resources/profile_schemas/profile5.xsd index e620a50..a0f97a1 100644 --- a/src/test/resources/profile_schemas/profile5.xsd +++ b/src/test/resources/profile_schemas/profile5.xsd @@ -7,6 +7,15 @@ + + + + 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. + + + @@ -178,7 +187,16 @@ - + + + + + Any tags are allowed + + + + + @@ -191,10 +209,12 @@ - + - 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. diff --git a/src/test/resources/profiles/AssessmentUnit.xml b/src/test/resources/profiles/AssessmentUnit.xml index 4c1548f..89f7daa 100644 --- a/src/test/resources/profiles/AssessmentUnit.xml +++ b/src/test/resources/profiles/AssessmentUnit.xml @@ -2,6 +2,15 @@ + + + + + @@ -23,44 +32,49 @@ grsf_type - String + + assessment unit + true false Field + + Example: "grsf_type" : "assessment unit". https://data.d4science.org/ctlg/GRSF_Admin/00a1f849-1b43-3fd1-9255-1d1134c969bb + + + + + + + Short Name + false + String + 1 + false + + + short_name + + String + + aggregated + false + + Field + + + Example: "American Plaice NAFO-5YZ". + Check the record https://data.d4science.org/ctlg/GRSF_Admin/f6342402-b5fb-3457-9b49-c0a018f2ce72. + - - Data Owner - false - String - * - false - - - data_owner - - JsonArray - - false - true - - - Field - - - It generates a Resource for each element of the array. - - - - - Database Source false @@ -103,6 +117,31 @@ + + Data Owner + false + String + * + false + + + data_owner + + JsonArray + + false + true + + + Field + + + It generates a Resource for each element of the array. + + + + + Source of Information false @@ -184,30 +223,7 @@ - - Short Name - false - String - 1 - false - - - short_name - - String - - aggregated - false - - Field - - - Example: "American Plaice NAFO-5YZ". - Check the record https://data.d4science.org/ctlg/GRSF_Admin/f6342402-b5fb-3457-9b49-c0a018f2ce72. - - - - + SDG Flag @@ -1011,5 +1027,24 @@ --> + + + + + stock_name + + String + + true + false + + title + + + Example: "stock_name" : "Cancer pagurus - Central North Sea (Division 27.4.b)". https://data.d4science.org/ctlg/GRSF_Admin/00a1f849-1b43-3fd1-9255-1d1134c969bb + + + + \ No newline at end of file