forked from magda-io/magda
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathproject.schema.json
More file actions
45 lines (45 loc) · 1.38 KB
/
project.schema.json
File metadata and controls
45 lines (45 loc) · 1.38 KB
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
{
"$schema": "http://json-schema.org/hyper-schema#",
"title": "Project Information Aspect",
"description": "Aspect for capturing the basic details of a project",
"type": "object",
"properties": {
"description": {
"title": "The description of this project.",
"type": "string"
},
"status": {
"title": "The current status of the project.",
"type": "string",
"enum": ["open", "closed"]
},
"members": {
"title": "The IDs of users who are members of this project.",
"type": "array",
"items": {
"title": "The ID of a user that is a member of this project.",
"type": "string",
"links": [
{
"href": "/api/v0/auth/users/{$}",
"rel": "item"
}
]
}
},
"datasets": {
"title": "The datasets included in this project.",
"type": "array",
"items": {
"title": "A ID of a dataset.",
"type": "string",
"links": [
{
"href": "/api/v0/registry/records/{$}",
"rel": "item"
}
]
}
}
}
}