-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathINPUT_SCHEMA.json
72 lines (72 loc) · 1.92 KB
/
INPUT_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
{
"title": "gemini-converter",
"type": "object",
"schemaVersion": 1,
"properties": {
"url": {
"title": "Url",
"type": "string",
"description": "Select url for scraping.",
"editor": "textfield"
},
"filename": {
"title": "File name",
"type": "string",
"description": "File name for Gemini capsule.",
"editor": "textfield",
"prefill": "index.gmi"
},
"elements": {
"title": "Elements",
"type": "array",
"description": "Enter array of elements to convert.",
"prefill": [
{
"path": "li > a",
"type": "link"
},
{
"path": "p",
"type": "text"
},
{
"path": "h1",
"type": "heading1"
},
{
"path": "h2",
"type": "heading2"
},
{
"path": "h3",
"type": "heading3"
},
{
"path": "li",
"type": "list"
},
{
"path": "div > blockquote",
"type": "blockquote"
},
{
"path": "div > pre",
"type": "preformatted"
}
],
"editor": "json"
},
"development": {
"title": "Development mode",
"type": "boolean",
"default": false,
"description": "Run in the development mode.",
"sectionCaption": "Features and flags"
}
},
"required": [
"url",
"filename",
"elements"
]
}