elu-institution.json 1.16 KB
Newer Older
Pinar Alper's avatar
Pinar Alper committed
1
{
2
  "description": "ELIXIR Luxembourg Partner 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
  "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"
          ]
        },
        "sector_category": {
          "type": "string",
          "enum": [
            "PUBLIC",
            "PRIVATE_P",
            "PRIVATE_NP"
          ]
        },
        "address": {
39
          "type": ["string", "null"]
40
41
42
        },
        "country_code":{
          "title": "ISO 3166-1 Alpha-2 Country code",
43
          "type": ["string", "null"],
44
          "pattern": "^[A-Z]{2}$"
Pinar Alper's avatar
Pinar Alper committed
45
46
47
48
49
50
51
52
53
        }
      }
    }
  }
}