elu-core.json 1.64 KB
Newer Older
Pinar Alper's avatar
Pinar Alper committed
1
2
{
  "description": "ELIXIR Luxembourg Core json schema",
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
  "title": "Schema containing core attributes for any json serialisable ELIXIR Luxembourg record.",
  "$schema": "http://json-schema.org/draft-04/schema#",
  "type": "object",
  "required": [
    "source",
    "name"
  ],
  "properties": {
    "source": {
      "type": "string",
      "format": "uri"
    },
    "acronym": {
      "type": "string"
    },
    "name": {
      "type": "string"
    },
    "description": {
      "type": "string"
    },
    "elu_accession": {
      "type": "string"
    },
    "elu_uuid": {
      "type": "string"
    },
    "other_external_id": {
      "type": "string"
    },
    "contacts": {
      "type": "array",
      "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": {
60
            "description": "Names of the affiliated institutions.",
61
62
            "type": "array",
            "items": {
63
64
              "type": "string"
            }
65
66
67
68
69
70
71
72
73
          }
        },
        "required": [
          "first_name",
          "last_name",
          "role",
          "email",
          "affiliations"
        ]
Pinar Alper's avatar
Pinar Alper committed
74
75
76
77
78
79
80
81
      }
    }
  }
}