-
Notifications
You must be signed in to change notification settings - Fork 1
Expand file tree
/
Copy pathdata.schema.json
More file actions
43 lines (43 loc) · 807 Bytes
/
data.schema.json
File metadata and controls
43 lines (43 loc) · 807 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
{
"$id": "https://github.com/PotcFdk/UpDog/data.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"title": "UpDog data.json",
"type": "object",
"required": [
"list"
],
"properties": {
"list": {
"type": "array",
"description": "The list of entries.",
"items": {
"$ref": "#/$defs/releaseNoteMetaObject"
}
}
},
"definitions": {
"saneUrl": {
"format": "uri",
"pattern": "^https?://"
}
},
"$defs": {
"releaseNoteMetaObject": {
"type": "object",
"required": [
"name",
"url"
],
"properties": {
"name": {
"type": "string",
"description": "The name of the entry."
},
"url": {
"$ref": "#/definitions/saneUrl",
"description": "The URL where release notes can be found for the entry."
}
}
}
}
}