This repository has been archived by the owner on Nov 30, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 3
/
good.json
55 lines (55 loc) · 1.76 KB
/
good.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
{
"$schema": "https://oa-pass.github.io/pass-policy-service/schemas/policy_config_1.0.json",
"policy-rules": [
{
"description": "Must deposit to one of the repositories indicated by primary funder",
"policy-id": "${submission.grants.primaryFunder.policy}",
"type": "funder",
"repositories": [
{
"repository-id": "${policy.repositories}"
}
]
},
{
"description": "Must deposit to one of the repositories indicated by direct funder",
"policy-id": "${submission.grants.directFunder.policy}",
"type": "funder",
"repositories": [
{
"repository-id": "${policy.repositories}"
}
]
},
{
"description": "Members of the JHU community must deposit into JScholarship, or some other repository.",
"policy-id": "policies/",
"type": "institution",
"conditions": [
{
"endsWith": {
"@johnshopkins.edu": "${header.Eppn}"
}
},
{
"noneOf": [
{
"contains": {
"foo": "${header.Foo}"
}
}
]
}
],
"repositories": [
{
"repository-id": "http://passl.local/fcrepo/rest/repositories/j10p",
"selected": true
},
{
"repository-id": "*"
}
]
}
]
}