-
Notifications
You must be signed in to change notification settings - Fork 113
/
pdfpc.json
145 lines (145 loc) · 3.72 KB
/
pdfpc.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
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "https://pdfpc.github.io/schema/pdfpc/2",
"description": "Metadata about a presentation used by pdfpc",
"title": "pdfpc",
"type": "object",
"properties": {
"pdfpcFormat": {
"description": "Version number of this format, currently 2",
"type": "integer",
"const": 2
},
"duration": {
"description": "Duration of the presentation, in minutes",
"type": "integer",
"minimum": 1
},
"startTime": {
"description": "Intended start time, in the HH:MM format",
"type": "string",
"pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"
},
"endTime": {
"description": "Intended end time, in the HH:MM format",
"type": "string",
"pattern": "^([0-1]?[0-9]|2[0-3]):[0-5][0-9]$"
},
"endSlide": {
"description": "User-defined last slide, 0-based",
"type": "integer",
"minimum": 0
},
"savedSlide": {
"description": "Bookmarked slide, 0-based",
"type": "integer",
"minimum": 0
},
"lastMinutes": {
"description": "Number of last minutes when the timer color changes",
"type": "integer",
"minimum": 1,
"default": 5
},
"disableMarkdown": {
"description": "Interpret notes as plain text",
"type": "boolean",
"default": false
},
"noteFontSize": {
"description": "Font size used to display slide notes",
"type": "integer",
"minimum": 1,
"default": 20
},
"defaultTransition": {
"description": "Default slide transition",
"type": "string",
"$comment": "A proper regex pattern would be kilometer long...",
"default": "replace",
"examples": [
"push",
"dissolve:1.5",
"wipe:1:90",
"split:1:0:vertical:outward"
]
},
"beamerNotePosition": {
"description": "Position of Beamer notes",
"type": "string",
"enum": [
"none",
"top",
"bottom",
"right",
"left"
],
"default": "none"
},
"pages": {
"description": "Array of pages; only user-modified ones need to be listed",
"type": "array",
"items": {
"$ref": "#/$defs/page"
},
"minItems": 0,
"uniqueItems": true
}
},
"required": [
"pdfpcFormat"
],
"additionalProperties": false,
"$defs": {
"page": {
"description": "Page metadata",
"type": "object",
"properties": {
"idx": {
"description": "0-based PDF page index",
"type": "integer",
"minimum": 0
},
"label": {
"description": "PDF page label",
"type": "string"
},
"overlay": {
"description": "Overlay index having the same label, 0-based",
"type": "integer",
"minimum": 0
},
"forcedOverlay": {
"description": "Override overlay autodetection",
"type": "boolean",
"default": false
},
"hidden": {
"description": "Flag indicating the page should normally be skipped",
"type": "boolean",
"default": false
},
"note": {
"description": "User notes, either in plain text or Markdown",
"oneOf": [
{
"type": "string",
"contentMediaType": "text/plain"
},
{
"type": "string",
"contentMediaType": "text/markdown"
}
],
"$comment": "The interpretation depends on disableMarkdown 1 level up"
}
},
"required": [
"idx",
"label",
"overlay"
],
"additionalProperties": false
}
}
}