File tree Expand file tree Collapse file tree
Expand file tree Collapse file tree Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "title" : {
6+ "type" : " string" ,
7+ "minLength" : 2
8+ },
9+ "description" : {
10+ "type" : " string" ,
11+ "minLength" : 10
12+ },
13+ "link" : {
14+ "type" : " string"
15+ },
16+ "color" : {
17+ "type" : " string" ,
18+ "pattern" : " ^#[0-9a-fA-F]{6}$"
19+ },
20+ "order" : {
21+ "type" : " integer" ,
22+ "minimum" : 1 ,
23+ "maximum" : 9007199254740991
24+ },
25+ "status" : {
26+ "type" : " string" ,
27+ "enum" : [
28+ " active" ,
29+ " ongoing" ,
30+ " upcoming" ,
31+ " completed"
32+ ]
33+ },
34+ "$schema" : {
35+ "type" : " string"
36+ }
37+ },
38+ "required" : [
39+ " title" ,
40+ " description" ,
41+ " color" ,
42+ " order" ,
43+ " status"
44+ ]
45+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "name" : {
6+ "type" : " string" ,
7+ "minLength" : 2 ,
8+ "maxLength" : 100
9+ },
10+ "image" : {
11+ "type" : " string" ,
12+ "format" : " uri"
13+ },
14+ "socials" : {
15+ "type" : " array" ,
16+ "items" : {
17+ "type" : " object" ,
18+ "properties" : {
19+ "platform" : {
20+ "type" : " string" ,
21+ "enum" : [
22+ " x" ,
23+ " linkedin" ,
24+ " github" ,
25+ " website" ,
26+ " youtube" ,
27+ " instagram" ,
28+ " facebook" ,
29+ " discord" ,
30+ " slack"
31+ ]
32+ },
33+ "url" : {
34+ "type" : " string" ,
35+ "format" : " uri"
36+ }
37+ },
38+ "required" : [
39+ " platform" ,
40+ " url"
41+ ]
42+ }
43+ },
44+ "$schema" : {
45+ "type" : " string"
46+ }
47+ },
48+ "required" : [
49+ " name" ,
50+ " image" ,
51+ " socials"
52+ ]
53+ }
Original file line number Diff line number Diff line change 1+ {
2+ "$schema" : " https://json-schema.org/draft/2020-12/schema" ,
3+ "type" : " object" ,
4+ "properties" : {
5+ "name" : {
6+ "type" : " string" ,
7+ "minLength" : 2
8+ },
9+ "start" : {
10+ "type" : " string" ,
11+ "pattern" : " ^\\ d{4}-\\ d{2}-\\ d{2}T\\ d{2}:\\ d{2}:\\ d{2}[+-]\\ d{2}:\\ d{2}$"
12+ },
13+ "end" : {
14+ "type" : " string" ,
15+ "pattern" : " ^\\ d{4}-\\ d{2}-\\ d{2}T\\ d{2}:\\ d{2}:\\ d{2}[+-]\\ d{2}:\\ d{2}$"
16+ },
17+ "description" : {
18+ "type" : " string" ,
19+ "minLength" : 10
20+ },
21+ "cover" : {
22+ "type" : " string" ,
23+ "format" : " uri"
24+ },
25+ "location" : {
26+ "type" : " object" ,
27+ "properties" : {
28+ "name" : {
29+ "type" : " string" ,
30+ "minLength" : 2
31+ },
32+ "map_url" : {
33+ "anyOf" : [
34+ {
35+ "type" : " string" ,
36+ "format" : " uri"
37+ },
38+ {
39+ "type" : " null"
40+ }
41+ ]
42+ }
43+ },
44+ "required" : [
45+ " name"
46+ ]
47+ },
48+ "stream_url" : {
49+ "anyOf" : [
50+ {
51+ "type" : " string" ,
52+ "format" : " uri"
53+ },
54+ {
55+ "type" : " null"
56+ }
57+ ]
58+ },
59+ "embed_stream" : {
60+ "default" : false ,
61+ "type" : " boolean"
62+ },
63+ "registration_url" : {
64+ "anyOf" : [
65+ {
66+ "type" : " string" ,
67+ "format" : " uri"
68+ },
69+ {
70+ "type" : " null"
71+ }
72+ ]
73+ },
74+ "speakers" : {
75+ "type" : " array" ,
76+ "items" : {
77+ "type" : " object" ,
78+ "properties" : {
79+ "name" : {
80+ "type" : " string" ,
81+ "minLength" : 2
82+ },
83+ "title" : {
84+ "type" : " string" ,
85+ "minLength" : 2
86+ },
87+ "bio" : {
88+ "type" : " string" ,
89+ "minLength" : 10
90+ },
91+ "image" : {
92+ "type" : " string" ,
93+ "format" : " uri"
94+ },
95+ "talk_title" : {
96+ "type" : " string" ,
97+ "minLength" : 2
98+ },
99+ "talk_description" : {
100+ "type" : " string" ,
101+ "minLength" : 10
102+ },
103+ "slides_url" : {
104+ "anyOf" : [
105+ {
106+ "type" : " string" ,
107+ "format" : " uri"
108+ },
109+ {
110+ "type" : " null"
111+ }
112+ ]
113+ },
114+ "recording_url" : {
115+ "anyOf" : [
116+ {
117+ "type" : " string" ,
118+ "format" : " uri"
119+ },
120+ {
121+ "type" : " null"
122+ }
123+ ]
124+ },
125+ "socials" : {
126+ "type" : " array" ,
127+ "items" : {
128+ "type" : " object" ,
129+ "properties" : {
130+ "platform" : {
131+ "type" : " string" ,
132+ "enum" : [
133+ " x" ,
134+ " linkedin" ,
135+ " github" ,
136+ " website" ,
137+ " youtube" ,
138+ " instagram" ,
139+ " facebook" ,
140+ " discord" ,
141+ " slack"
142+ ]
143+ },
144+ "url" : {
145+ "type" : " string" ,
146+ "format" : " uri"
147+ }
148+ },
149+ "required" : [
150+ " platform" ,
151+ " url"
152+ ]
153+ }
154+ }
155+ },
156+ "required" : [
157+ " name" ,
158+ " title" ,
159+ " bio" ,
160+ " image" ,
161+ " talk_title" ,
162+ " talk_description"
163+ ]
164+ }
165+ },
166+ "schedule" : {
167+ "type" : " array" ,
168+ "items" : {
169+ "type" : " object" ,
170+ "properties" : {
171+ "time" : {
172+ "type" : " string" ,
173+ "minLength" : 3
174+ },
175+ "title" : {
176+ "type" : " string" ,
177+ "minLength" : 2
178+ },
179+ "type" : {
180+ "type" : " string" ,
181+ "enum" : [
182+ " networking" ,
183+ " talk" ,
184+ " panel" ,
185+ " workshop" ,
186+ " open_discussion" ,
187+ " break"
188+ ]
189+ },
190+ "lead" : {
191+ "anyOf" : [
192+ {
193+ "type" : " string"
194+ },
195+ {
196+ "type" : " null"
197+ }
198+ ]
199+ },
200+ "resources" : {
201+ "type" : " array" ,
202+ "items" : {
203+ "type" : " object" ,
204+ "properties" : {
205+ "title" : {
206+ "type" : " string" ,
207+ "minLength" : 2
208+ },
209+ "url" : {
210+ "type" : " string" ,
211+ "format" : " uri"
212+ }
213+ },
214+ "required" : [
215+ " title" ,
216+ " url"
217+ ]
218+ }
219+ }
220+ },
221+ "required" : [
222+ " time" ,
223+ " title" ,
224+ " type"
225+ ]
226+ }
227+ },
228+ "photos" : {
229+ "type" : " array" ,
230+ "items" : {
231+ "type" : " object" ,
232+ "properties" : {
233+ "url" : {
234+ "type" : " string" ,
235+ "format" : " uri"
236+ },
237+ "type" : {
238+ "default" : " image" ,
239+ "type" : " string" ,
240+ "enum" : [
241+ " image" ,
242+ " folder"
243+ ]
244+ }
245+ },
246+ "required" : [
247+ " url"
248+ ]
249+ }
250+ },
251+ "videos" : {
252+ "type" : " array" ,
253+ "items" : {
254+ "type" : " object" ,
255+ "properties" : {
256+ "title" : {
257+ "type" : " string" ,
258+ "minLength" : 2
259+ },
260+ "embed_url" : {
261+ "type" : " string" ,
262+ "format" : " uri"
263+ }
264+ },
265+ "required" : [
266+ " title" ,
267+ " embed_url"
268+ ]
269+ }
270+ },
271+ "$schema" : {
272+ "type" : " string"
273+ }
274+ },
275+ "required" : [
276+ " name" ,
277+ " start" ,
278+ " end" ,
279+ " description" ,
280+ " cover" ,
281+ " location"
282+ ]
283+ }
You can’t perform that action at this time.
0 commit comments