elu-partner.json 1.25 KB
Newer Older
Pinar Alper's avatar
Pinar Alper committed
1
{
2
  "description": "ELIXIR Luxembourg Partner Schema",
Pinar Alper's avatar
Pinar Alper committed
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
  "schema": {
    "title": "A JSON Schema for describing partners institutes.",
    "$schema": "http://json-schema.org/draft-04/schema#",
    "type": "array",
    "items": {
      "$ref": "#/definitions/elu:partner"
    },
    "definitions": {
      "elu:partner": {
        "type": "object",
        "allOf": [
          {
            "$ref": "https://git-r3lab.uni.lu/pinar.alper/metadata-tools/raw/master/metadata_tools/resources/elu-core.json"
          }
        ],
        "properties": {
          "is_clinical": {
            "type": "boolean"
          },
          "geo_category": {
            "type": "string",
            "enum": [
              "National",
              "EU",
27
              "Non_EU",
Pinar Alper's avatar
Pinar Alper committed
28
29
30
              "International"
            ]
          },
Vilem Ded's avatar
Vilem Ded committed
31
          "sector_category": {
Pinar Alper's avatar
Pinar Alper committed
32
33
            "type": "string",
            "enum": [
34
35
36
              "PUBLIC",
              "PRIVATE_P",
              "PRIVATE_NP"
Pinar Alper's avatar
Pinar Alper committed
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
            ]
          },
          "address": {
            "type": "string"
          },
          "country_code":{
            "title": "ISO 3166-1 Alpha-2 Country code",
            "type": "string",
            "pattern": "^[A-Z]{2}$"
          }
        }
      }
    }
  }
}