-
Notifications
You must be signed in to change notification settings - Fork 87
/
communities_schema.json
49 lines (49 loc) · 1.47 KB
/
communities_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
{
"title": "Schema for Community JSON Files",
"type": "object",
"properties": {
"name": {
"description": "Name of your community",
"type": "string"
},
"url": {
"description": "URL leading to further information about your community. If this is a meetup url, we will show your next event automatically",
"type": "string"
},
"location": {
"description": "Information about where to place your community 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"]
}