forked from DaylightAcademy/DLA-LightEx-MD-Schema
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathproject.json
83 lines (83 loc) · 2.79 KB
/
project.json
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
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
{
"$schema": "http://json-schema.org/draft-07/schema",
"$id": "https://github.com/cdsig/CDSIG-Schema/blob/main/project.json",
"title": "Project-level metadata",
"description": "Project-level metadata is metadata that describes the project. A project could be a wider organisational unit of studies. For example, there may be different substudies within a project.",
"type": "object",
"properties": {
"name": {
"description": "Informative or internal name of the project",
"example": "ACHM2019_Project",
"type": "string"
},
"uuid": {
"description": "This is a uniqe MD5 hash generated from the `name` field",
"example": "c815b5d426655176b74852f07dc7ef02",
"type": "string"
},
"funding_sources": {
"description": "Any funding sources supporting the project. If the funding number is available, it should be given",
"example": ["Wellcome Trust 204686/Z/16/Z"],
"type": "array",
"minItems": 1,
"items": {
"type": "string"
}
},
"description": {
"description": "Short narrative description of the project. This could include any further information on the project and the context in which it was completed",
"example": "",
"type": "string"
},
"keywords": {
"description": "Key words describing the projects.",
"example": ["actigraphy", "congenital achromatopsia", "circadian"],
"type": "array",
"minItems": 3,
"items": {
"type": "string"
}
},
"contributors": {
"type": "array",
"items": {
"$ref": "https://raw.githubusercontent.com/cdsig/CDSIG-Schema/main/person.json"
}
},
"project_status": {
"description": "Status of the project (i.e. if it is still running)",
"type": "object",
"properties": {
"period": {
"description": "Time period during which the project took place",
"type": "object",
"properties": {
"start_date_time": {
"description": "Start date-time for the project",
"type": "string",
"format": "date-time"
},
"ongoing": {
"description": "Indicate if the project is still ongoing (true) or completed (false)",
"type": "boolean"
}
},
"if": {
"properties": { "ongoing": { "const": true } }
},
"then": {
"properties": {
"stop_date_time": {
"description": "Stop date-time for the project",
"type": "string",
"format": "date-time"
}
}
}
}
},
"required": ["period"]
}
},
"required": ["name", "uuid", "description", "keywords", "contributors", "project_status"]
}