Fixed templates
This commit is contained in:
parent
32fab1ba37
commit
85571c6986
|
@ -15,11 +15,6 @@
|
||||||
"version" : "${version?string["0.0"]}",
|
"version" : "${version?string["0.0"]}",
|
||||||
"extras": [
|
"extras": [
|
||||||
<#-- START of Common Metadata -->
|
<#-- START of Common Metadata -->
|
||||||
<#if source = "grsf">
|
|
||||||
<@metadata key="system:type" var=grsf_type?capitalize sep="" />
|
|
||||||
<#else>
|
|
||||||
<@metadata key="system:type" var="Legacy" sep="" />
|
|
||||||
</#if>
|
|
||||||
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />
|
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />
|
||||||
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
||||||
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
||||||
|
@ -73,6 +68,12 @@
|
||||||
<@metadatalist key="Management Body/Authority" namespace=identity_namespace list=management_body_authorities />
|
<@metadatalist key="Management Body/Authority" namespace=identity_namespace list=management_body_authorities />
|
||||||
<@metadatalist key="Resources Exploited" namespace=identity_namespace list=resources_exploited />
|
<@metadatalist key="Resources Exploited" namespace=identity_namespace list=resources_exploited />
|
||||||
<#-- END of Fishery Metadata -->
|
<#-- END of Fishery Metadata -->
|
||||||
|
|
||||||
|
<#if source = "grsf">
|
||||||
|
<@metadata key="system:type" var=grsf_type?capitalize sep="" />
|
||||||
|
<#else>
|
||||||
|
<@metadata key="system:type" var="Legacy" sep="" />
|
||||||
|
</#if>
|
||||||
],
|
],
|
||||||
"organization": <@source_macro />
|
"organization": <@source_macro />
|
||||||
"groups": [
|
"groups": [
|
||||||
|
|
|
@ -15,11 +15,6 @@
|
||||||
"version" : "${version?string["0.0"]}",
|
"version" : "${version?string["0.0"]}",
|
||||||
"extras": [
|
"extras": [
|
||||||
<#-- START of Common Metadata -->
|
<#-- START of Common Metadata -->
|
||||||
<#if source = "grsf">
|
|
||||||
<@metadata key="system:type" var=grsf_type?capitalize sep="" />
|
|
||||||
<#else>
|
|
||||||
<@metadata key="system:type" var="Legacy" sep="" />
|
|
||||||
</#if>
|
|
||||||
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />
|
<@metadata key="GRSF Type" namespace=identity_namespace var=grsf_type?capitalize />
|
||||||
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
||||||
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
||||||
|
@ -72,6 +67,12 @@
|
||||||
<@timeseries key="Scientific Advice" namespace=data_namespace timeseries="scientific_advice" groupname="scientific-advice-group" />
|
<@timeseries key="Scientific Advice" namespace=data_namespace timeseries="scientific_advice" groupname="scientific-advice-group" />
|
||||||
<@metadata key="Assessor" namespace=data_namespace var=assessor include=include_sensitive />
|
<@metadata key="Assessor" namespace=data_namespace var=assessor include=include_sensitive />
|
||||||
<#-- END of Stock Metadata -->
|
<#-- END of Stock Metadata -->
|
||||||
|
|
||||||
|
<#if source = "grsf">
|
||||||
|
<@metadata key="system:type" var=grsf_type?capitalize sep="" />
|
||||||
|
<#else>
|
||||||
|
<@metadata key="system:type" var="Legacy" sep="" />
|
||||||
|
</#if>
|
||||||
],
|
],
|
||||||
"organization": <@source_macro />
|
"organization": <@source_macro />
|
||||||
"groups": [
|
"groups": [
|
||||||
|
|
|
@ -15,7 +15,6 @@
|
||||||
"version" : "${version?string["0.0"]}",
|
"version" : "${version?string["0.0"]}",
|
||||||
"extras": [
|
"extras": [
|
||||||
<#-- START of Common Metadata -->
|
<#-- START of Common Metadata -->
|
||||||
<@metadata key="system:type" var="Traceability Unit" sep="" />
|
|
||||||
<@metadata key="GRSF Type" namespace=identity_namespace var="Traceability Unit" />
|
<@metadata key="GRSF Type" namespace=identity_namespace var="Traceability Unit" />
|
||||||
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
<@metadata key="Short Name" namespace=identity_namespace var=short_name />
|
||||||
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
<@metadata key="GRSF Semantic Identifier" namespace=identity_namespace var=grsf_semantic_identifier />
|
||||||
|
@ -45,6 +44,8 @@
|
||||||
<@metadatalist key="Fishing Gear" namespace=identity_namespace list=fishing_gear tagValues=true />
|
<@metadatalist key="Fishing Gear" namespace=identity_namespace list=fishing_gear tagValues=true />
|
||||||
<@metadatalist key="Management Body/Authority" namespace=identity_namespace list=management_body_authorities />
|
<@metadatalist key="Management Body/Authority" namespace=identity_namespace list=management_body_authorities />
|
||||||
<#-- END of Traceability Unit Metadata -->
|
<#-- END of Traceability Unit Metadata -->
|
||||||
|
|
||||||
|
<@metadata key="system:type" var="Traceability Unit" sep="" />
|
||||||
],
|
],
|
||||||
"organization": <@source_macro />
|
"organization": <@source_macro />
|
||||||
"groups": [
|
"groups": [
|
||||||
|
|
|
@ -38,7 +38,6 @@
|
||||||
<#macro tagbyvalue value include=true sep=",">
|
<#macro tagbyvalue value include=true sep=",">
|
||||||
<#assign tagvalue=value?json_string?replace("[,:]\\s{0,1}", " ", "r") />
|
<#assign tagvalue=value?json_string?replace("[,:]\\s{0,1}", " ", "r") />
|
||||||
{
|
{
|
||||||
|
|
||||||
<#if tagvalue?length gt 100 >
|
<#if tagvalue?length gt 100 >
|
||||||
"name": "${tagvalue[0..<99]}"
|
"name": "${tagvalue[0..<99]}"
|
||||||
<#else>
|
<#else>
|
||||||
|
|
Loading…
Reference in New Issue