-
Notifications
You must be signed in to change notification settings - Fork 236
Expand file tree
/
Copy pathadocean.json
More file actions
44 lines (44 loc) · 952 Bytes
/
adocean.json
File metadata and controls
44 lines (44 loc) · 952 Bytes
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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"title": "AdOcean Adapter Params",
"description": "A schema which validates params accepted by the AdOcean adapter",
"type": "object",
"properties": {
"emiter": {
"type": "string",
"description": "Deprecated, use emitterPrefix instead. AdOcean emiter",
"pattern": ".+"
},
"emitterPrefix": {
"type": "string",
"description": "AdOcean emitter prefix",
"pattern": "^[\\w\\-]+$"
},
"masterId": {
"type": "string",
"description": "Master's id",
"pattern": "^[\\w.]+$"
},
"slaveId": {
"type": "string",
"description": "Slave's id",
"pattern": "^adocean[\\w.]+$"
}
},
"oneOf": [
{
"required": [
"emiter",
"masterId",
"slaveId"
]
},
{
"required": [
"emitterPrefix",
"masterId",
"slaveId"
]
}
]
}