-
Notifications
You must be signed in to change notification settings - Fork 0
/
Copy pathbrief-people.schema.json
58 lines (58 loc) · 1.33 KB
/
brief-people.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
{
"$id": "https://smevirtual.com/brief-people.schema.json",
"$schema": "http://json-schema.org/draft-07/schema#",
"description": "A brief representation of a person.",
"type": "array",
"required": ["id", "name", "photo_url", "profile_url", "company", "title", "work_description", "industry_type"],
"definitions": {
"industry_types": {
"enum": [
"Automotive and Transportation",
"Aerospace and Defense",
"Medical",
"Heavy Industry, Construction and Mining",
"Oil and Gas",
"Automation, Robotics and Production Machinery",
"Educators and Research"
],
"type": "string"
},
"url": {
"format": "uri",
"type": "string"
}
},
"items": {
"additionalProperties": false,
"type": "object",
"properties": {
"id": {
"type": "number"
},
"name": {
"type": "string"
},
"photo_url": {
"$ref": "#/definitions/url"
},
"profile_url": {
"$ref": "#/definitions/url"
},
"company": {
"type": "string"
},
"title": {
"type": "string"
},
"work_description": {
"type": "string"
},
"message": {
"type": "string"
},
"industry_type": {
"$ref": "#/definitions/industry_types"
}
}
}
}