forked from osmosis-labs/apps-list
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathapplications.schema.json
61 lines (61 loc) · 2.11 KB
/
applications.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
{
"$schema": "http://json-schema.org/draft-07/schema#",
"type": "object",
"properties": {
"applications": {
"type": "array",
"items": {
"type": "object",
"properties": {
"title": {
"type": "string",
"description": "The title of the application"
},
"subtitle": {
"type": "string",
"description": "The subtitle of the application",
"maxLength": 100
},
"external_URL": {
"type": "string",
"description": "The URL to the external site of the application",
"format": "uri"
},
"thumbnail_image_URL": {
"type": "string",
"description": "The URL of the thumbnail image for the application",
"pattern": "^https?://raw\\.githubusercontent\\.com/osmosis-labs/apps-list/main/images/[a-zA-Z0-9_-]+_thumbnail\\.(png|svg|jpg)$"
},
"hero_image_URL": {
"type": "string",
"description": "The URL of the hero image for the application",
"pattern": "^https?://raw\\.githubusercontent\\.com/osmosis-labs/apps-list/main/images/[a-zA-Z0-9_-]+_hero\\.(png|svg|jpg)$"
},
"twitter_URL": {
"type": "string",
"description": "The URL of the Twitter account for the application",
"format": "uri"
},
"medium_URL": {
"type": "string",
"description": "The URL of the Medium account for the application",
"format": "uri"
},
"github_URL": {
"type": "string",
"description": "The URL of the GitHub account for the application",
"format": "uri"
},
"featured": {
"type": "boolean",
"description": "Indicates whether the application is featured or not"
}
},
"required": ["title", "external_URL", "thumbnail_image_URL", "hero_image_URL"],
"additionalProperties": false
}
}
},
"required": ["applications"],
"additionalProperties": false
}