-
Notifications
You must be signed in to change notification settings - Fork 8
/
distribution.json
38 lines (38 loc) · 992 Bytes
/
distribution.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
{
"$schema": "http://json-schema.org/draft-04/schema#",
"type": "object",
"required": [
"accessURL",
"downloadURL",
"title",
"issued"
],
"properties": {
"accessURL": {
"type": "string",
"format": "uri"
},
"downloadURL": {
"type": "string",
"format": "uri"
},
"title": { "$ref": "mixed-types.json#nonEmptyString" },
"issued": { "$ref": "mixed-types.json#dateOrDatetimeString" },
"description": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"format": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"mediaType": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"license": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"byteSize": {
"anyOf": [
{ "type": "integer" },
{ "type": "null" }
]
},
"modified": { "$ref": "mixed-types.json#dateOrDatetimeStringOrNull" },
"rights": { "$ref": "mixed-types.json#nonEmptyStringOrNull" },
"field": {
"type": "array",
"items": { "$ref": "field.json" }
}
}
}