forked from coderetreat/coderetreat.org
-
Notifications
You must be signed in to change notification settings - Fork 0
/
event_schema2019.json
115 lines (115 loc) · 3.02 KB
/
event_schema2019.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
{
"title": "Event Registration",
"type": "object",
"properties": {
"title": {
"description": "The title/name of your event",
"type": "string",
"minLength": 1
},
"url": {
"description":
"An URL leading to further information about your event, e.g. sign up on meetup/eventbrite",
"type": "string",
"minLength": 1
},
"moderators": {
"type": "array",
"items": {
"description": "List of moderators",
"type": "object",
"properties": {
"name": {
"description": "Moderator's name",
"type": "string"
},
"url": {
"description":
"Moderator's url: Twitter profile, GitHub profile, website, ...",
"type": "string"
}
},
"additionalProperties": false,
"required": ["name"]
}
},
"date": {
"type": "object",
"description": "The start and end time of your event. Please use your local timezone so we know which timezone you're in and can promote your event accordingly",
"properties": {
"start": {
"type": "string",
"format": "date-time"
},
"end": {
"type": "string",
"format": "date-time"
}
},
"required": ["start", "end"],
"additionalProperties": false
},
"location": {
"oneOf": [
{ "$ref": "#/definitions/real_location" },
{ "$ref": "#/definitions/virtual_location" }
]
},
"sponsors": {
"type": "array",
"items": {
"description": "List of sponsors",
"type": "object",
"properties": {
"name": {
"description": "Sponsor's name",
"type": "string"
},
"url": {
"description":
"Sponsor's url: Twitter profile, GitHub profile, website, ...",
"type": "string"
}
},
"additionalProperties": false,
"required": ["name"]
}
}
},
"definitions": {
"virtual_location": {
"type": "string",
"enum": ["virtual"]
},
"real_location": {
"description":
"Further data about the location your event takes place at",
"type": "object",
"properties": {
"city": {
"type": "string",
"minLength": 1
},
"country": {
"type": "string",
"minLength": 1
},
"coordinates": {
"type": "object",
"description":
"Lat/Long values, given in EPSG:3857 (http://wiki.openstreetmap.org/wiki/EPSG:3857)",
"properties": {
"latitude": { "type": "number" },
"longitude": { "type": "number" }
},
"additionalProperties": false,
"required": ["latitude", "longitude"]
}
},
"additionalProperties": false,
"required": ["country", "city"]
}
},
"additionalProperties": false,
"required": ["title", "location", "url", "date"]
}