elu-partners.json 1.26 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
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
{
  "description": "ELIXIR Luxembourg Partners",
  "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",
              "Non-EU",
              "International"
            ]
          },
          "sectory_category": {
            "type": "string",
            "enum": [
              "Public",
              "Private Non-Profit",
              "Private For-Profit"
            ]
          },
          "address": {
            "type": "string"
          },
          "country_code":{
            "title": "ISO 3166-1 Alpha-2 Country code",
            "type": "string",
            "pattern": "^[A-Z]{2}$"
          }
        }
      }
    }
  }
}