-
Notifications
You must be signed in to change notification settings - Fork 93
Expand file tree
/
Copy pathconferences_schema_v2.json
More file actions
109 lines (109 loc) · 2.89 KB
/
conferences_schema_v2.json
File metadata and controls
109 lines (109 loc) · 2.89 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
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"title": "Schema for Conference JSON Files",
"type": "object",
"properties": {
"$schema": {
"description": "Schema reference",
"type": "string",
"format": "uri"
},
"name": {
"description": "Name of your community",
"type": "string"
},
"description": {
"description": "A headline for your conference",
"type": "string"
},
"url": {
"description": "URL leading to further information about your conference",
"type": "string",
"format": "uri"
},
"code-of-conduct": {
"description": "URL to your code of conduct",
"type": "string"
},
"health-policy": {
"description": "A brief summary of the measures taken with regards to attendee health.",
"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": {
"oneOf": [
{
"$ref": "#/definitions/real_location"
},
{
"$ref": "#/definitions/virtual_location"
}
]
},
"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}$"
},
"virtual_location": {
"type": "string",
"enum": ["virtual"]
},
"real_location": {
"description": "Information about where to place your conference on the map",
"type": "object",
"properties": {
"city": {
"type": "string"
},
"country": {
"type": "string"
},
"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"]
}
}
}