Skip to content

Commit

Permalink
Added fields in metadata schema
Browse files Browse the repository at this point in the history
  • Loading branch information
nitrosx committed Jul 16, 2024
1 parent e784349 commit 83fcd15
Show file tree
Hide file tree
Showing 4 changed files with 120 additions and 8 deletions.
32 changes: 30 additions & 2 deletions resources/base.imsc.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
"operator" : "join_with_space"
"value" : "<acquisition_team_members>",
"value_type": "string"
},
"owner_group": {
"source": "VALUE",
"value": "ess_proposal_<proposal_id>",
"value_type": "string"
},
"access_groups": {
"source": "VALUE",
"value": ["scientific information management systems group"],
"value_type": "string[]"
}
},
"schema": {
Expand Down Expand Up @@ -116,7 +126,13 @@
"field_type": "high_level",
"machine_name": "ownerEmail",
"value": "<pi_email>",
"type": "string"
"type": "email"
},
"contact_email": {
"field_type": "high_level",
"machine_name": "contactEmail",
"value": "<pi_email>",
"type": "email"
},
"instrument_id": {
"field_type": "high_level",
Expand All @@ -127,7 +143,7 @@
"location": {
"field_type": "high_level",
"machine_name": "location",
"source": "ESS:CODA:<instrument_name>",
"value": "ESS:CODA:<instrument_name>",
"type": "string"
},
"start_time": {
Expand Down Expand Up @@ -164,6 +180,18 @@
"human_name": "Acquisition Team Members",
"values": "<acquisition_team_members>",
"type": "string"
},
"owner_group": {
"field_type": "high_level",
"machine_name": "ownerGroup",
"value": "<owner_group>",
"type": "string"
},
"access_groups": {
"field_type": "high_level",
"machine_name": "accessGroups",
"value": "<access_groups>",
"type": "string[]"
}
}
}
32 changes: 30 additions & 2 deletions resources/coda.imsc.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
"operator" : "join_with_space"
"value" : "<acquisition_team_members>",
"value_type": "string"
},
"owner_group": {
"source": "VALUE",
"value": "ess_proposal_<proposal_id>",
"value_type": "string"
},
"access_groups": {
"source": "VALUE",
"value": ["scientific information management systems group"],
"value_type": "string[]"
}
},
"schema": {
Expand Down Expand Up @@ -116,7 +126,13 @@
"field_type": "high_level",
"machine_name": "ownerEmail",
"value": "<pi_email>",
"type": "string"
"type": "email"
},
"contact_email": {
"field_type": "high_level",
"machine_name": "contactEmail",
"value": "<pi_email>",
"type": "email"
},
"instrument_id": {
"field_type": "high_level",
Expand All @@ -127,7 +143,7 @@
"location": {
"field_type": "high_level",
"machine_name": "location",
"source": "ESS:CODA:<instrument_name>",
"value": "ESS:CODA:<instrument_name>",
"type": "string"
},
"start_time": {
Expand Down Expand Up @@ -164,6 +180,18 @@
"human_name": "Acquisition Team Members",
"values": "<acquisition_team_members>",
"type": "string"
},
"owner_group": {
"field_type": "high_level",
"machine_name": "ownerGroup",
"value": "<owner_group>",
"type": "string"
},
"access_groups": {
"field_type": "high_level",
"machine_name": "accessGroups",
"value": "<access_groups>",
"type": "string[]"
}
}
}
32 changes: 30 additions & 2 deletions resources/dream.imsc.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
"operator" : "join_with_space"
"value" : "<acquisition_team_members>",
"value_type": "string"
},
"owner_group": {
"source": "VALUE",
"value": "ess_proposal_<proposal_id>",
"value_type": "string"
},
"access_groups": {
"source": "VALUE",
"value": ["scientific information management systems group"],
"value_type": "string[]"
}
},
"schema": {
Expand Down Expand Up @@ -116,7 +126,13 @@
"field_type": "high_level",
"machine_name": "ownerEmail",
"value": "<pi_email>",
"type": "string"
"type": "email"
},
"contact_email": {
"field_type": "high_level",
"machine_name": "contactEmail",
"value": "<pi_email>",
"type": "email"
},
"instrument_id": {
"field_type": "high_level",
Expand All @@ -127,7 +143,7 @@
"location": {
"field_type": "high_level",
"machine_name": "location",
"source": "ESS:<instrument_name>",
"value": "ESS:<instrument_name>",
"type": "string"
},
"start_time": {
Expand Down Expand Up @@ -164,6 +180,18 @@
"human_name": "Acquisition Team Members",
"values": "<acquisition_team_members>",
"type": "string"
},
"owner_group": {
"field_type": "high_level",
"machine_name": "ownerGroup",
"value": "<owner_group>",
"type": "string"
},
"access_groups": {
"field_type": "high_level",
"machine_name": "accessGroups",
"value": "<access_groups>",
"type": "string[]"
}
}
}
32 changes: 30 additions & 2 deletions resources/loki.imsc.json.example
Original file line number Diff line number Diff line change
Expand Up @@ -73,6 +73,16 @@
"operator" : "join_with_space"
"value" : "<acquisition_team_members>",
"value_type": "string"
},
"owner_group": {
"source": "VALUE",
"value": "ess_proposal_<proposal_id>",
"value_type": "string"
},
"access_groups": {
"source": "VALUE",
"value": ["scientific information management systems group"],
"value_type": "string[]"
}
},
"schema": {
Expand Down Expand Up @@ -116,7 +126,13 @@
"field_type": "high_level",
"machine_name": "ownerEmail",
"value": "<pi_email>",
"type": "string"
"type": "email"
},
"contact_email": {
"field_type": "high_level",
"machine_name": "contactEmail",
"value": "<pi_email>",
"type": "email"
},
"instrument_id": {
"field_type": "high_level",
Expand All @@ -127,7 +143,7 @@
"location": {
"field_type": "high_level",
"machine_name": "location",
"source": "ESS:<instrument_name>",
"value": "ESS:<instrument_name>",
"type": "string"
},
"start_time": {
Expand Down Expand Up @@ -164,6 +180,18 @@
"human_name": "Acquisition Team Members",
"values": "<acquisition_team_members>",
"type": "string"
},
"owner_group": {
"field_type": "high_level",
"machine_name": "ownerGroup",
"value": "<owner_group>",
"type": "string"
},
"access_groups": {
"field_type": "high_level",
"machine_name": "accessGroups",
"value": "<access_groups>",
"type": "string[]"
}
}
}

0 comments on commit 83fcd15

Please sign in to comment.