forked from twisneskie/mdEditor-profile-creation
-
Notifications
You must be signed in to change notification settings - Fork 0
/
require-multiple-values.json
48 lines (48 loc) · 1.14 KB
/
require-multiple-values.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "Require Multiple Values",
"description": "Makes multiple roles required for pointOfContact.",
"$id": "require-multiple-values.json",
"version": "1.0.0",
"properties": {
"metadata": {
"properties": {
"resourceInfo": {
"properties": {
"pointOfContact": {
"allOf": [
{
"contains": {
"properties": {
"role": {
"const": "pointOfContact"
}
}
}
},
{
"contains": {
"properties": {
"role": {
"const": "custodian"
}
}
}
},
{
"contains": {
"properties": {
"role": {
"const": "owner"
}
}
}
}
]
}
}
}
}
}
}
}