forked from softwarecrafters/website
-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathcommunities_schema.json
36 lines (36 loc) · 1.18 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
{
"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": "array",
"description": "Long/Lat values of where to place your community. ATTENTION: Long comes first, this is different from how GMaps/OSM show them",
"additionalItems": false,
"minItems": 2,
"maxItems": 2,
"items": [
{ "type": "number", "title": "Longitude" },
{ "type": "number", "title": "Latitude" }
]
}
},
"additionalProperties": false,
"required": ["coordinates"]
}
},
"additionalProperties": false,
"required": ["name", "url", "location"]
}