forked from softwarecrafters/website
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathconferences_schema.json
More file actions
69 lines (69 loc) · 2.01 KB
/
conferences_schema.json
File metadata and controls
69 lines (69 loc) · 2.01 KB
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
{
"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"
},
"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": "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"]
},
"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"],
"definitions": {
"date": {
"type": "string",
"pattern": "^[0-9]{4}\\-[0-9]{2}\\-[0-9]{2}$"
}
}
}