elu-project.json 2.19 KB
Newer Older
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
{
  "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"
              ]
            }
          }
        }
      }
    }
  }
}