-
Notifications
You must be signed in to change notification settings - Fork 12
/
item.json
61 lines (61 loc) · 1.24 KB
/
item.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
{
"$id": "item.json",
"$schema": "http://json-schema.org/draft-04/schema#",
"definitions": {
"KingfisherItem": {
"type": "object",
"properties": {
"file_name": {
"type": "string",
"pattern": "^[^/]+$"
},
"url": {
"type": "string",
"format": "uri"
}
},
"required": [
"file_name",
"url"
]
},
"KingfisherFileItem": {
"allOf": [
{
"$ref": "#/definitions/KingfisherItem"
}
],
"type": "object",
"properties": {
"data_type": {
"type": "string",
"enum": [
"record",
"release",
"release_list",
"record_package",
"release_package",
"record_package_list",
"release_package_list",
"record_package_list_in_results",
"release_package_list_in_results",
"release_in_Release",
"zip",
"rar",
"tar.gz"
]
},
"encoding": {
"type": "string"
},
"data": {
"minLength": 1
}
},
"required": [
"data",
"data_type"
]
}
}
}