-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathcador_storage_schema.json
91 lines (91 loc) · 1.82 KB
/
cador_storage_schema.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
84
85
86
87
88
89
90
91
{
"$schema": "http://json-schema.org/draft-06/schema#",
"title": "CADoR Output Storage Configuration",
"description": "Configuration for CADOR output writting on Object Storage",
"type": "object",
"properties": {
"S3": {
"type": "object",
"properties": {
"url": {
"type": "string",
"description": "url for S3 Object Storage server"
},
"key": {
"type": "string",
"description": "Key for authentification"
},
"secret": {
"type": "string",
"description": "secret for authentification"
},
"ssl": {
"type": "boolean",
"description": "is ssl enable or not"
},
"containerPath": {
"type": "string",
"description": "full path to container"
}
},
"required": [
"url",
"key",
"secret",
"ssl",
"containerPath"
]
},
"GCS": {
"type": "object",
"properties": {
"containerPath": {
"type": "string",
"description": "container name"
},
"key": {
"type": "string",
"description": "Key for authentification"
},
"secret": {
"type": "string",
"description": "secret for authentification"
}
},
"required": [
"containerPath",
"key",
"secret"
]
},
"POSIX": {
"type": "object",
"properties": {
"folder": {
"type": "string",
"description": "folder name"
}
},
"required": [
"folder"
]
}
},
"oneOf": [
{
"required": [
"S3"
]
},
{
"required": [
"GCS"
]
},
{
"required": [
"POSIX"
]
}
]
}