This repository has been archived by the owner on Nov 23, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 1
/
schema.json
75 lines (75 loc) · 1.58 KB
/
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"type": "object",
"additionalProperties": false,
"required": [
"version",
"user_comment",
"title",
"home_page_url",
"feed_url",
"author",
"items"
],
"properties": {
"version": {
"type": "string",
"format": "uri"
},
"user_comment": {
"type": "string",
"contentMediaType": "text/plain"
},
"title": {
"type": "string",
"contentMediaType": "text/plain"
},
"home_page_url": {
"type": "string",
"format": "uri"
},
"feed_url": {
"type": "string",
"format": "uri"
},
"author": {
"type": "object",
"additionalProperties": false,
"required": [ "name", "url", "avatar" ],
"properties": {
"name": { "type": "string" },
"url": {
"type": "string",
"format": "uri"
},
"avatar": {
"type": "string",
"format": "uri"
}
}
},
"items": {
"type": "array",
"items": {
"type": "object",
"additionalProperties": false,
"required": [ "id", "url", "content_text", "date_published" ],
"properties": {
"id": { "type": "string" },
"url": {
"type": "string",
"format": "uri"
},
"content_text": {
"type": "string",
"contentMediaType": "text/plain"
},
"date_published": {
"type": "string",
"format": "date-time"
}
}
}
}
}
}