Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Sign in
Toggle navigation
Menu
Open sidebar
elixir
metadata-tools
Commits
23c487ac
Commit
23c487ac
authored
Nov 12, 2019
by
Pinar Alper
Browse files
core, partner and project schemas updated to reflect current exports
parent
96b2c898
Changes
3
Hide whitespace changes
Inline
Side-by-side
metadata_tools/resources/elu-core.json
View file @
23c487ac
...
...
@@ -6,7 +6,6 @@
"type"
:
"object"
,
"required"
:
[
"source"
,
"id_at_source"
,
"name"
],
"properties"
:
{
...
...
@@ -14,16 +13,16 @@
"type"
:
"string"
,
"format"
:
"uri"
},
"
id_at_source
"
:
{
"
acronym
"
:
{
"type"
:
"string"
},
"name"
:
{
"type"
:
"string"
},
"
elu_access
ion"
:
{
"
descript
ion"
:
{
"type"
:
"string"
},
"
acronym
"
:
{
"
elu_accession
"
:
{
"type"
:
"string"
}
}
...
...
metadata_tools/resources/elu-partner
s
.json
→
metadata_tools/resources/elu-partner.json
View file @
23c487ac
{
"description"
:
"ELIXIR Luxembourg Partner
s
"
,
"description"
:
"ELIXIR Luxembourg Partner
Schema
"
,
"schema"
:
{
"title"
:
"A JSON Schema for describing partners institutes."
,
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
...
...
@@ -24,16 +24,16 @@
"enum"
:
[
"National"
,
"EU"
,
"Non
-
EU"
,
"Non
_
EU"
,
"International"
]
},
"sectory_category"
:
{
"type"
:
"string"
,
"enum"
:
[
"P
ublic
"
,
"P
rivate Non-Profit
"
,
"P
rivate For-Profit
"
"P
UBLIC
"
,
"P
RIVATE_P
"
,
"P
RIVATE_NP
"
]
},
"address"
:
{
...
...
metadata_tools/resources/elu-project.json
0 → 100644
View file @
23c487ac
{
"description"
:
"ELIXIR Luxembourg Projects Schema"
,
"schema"
:
{
"title"
:
"A JSON Schema for describing biomedical research Projects."
,
"$schema"
:
"http://json-schema.org/draft-04/schema#"
,
"type"
:
"array"
,
"items"
:
{
"$ref"
:
"#/definitions/elu:project"
},
"definitions"
:
{
"elu:project"
:
{
"type"
:
"object"
,
"allOf"
:
[
{
"$ref"
:
"https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-core.json"
}
],
"properties"
:
{
"has_institutional_ethics_approval"
:
{
"type"
:
"boolean"
},
"institutional_ethics_approval_notes"
:
{
"type"
:
"string"
},
"has_national_ethics_approval"
:
{
"type"
:
"boolean"
},
"national_ethics_approval_notes"
:
{
"type"
:
"string"
},
"start_date"
:
{
"type"
:
"string"
},
"contacts"
:
{
"type"
:
"array"
,
"minItems"
:
1
,
"items"
:
{
"type"
:
"object"
,
"properties"
:
{
"first_name"
:
{
"type"
:
"string"
},
"last_name"
:
{
"type"
:
"string"
},
"role"
:
{
"type"
:
"string"
,
"enum"
:
[
"Principal_Investigator"
,
"Researcher"
,
"Data_Manager"
,
"Data_Protection_Officer"
,
"Legal_Representative"
,
"Other"
]
},
"email"
:
{
"type"
:
"string"
,
"format"
:
"email"
},
"affiliations"
:
{
"type"
:
"array"
,
"items"
:
{
"type"
:
"string"
}
}
},
"required"
:
[
"first_name"
,
"last_name"
,
"role"
,
"email"
,
"institution"
]
}
}
}
}
}
}
}
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment