-
Notifications
You must be signed in to change notification settings - Fork 67
/
schema.json
106 lines (106 loc) · 3.58 KB
/
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
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
{
"$schema": "https://json-schema.org/draft/2020-12/schema",
"$id": "coffeechat.schema.json",
"title": "People",
"description": "List of awesome people doing coffee chat",
"type": "object",
"properties": {
"people": {
"type": "array",
"items": {
"$ref": "#/$defs/person"
}
}
},
"$defs": {
"person": {
"type": "object",
"description": "Information about one person",
"properties": {
"name": {
"description": "Full name",
"type": "string"
},
"title": {
"description": "Professional title",
"type": "string"
},
"company": {
"description": "Employer's company name",
"type": "string"
},
"city": {
"description": "City where you live",
"type": "string"
},
"country": {
"description": "Country where you live",
"type": "string"
},
"languages": {
"description": "Languages spoken well enough for a coffee chat",
"type": "array",
"items": {
"type": "string"
},
"minItems": 1,
"uniqueItems": true
},
"website": {
"description": "Website URL",
"type": "string",
"pattern": "(^https://)|(^$)"
},
"linkedin": {
"description": "LinkedIn profile URL",
"type": "string",
"pattern": "(^https://)|(^$)"
},
"twitter": {
"description": "Twitter account URL",
"type": "string",
"pattern": "(^https://)|(^$)"
},
"mastodon": {
"description": "Mastodon account URL",
"type": "string",
"pattern": "(^https://)|(^$)"
},
"github": {
"description": "GitHub Profile URL",
"type": "string",
"pattern": "(^https://)|(^$)"
},
"scheduling": {
"description": "Scheduling platform URL or mailto link",
"type": "string",
"pattern": "(^https://)|(^mailto:)"
},
"online-only": {
"description": "Whether you are open to in-person Coffee Chat (default: false)",
"type": "boolean"
},
"topics": {
"description": "List of every topics you are de factor comfortable to discuss or give tips about",
"type": "array",
"items": {
"type": "string",
"maxLength": 35
},
"minItems": 1,
"uniqueItems": true
}
},
"required": [
"name",
"title",
"company",
"languages",
"linkedin",
"scheduling",
"topics"
],
"additionalProperties": false
}
}
}