elu-core.json 1.74 KB
Newer Older
Pinar Alper's avatar
Pinar Alper committed
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
{
  "description": "ELIXIR Luxembourg Core json schema",
  "schema": {
    "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"
      },
16
      "acronym": {
Pinar Alper's avatar
Pinar Alper committed
17
18
19
20
21
        "type": "string"
      },
      "name": {
        "type": "string"
      },
22
      "description": {
Pinar Alper's avatar
Pinar Alper committed
23
24
        "type": "string"
      },
25
      "elu_accession": {
Pinar Alper's avatar
Pinar Alper committed
26
        "type": "string"
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
      },
      "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": {
              "type": "array",
              "items": {
                "type": "string"
              }
            }
          },
          "required": [
            "first_name",
            "last_name",
            "role",
            "email",
            "institution"
          ]
        }
Pinar Alper's avatar
Pinar Alper committed
75
76
77
78
79
80
81
82
      }
    }
  }
}