From 83fcd157a7e0b6ef8bc88d280ab37497567e3ac3 Mon Sep 17 00:00:00 2001 From: Max Novelli Date: Tue, 16 Jul 2024 17:28:32 +0200 Subject: [PATCH] Added fields in metadata schema --- resources/base.imsc.json.example | 32 +++++++++++++++++++++++++++++-- resources/coda.imsc.json.example | 32 +++++++++++++++++++++++++++++-- resources/dream.imsc.json.example | 32 +++++++++++++++++++++++++++++-- resources/loki.imsc.json.example | 32 +++++++++++++++++++++++++++++-- 4 files changed, 120 insertions(+), 8 deletions(-) diff --git a/resources/base.imsc.json.example b/resources/base.imsc.json.example index 4f842b8..3d3d00e 100644 --- a/resources/base.imsc.json.example +++ b/resources/base.imsc.json.example @@ -73,6 +73,16 @@ "operator" : "join_with_space" "value" : "", "value_type": "string" + }, + "owner_group": { + "source": "VALUE", + "value": "ess_proposal_", + "value_type": "string" + }, + "access_groups": { + "source": "VALUE", + "value": ["scientific information management systems group"], + "value_type": "string[]" } }, "schema": { @@ -116,7 +126,13 @@ "field_type": "high_level", "machine_name": "ownerEmail", "value": "", - "type": "string" + "type": "email" + }, + "contact_email": { + "field_type": "high_level", + "machine_name": "contactEmail", + "value": "", + "type": "email" }, "instrument_id": { "field_type": "high_level", @@ -127,7 +143,7 @@ "location": { "field_type": "high_level", "machine_name": "location", - "source": "ESS:CODA:", + "value": "ESS:CODA:", "type": "string" }, "start_time": { @@ -164,6 +180,18 @@ "human_name": "Acquisition Team Members", "values": "", "type": "string" + }, + "owner_group": { + "field_type": "high_level", + "machine_name": "ownerGroup", + "value": "", + "type": "string" + }, + "access_groups": { + "field_type": "high_level", + "machine_name": "accessGroups", + "value": "", + "type": "string[]" } } } \ No newline at end of file diff --git a/resources/coda.imsc.json.example b/resources/coda.imsc.json.example index abb5934..2fa43fe 100644 --- a/resources/coda.imsc.json.example +++ b/resources/coda.imsc.json.example @@ -73,6 +73,16 @@ "operator" : "join_with_space" "value" : "", "value_type": "string" + }, + "owner_group": { + "source": "VALUE", + "value": "ess_proposal_", + "value_type": "string" + }, + "access_groups": { + "source": "VALUE", + "value": ["scientific information management systems group"], + "value_type": "string[]" } }, "schema": { @@ -116,7 +126,13 @@ "field_type": "high_level", "machine_name": "ownerEmail", "value": "", - "type": "string" + "type": "email" + }, + "contact_email": { + "field_type": "high_level", + "machine_name": "contactEmail", + "value": "", + "type": "email" }, "instrument_id": { "field_type": "high_level", @@ -127,7 +143,7 @@ "location": { "field_type": "high_level", "machine_name": "location", - "source": "ESS:CODA:", + "value": "ESS:CODA:", "type": "string" }, "start_time": { @@ -164,6 +180,18 @@ "human_name": "Acquisition Team Members", "values": "", "type": "string" + }, + "owner_group": { + "field_type": "high_level", + "machine_name": "ownerGroup", + "value": "", + "type": "string" + }, + "access_groups": { + "field_type": "high_level", + "machine_name": "accessGroups", + "value": "", + "type": "string[]" } } } diff --git a/resources/dream.imsc.json.example b/resources/dream.imsc.json.example index 532bf79..4c8f2a6 100644 --- a/resources/dream.imsc.json.example +++ b/resources/dream.imsc.json.example @@ -73,6 +73,16 @@ "operator" : "join_with_space" "value" : "", "value_type": "string" + }, + "owner_group": { + "source": "VALUE", + "value": "ess_proposal_", + "value_type": "string" + }, + "access_groups": { + "source": "VALUE", + "value": ["scientific information management systems group"], + "value_type": "string[]" } }, "schema": { @@ -116,7 +126,13 @@ "field_type": "high_level", "machine_name": "ownerEmail", "value": "", - "type": "string" + "type": "email" + }, + "contact_email": { + "field_type": "high_level", + "machine_name": "contactEmail", + "value": "", + "type": "email" }, "instrument_id": { "field_type": "high_level", @@ -127,7 +143,7 @@ "location": { "field_type": "high_level", "machine_name": "location", - "source": "ESS:", + "value": "ESS:", "type": "string" }, "start_time": { @@ -164,6 +180,18 @@ "human_name": "Acquisition Team Members", "values": "", "type": "string" + }, + "owner_group": { + "field_type": "high_level", + "machine_name": "ownerGroup", + "value": "", + "type": "string" + }, + "access_groups": { + "field_type": "high_level", + "machine_name": "accessGroups", + "value": "", + "type": "string[]" } } } diff --git a/resources/loki.imsc.json.example b/resources/loki.imsc.json.example index 96f843f..73a346f 100644 --- a/resources/loki.imsc.json.example +++ b/resources/loki.imsc.json.example @@ -73,6 +73,16 @@ "operator" : "join_with_space" "value" : "", "value_type": "string" + }, + "owner_group": { + "source": "VALUE", + "value": "ess_proposal_", + "value_type": "string" + }, + "access_groups": { + "source": "VALUE", + "value": ["scientific information management systems group"], + "value_type": "string[]" } }, "schema": { @@ -116,7 +126,13 @@ "field_type": "high_level", "machine_name": "ownerEmail", "value": "", - "type": "string" + "type": "email" + }, + "contact_email": { + "field_type": "high_level", + "machine_name": "contactEmail", + "value": "", + "type": "email" }, "instrument_id": { "field_type": "high_level", @@ -127,7 +143,7 @@ "location": { "field_type": "high_level", "machine_name": "location", - "source": "ESS:", + "value": "ESS:", "type": "string" }, "start_time": { @@ -164,6 +180,18 @@ "human_name": "Acquisition Team Members", "values": "", "type": "string" + }, + "owner_group": { + "field_type": "high_level", + "machine_name": "ownerGroup", + "value": "", + "type": "string" + }, + "access_groups": { + "field_type": "high_level", + "machine_name": "accessGroups", + "value": "", + "type": "string[]" } } }