Commit 23c487ac authored by Pinar Alper's avatar Pinar Alper
Browse files

core, partner and project schemas updated to reflect current exports

parent 96b2c898
......@@ -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_accession": {
"description": {
"type": "string"
},
"acronym": {
"elu_accession": {
"type": "string"
}
}
......
{
"description": "ELIXIR Luxembourg Partners",
"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": [
"Public",
"Private Non-Profit",
"Private For-Profit"
"PUBLIC",
"PRIVATE_P",
"PRIVATE_NP"
]
},
"address": {
......
{
"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"
]
}
}
}
}
}
}
}
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment