-
Notifications
You must be signed in to change notification settings - Fork 87
/
conferences_schema.json
79 lines (79 loc) · 2.34 KB
/
conferences_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
73
74
75
76
77
78
79
{
"title": "Schema for Conference JSON Files",
"type": "object",
"properties": {
"name": {
"description": "Name of your community",
"type": "string"
},
"url": {
"description": "URL leading to further information about your conference",
"type": "string"
},
"code-of-conduct": {
"description": "URL to your code of conduct",
"type": "string"
},
"covid19-policy": {
"description": "A brief summary of the measures taken with regards to covid19. Helpful for folks to decide whether to attend or not.",
"type": "string"
},
"next-date": {
"description": "The next time your conference is taking place",
"type": "object",
"properties": {
"start": {
"description": "The day your conference starts in YYYY-MM-DD format",
"$ref": "#/definitions/date"
},
"end": {
"description": "The day your conference ends in YYYY-MM-DD format",
"$ref": "#/definitions/date"
}
},
"required": ["start", "end"],
"additionalProperties": false
},
"location": {
"description": "Information about where to place your conference on the map",
"type": "object",
"properties": {
"city": { "type": "string", "description": "Not used right now" },
"coordinates": {
"type": "object",
"description": "Long/Lat values of where to place your community.",
"properties": {
"lat": {
"description": "Latitude",
"type": "number",
"minimum": -90,
"maximum": 90
},
"lng": {
"description": "Longitude",
"type": "number",
"minimum": -180,
"maximum": 180
}
},
"additionalProperties": false,
"required": ["lat", "lng"]
}
},
"additionalProperties": false,
"required": ["coordinates"]
},
"icon": {
"description": "The relative url to an icon in 64x64 PNG format. Should be places in /target/icons/",
"type": "string"
}
},
"additionalProperties": false,
"required": ["name", "url", "location", "code-of-conduct"],
"definitions": {
"date": {
"type": "string",
"pattern": "^[0-9]{4}-[0-9]{2}-[0-9]{2}$"
}
}
}